mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2219] [MERGED] Fix game map location auto-sync #5481
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#5481
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/2219
Author: @cha1latte
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-2139-map-location-sync📝 Commits (3)
90c9d6aFix game map location auto-syncd77495cRecord issue 2139 PR proof8de4104Move issue 2139 proof to scratch📊 Changes
6 files changed (+282 additions, -45 deletions)
View changed files
📝
scratch/bugfix-verification.json(+46 -45)➕
scratch/issue-2139-map-position-repro.ts(+103 -0)➕
scratch/issue-2139-vitest-after.json(+1 -0)➕
scratch/issue-2139-vitest.config.ts(+8 -0)📝
src/engine/modes/game/world/map-position.service.ts(+99 -0)📝
src/features/modes/game/components/GameSurface.tsx(+25 -0)📄 Description
Linked issue
Closes #2139
Why this change
refactoronly moved the party marker when the GM emitted an explicit[map_update:]tag. Legacy/main also synced the marker from the structured game-statelocationfield, so ordinary narrated movement could leave the visible map stale.What changed
GameSurfacewiring to persist location-derived map position changes whengameSnapshot.locationchanges.Refactor impact
Primary owner:
Impact areas reviewed:
src/engine/modes/game/world/map-position.service.tssrc/features/modes/game/components/GameSurface.tsxscratch/bugfix-verification.jsonBoundary notes:
[map_update:]parsing/application.Pressure points touched:
GameSurface: added a location-change effect that syncs and persists map metadata.Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
refactor.pnpm exec vitest run --config scratch/issue-2139-vitest.config.tssuccessfully.pnpm exec vitest run --config scratch/issue-2139-vitest.config.ts --reporter=json --outputFile=scratch/issue-2139-vitest-after.json.pnpm typecheck,pnpm check:architecture,pnpm check,git diff --check, andnode C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json; all passed.upstream/refactorin untouchedsrc-tauri/src/commands/storage/commands/entities.rsduplicate type aliases (LorebookEntryAtomicRows,LorebookFolderDeleteAtomicRows); localpnpm checkpassed on this issue branch before that base moved.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.mdUI evidence
pnpm check.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.