mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1823] [MERGED] Fix game checkpoints and scene asset safeguards #5294
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#5294
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/1823
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-1792-game-checkpoints-assets📝 Commits (6)
158e50bFix game checkpoints and scene asset safeguardse557c0fFix game safeguard lint issues249ce28Harden game illustration asset generationc617d2fRefresh PR checks for discovery metadata443bf12Harden game checkpoint persistence1af908eExpose automatic checkpoint warnings📊 Changes
4 files changed (+413 additions, -58 deletions)
View changed files
📝
src/engine/modes/game/scene/game-scene-analysis.service.test.ts(+28 -0)📝
src/engine/modes/game/scene/game-scene-analysis.service.ts(+14 -19)📝
src/features/modes/game/api/game-api.ts(+339 -36)📝
src/features/modes/game/components/GameSurface.tsx(+32 -3)📄 Description
Linked issue
Closes #1792
Why this change
What changed
groupIdpersistence for first and follow-up game session chats so gallery/history can scope across sessions.onErrorpath can apply inline GM tags.Refactor impact
Primary owner:
Game mode
Impact areas reviewed:
Boundary notes:
storageApi,imageGenerationApi,spriteApi,gameAssetsApi) rather than raw Tauri calls.Pressure points touched:
GameSurfacescene-analysis context and illustration cooldown gatingValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses locally before PR push/handoff, including the unused-code checkpnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Codex machine verification:
pnpm exec vitest run src/engine/modes/game/scene/game-scene-analysis.service.test.ts src/features/modes/game/api/game-api.test.tspassed after first failing before the production fix.pnpm typecheckpassed.pnpm checkpassed after rebasing onto currentupstream/refactor.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed.Manual/browser verification:
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:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or release metadata changes were needed for this bugfix.
UI evidence
N/A. No visible UI layout/browser state changed; proof is the command harness and full repo validation above.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.