mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5117] [MERGED] fix(tracker): stop Inventory Tracker wiping untracked groups #6636
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#6636
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/5117
Author: @augusteo
Created: 8/16/2026
Status: ✅ Merged
Merged: 8/16/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/inventory-tracker-data-loss📝 Commits (5)
9e373b1fix(tracker): stop Inventory Tracker wiping untracked groupsbf8b5c9Merge branch 'staging' into fix/inventory-tracker-data-losse761e1dfix(tracker): normalize inventory exclusivity names636b7a8Merge remote-tracking branch 'origin/staging' into review/pr-51173e42261Merge remote-tracking branch 'origin/staging' into review/pr-5117📊 Changes
8 files changed (+214 additions, -27 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
e2e/core-flows.e2e.ts(+1 -1)📝
packages/client/src/stores/ui.store.ts(+6 -1)📝
packages/server/src/routes/generate/generate-route-utils.ts(+66 -24)📝
packages/shared/src/utils/tracker-field-locks.ts(+38 -0)📝
scripts/regressions/agent-runtime.regression.ts(+1 -0)📝
scripts/regressions/prompt.regression.ts(+100 -0)📝
scripts/regressions/roleplay-streaming.regression.ts(+1 -1)📄 Description
Linked issue
Closes #5125
Follow-up to #5112 / #5105.
Why this change
Inventory Tracker updates could silently erase groups omitted by the agent, restore a carried duplicate after equipping a locked item, serialize overflowing quantities as
null, or leave the new section hidden in existing persisted panel layouts. These are data-integrity failures in the feature introduced for #5105.What changed
Number.MAX_SAFE_INTEGER.CHANGELOG.md.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Automated evidence:
pnpm checkpassed on the final review-fix commit.pnpm regression:agent-runtimeandpnpm regression:roleplaypassed before review.pnpm regression:promptpass, including omitted groups, lock merging, normalized-name exclusivity without lock data, and quantity overflow. The full lane still reports the unrelated pre-existing ElevenLabs tone-tag assertion documented onstaging.Remaining maintainer verification items:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n] <paths>follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG.mdnow records the user-facing data-integrity fixes. No user-facing documentation, localization, translated docs, or release metadata changes are required.UI evidence (if applicable)
Not applicable; this fixes state migration and server/shared inventory merge behavior without changing the rendered UI.
Summary by CodeRabbit
Bug Fixes
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.