mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1470] [MERGED] Fix game setup ready transition #5104
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#5104
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/1470
Author: @cha1latte
Created: 5/28/2026
Status: ✅ Merged
Merged: 5/28/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-issue-1467-generate-world📝 Commits (3)
d84e807Fix game setup ready transitionf02cf3cMerge remote-tracking branch 'upstream/refactor' into fix/refactor-issue-1467-generate-worldddb80b9Fix refactor clippy warnings📊 Changes
10 files changed (+245 additions, -158 deletions)
View changed files
📝
graphify-out/GRAPH_REPORT.md(+17 -17)➕
graphify-out/cache/ast/ea3368abcdad03c563713cf64eb00f5c19e442459c082b9fd18cc1811659594f.json(+1 -0)📝
graphify-out/cache/stat-index.json(+1 -1)📝
graphify-out/graph.json(+152 -122)📝
graphify-out/manifest.json(+13 -8)➕
pr-evidence/issue-1467/after.png(+0 -0)📝
src-tauri/src/state.rs(+5 -6)📝
src/features/modes/game/api/game-api.test.ts(+43 -0)📝
src/features/modes/game/api/game-api.ts(+3 -2)📝
src/features/modes/game/hooks/use-game.ts(+10 -2)📄 Description
Linked issue
Closes #1467
Why this change
gameSessionStatus: "ready", which left a stale cache/active-chat path able to keep the setup modal visible after generation.What changed
gameApi.setupGamenow returns the updated readysessionChatfrom the metadata patch.setupGameAPI contract test.Refactor impact
Primary owner:
Impact areas reviewed:
gameApi.setupGameapplyGameJsonRepair(game_setup)caller pathBoundary notes:
Pressure points touched:
GameSurfacesetup visibility depends on the setup-active store flag plus chat readiness state; this PR updates the mutation contract feeding that state.useGameSetupgameApi.setupGameValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
node scratch\issue-1467-game-setup-repro.mjs --expect-fixedpassed with the setup modal hidden and the Start Game screen visible.pnpm test -- src/features/modes/game/api/game-api.test.tspassed.pnpm typecheckpassed.pnpm check:architecturepassed.pnpm check:docspassed.graphify update .passed.pnpm checkpassed.pnpm buildpassed.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
After-state proof:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.