mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #920] [MERGED] Fix game sprite recovery #4839
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#4839
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/920
Author: @cha1latte
Created: 5/16/2026
Status: ✅ Merged
Merged: 5/16/2026
Merged by: @cha1latte
Base:
staging← Head:fix/game-sprite-recovery📝 Commits (1)
a7b8a51Fix game sprite recovery📊 Changes
3 files changed (+99 additions, -9 deletions)
View changed files
📝
packages/client/src/components/game/GameNarration.tsx(+32 -1)📝
packages/client/src/components/game/GameSurface.tsx(+34 -2)📝
packages/client/src/components/game/game-asset-generation-payload.ts(+33 -6)📄 Description
Linked issue
No linked issue yet. User-reported bug: sometimes in game mode a sprite/portrait never generates even with image generation enabled, and the AI needs a way to recover.
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
node scratch/repro-game-sprite-stale-avatar.mjs: before the fix, a stale NPC avatar URL suppressed asset generation with anullpayload.node scratch/repro-game-sprite-stale-avatar.mjsafter the fix: an observed failed avatar load now producesnpcsNeedingAvatarsandforceNpcAvatarNamesfor the NPC.pnpm check; it passedimpeccable:check, lint, and shared/server/client builds.Docs and release impact
No docs, release metadata, schema, or dependency changes.
UI evidence (if applicable)
N/A. This is a recovery-path fix for broken NPC portrait loads; Codex verified the payload path with a scratch repro rather than a provider-backed browser session.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.