mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5137] [MERGED] fix: preserve turn-game state across conversation branches #6646
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#6646
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/5137
Author: @SpicyMarinara
Created: 8/16/2026
Status: ✅ Merged
Merged: 8/16/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/5131-conversation-turn-game-branch📝 Commits (5)
63dd533fix: preserve conversation turn-game branches1b7944afix: harden branch state copying8ed1d04fix: preserve effective branch snapshotsa4f419bfix: clean up failed spatial branch copies97e3eddfix: restore failed branch grouping📊 Changes
3 files changed (+187 additions, -65 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/server/src/routes/chats.routes.ts(+82 -63)📝
scripts/regressions/chat-branch-lineage.regression.ts(+104 -2)📄 Description
Why
Conversation-mode turn games such as UNO and Chess persist their live state in the game-engine store. Branching copied that state only when the chat mode was Game, so a branch from Conversation silently lost or reset the active game.
Closes #5131.
What changed
Validation evidence
Manual verification
Review checklist
Notes
No client UI, localization, release metadata, or user-facing documentation changed. The server route is covered end-to-end through Fastify injection in the regression suite.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.