mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8404] [MERGED] fix(game): resolve appearance macros for illustrations #8579
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#8579
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/8404
Author: @SpicyMarinara
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/8402-game-appearance-macros📝 Commits (4)
627d745test(game): reproduce unresolved illustration appearance macrose865577fix(game): resolve image appearances in the selected chat context474fe6dfix(game): retain party macro scope for image appearances983b672fix(game): scope grouped image fields to their owner📊 Changes
2 files changed (+520 additions, -13 deletions)
View changed files
📝
packages/server/src/routes/game.routes.ts(+110 -9)📝
scripts/regressions/image-appearance-game.regression.ts(+410 -4)📄 Description
Linked issue
Closes #8402
Why this change
Game storyboard and scene illustrations inserted raw card/persona appearance into image context, so a saved chat-variable macro such as
{{getvar::quartermaster_appearance_persona}}reached the image model literally. The regular generation path already resolved it. The real Game preview/provider route reproduces the failure on staging.What changed
Validation
Final local candidate:
983b672de153cc035a363d553b7bb76797b8f764.pnpm installcompleted. Finalpnpm checkpassed, including localization/formatting, lint/type checks and production build. One existing HomeProfessorMariChat hook warning remains.pnpm regression:promptpassed, including 206 prompt cases, attachments and context fitting. Focused appearance, chat-variable, world-clock and lorebook-include regressions passed.ponytailceiling; this patch retains the plain-text fast path and bounded loader workers rather than redesigning alias ownership. The subsequent grouped-field finding was reproduced and repaired. Final repair review completed with zero findings. Independent source review informed the owner/clock/roster fixes.Local Docker validation is unavailable because the configured OrbStack socket does not exist. Hosted container build/runtime checks and all other required CI/Dottore gates must pass before staging merge.
Manual verification notes
Provider requests were captured with local fixtures; no paid provider generation or physical Windows verification is claimed. Existing images are not regenerated automatically.
Docs and release impact
No UI/localization copy, documentation, storage-format, release metadata or downloadable-package changes. Existing planner/image debug logging now shows the resolved appearance text.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.