mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7290] [MERGED] fix(trackers): Clear Trackers removes Tracker Panel edits on every swipe #7665
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#7665
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/7290
Author: @SpicyMarinara
Created: 10/8/2026
Status: ✅ Merged
Merged: 10/8/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/tracker-manual-edit-base-behaviour-followup📝 Commits (2)
c81dd84fix(trackers): Clear Trackers removes Tracker Panel edits on every swipe62a470bMerge origin/staging into fix/tracker-manual-edit-base-behaviour-followup📊 Changes
3 files changed (+40 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/server/src/routes/chats.routes.ts(+4 -3)📝
scripts/regressions/tracker-manual-edit-base.regression.ts(+35 -0)📄 Description
Linked issue
Closes #7286 (follow-up to #7288, which is merged)
Why this change
#7288 makes a regeneration start from the Tracker Panel edits on any swipe of the reply it replaces. Clear Trackers still wiped only the edit record of the swipe on screen.
In a real browser this brought a cleared correction back:
The new prompt said "Scorching" again. The confirmation asks "Clear all trackers for this chat?", so an edit should not survive it.
#7288's newest-edit fix retires an edit only when Clear actually changes that value on the cleared swipe. A value that swipe already had empty, such as the temperature above, was never retired.
What changed
packages/server/src/routes/chats.routes.ts:clearOverrides(sent only by Clear Trackers) now wipesmanualOverrideson every snapshot row of the chat that has one, not only on the row it cleared.scripts/regressions/tracker-manual-edit-base.regression.ts: a new case repeats the steps above and sends the payload the Clear Trackers button sends. It fails onorigin/staging(a regeneration after Clear Trackers does not show temp-hot) and passes with this change.[Unreleased].The row data is unchanged: Clear still empties only the swipe on screen, as before. No docs change: the guide already says the next reply starts from your corrected values.
Local CodeRabbit (
coderabbit review --agent --committed) raised one finding. It suggested limiting the wipe to the cleared reply's swipes. That was not done:Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run checks (for the reviewer to confirm, not ticked):
pnpm checkexited 0.tracker-manual-edit-baseregression: fails on staging, passes with the fix.tracker-sections,agent-context-generation,roleplay-swipe-media;Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.