mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1530] [Issue]: Quest Board merge path does not normalize legacy activeQuests shapes #775
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#775
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?
Originally created by @Xelvanis on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1530
Originally assigned to: @Romuromylus on GitHub.
Summary
Refactor Quest Board update paths only partially preserve the legacy PR #1028 behavior. Tracker snapshot persistence has a quest merge path, but the refactor helper does not normalize keyed/grouped legacy
activeQuestsshapes, and the UI optimistic Quest Board update path still uses a separate simpler merge.Expected behavior
Tracker snapshot persistence and the UI optimistic Quest Board update should share a refactor-native engine-owned quest merge path that preserves keyed quest maps, grouped quest containers, object-shaped objectives, and completed empty-objective removal.
Actual behavior
The merge behavior is split across paths. Legacy-shaped
activeQuestsdata can be normalized or preserved differently depending on whether the update comes through tracker snapshot persistence or the UI optimistic Quest Board path.Steps to reproduce
e472615against current refactor Quest Board update behavior.src/features/runtime/generation/hooks/use-generate.ts.Impact area
Environment
Logs, screenshots, or video
No runtime screenshots yet. Local chore evidence notes that the tracker persistence path and UI optimistic path currently use different quest merge behavior.
Regression notes
Legacy PR #1028 was intended to fix Quest Board state reversion after tracker updates. Refactor appears to have only partial parity with that behavior.
Additional context
Suggested fix direction: extract or expose a single refactor-native quest merge helper under
src/engine, use it from both tracker snapshot persistence and the UI optimistic Quest Board update, and add focused tests for legacy-shaped quest data.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Romuromylus commented on GitHub (May 30, 2026):
Fixed by #1644, merged into
refactor.