mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2558] [MERGED] Fix storage recovery and tracker edit context #5656
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#5656
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/2558
Author: @SpicyMarinara
Created: 6/14/2026
Status: ✅ Merged
Merged: 6/14/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/fix-storage-recovery-tracker-edits📝 Commits (1)
02d107afix storage recovery and tracker edit context📊 Changes
4 files changed (+82 additions, -26 deletions)
View changed files
📝
packages/server/src/db/file-backed-store.ts(+46 -23)📝
packages/server/src/routes/generate.routes.ts(+17 -1)📝
packages/server/src/routes/generate/retry-agents-route.ts(+18 -1)📝
packages/shared/src/types/agent.ts(+1 -1)📄 Description
Why
Fixes #2553.
Addresses the #2551 follow-up where manual tracker edits were saved but tracker agents could still use stale pre-edit committed tracker context on the next run.
What changed
.bakare corrupt or NUL-filled.Validation
pnpm installpnpm --filter @marinara-engine/server lintpnpm checkmanifest.json,manifest.json.bak,tables/chats.json, andtables/chats.json.bak; file-native DB initialized, flushed, closed, and printedfile storage recovered.pnpm-validatepassed.container-build-testpassed.Manual verification needed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.