mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3230] [MERGED] [codex] Fix Game session start branch selection #5851
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#5851
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/3230
Author: @SpicyMarinara
Created: 7/5/2026
Status: ✅ Merged
Merged: 7/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/issue-3229-game-session-branch📝 Commits (1)
672d5d7Fix game session branch selection📊 Changes
4 files changed (+48 additions, -13 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/src/components/game/GameSurface.tsx(+2 -2)📝
packages/client/src/hooks/use-game.ts(+1 -1)📝
packages/server/src/routes/game.routes.ts(+44 -10)📄 Description
Summary
branchNamemetadata from the source session.Fixes #3229.
Root Cause
/game/session/startselected the latest game chat by session number only. Backup branches copygameSessionNumber,gameSessionStatus, andbranchName, so a backup branch with the same session number could be treated as the latest active session and returned instead of creating the next session.Validation
pnpm --filter @marinara-engine/server lintpnpm --filter @marinara-engine/client lint(passes with existingConversationView.tsxmissing dependency warning)pnpm check(passes with the same existing warning and Vite chunk-size warning)Manual Verification Needed
Summary by CodeRabbit
Bug Fixes
New Features
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.