mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1120] [MERGED] Fix stale Game Mode backgrounds between sessions #4935
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#4935
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/1120
Author: @cha1latte
Created: 5/23/2026
Status: ✅ Merged
Merged: 5/23/2026
Merged by: @cha1latte
Base:
staging← Head:fix/issue-1108-stale-game-backgrounds📝 Commits (1)
1897507Fix stale game session backgrounds📊 Changes
6 files changed (+48 additions, -0 deletions)
View changed files
📝
packages/client/src/hooks/use-game.ts(+2 -0)📝
packages/server/src/routes/game.routes.ts(+10 -0)➕
pr-evidence/issue-1108/issue-1108-after.json(+16 -0)➕
pr-evidence/issue-1108/issue-1108-after.png(+0 -0)➕
pr-evidence/issue-1108/issue-1108-before.json(+20 -0)➕
pr-evidence/issue-1108/issue-1108-before.png(+0 -0)📄 Description
Linked issue
Closes #1108
Why this change
What changed
gameSceneBackground, music, ambient, and recent media history) when/api/game/session/startcreates a new session.useStartSessionswitches the active chat to the new session.pr-evidence/issue-1108/.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm --filter @marinara-engine/server exec tsx ..\..\scratch\issue-1108-session-start-repro.ts --expect=buggy --label=before: the new session response carriedgameSceneBackground,gameSceneMusic,gameSceneAmbient,gameRecentMusic, andgameRecentSpotifyTracksfrom the concluded session.pnpm --filter @marinara-engine/server exec tsx ..\..\scratch\issue-1108-session-start-repro.ts --expect=fixed --label=after: the new session response clears those scene-media fields while the negative-controlgameInventorystill carries forward.pnpm check; it passed.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json; it passed.Docs and release impact
UI evidence (if applicable)
Before route proof:
After route proof:
Raw proof JSON:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.