mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2205] [MERGED] Fix Spotify DJ playback fallback cache #5468
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5468
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2205
Author: @Xelvanis
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/spotify-dj-result-cache📝 Commits (1)
7b6b307Fix Spotify DJ playback fallback cache📊 Changes
2 files changed (+270 additions, -67 deletions)
View changed files
📝
src-tauri/src/commands/storage/integrations/spotify.rs(+174 -36)📝
src/engine/agents-runtime/executor/agent-executor.ts(+96 -31)📄 Description
Linked issue
N/A
Why this change
Spotify DJ could return a
playaction with track URIs without actually applying playback when the tool path was unavailable or malformed. The playlist candidate cache also reused source indexes across access-token changes and lost some legacy mood-token matches for common scene wording.What changed
spotify_playtool response as successful.playresults as failed with the existing fallback failure payload instead of fake-successful.Refactor impact
Primary owner:
Engine generation / Rust storage integrations.
Impact areas reviewed:
spotify_playtool response shape.Boundary notes:
Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
Ran:
git diff --checkpnpm typecheckcargo test --manifest-path src-tauri/Cargo.toml spotify_ --libpnpm checkNot run:
Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
This is a bugfix for existing Spotify DJ behavior and does not add a discoverable feature.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdDocs/release notes: no docs changes needed because this fixes existing Spotify DJ behavior and does not change user-facing setup or feature discovery.
UI evidence
N/A. No visible UI was changed.
Summary by CodeRabbit
Release Notes
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.