mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5975] [MERGED] fix(game): preserve regenerated anchors and filter hidden turns #7008
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#7008
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/5975
Author: @SpicyMarinara
Created: 9/8/2026
Status: ✅ Merged
Merged: 9/8/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/game-hidden-turns-5926-5927📝 Commits (2)
48d602fchore: start hidden game turn fixes (#5926, #5927)347f025fix(game): preserve command-only swipes and hide anchors consistently📊 Changes
9 files changed (+170 additions, -33 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/game-verb-only-turn.e2e.ts(+8 -0)📝
packages/client/src/components/game/GameNarration.tsx(+4 -23)📝
packages/client/src/components/game/GameSurface.tsx(+8 -3)📝
packages/client/src/lib/chat-message-visibility.ts(+10 -0)📝
packages/server/src/routes/generate.routes.ts(+10 -7)📝
packages/server/src/services/storage/chats.storage.ts(+1 -0)➕
scripts/regressions/command-only-regenerate.regression.ts(+118 -0)📝
scripts/regressions/spatial-only-message-visibility.regression.ts(+9 -0)📄 Description
Linked issue
Closes #5926
Closes #5927
Why this change
A command-only regeneration appended an unrelated hidden message instead of adding a swipe to the requested turn. Game narration skipped hidden rows, while its latest-turn lookups and Logs modal still read them.
What changed
Validation
Automated checks completed:
pnpm checkpassed (one pre-existing React hook dependency warning).node scripts/run-regressions.mjs --filter command-only-regeneratepassed; it fails on unchanged staging because the first regeneration appends a third message.--filter spatial-only-message-visibilityand--filter capability-gm-verb-runtimepassed.pnpm smoke:ui e2e/game-verb-only-turn.e2e.ts --project=desktop-chromiumpassed. Inspected the resulting session-log screenshot: two readable narration turns, no hidden continuity note.pnpm checkpasses locallyContainer (Docker / Podman) built and ran without issue
Ran the app, clicked through the changes manually
Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
Above manual verification completed (describe below)
Read and followed
CONTRIBUTING.mdManual verification notes
Docs and release impact
Only the Unreleased changelog changes; no release/version or user-guide changes.
UI evidence (if applicable)
Automated desktop screenshot inspected locally (
game-visible-logs.png). No visual styling or UI copy changes.Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.