mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5515] [MERGED] fix(runtime): harden background reliability for release #6792
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#6792
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/5515
Author: @SpicyMarinara
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/release-runtime-hardening📝 Commits (5)
2284f5bfix(backup): contain automatic backup failure writesd87e3a9fix(runtime): harden release-critical background paths3b6d7f0fix(regression): restore open-issues lane99bc21etest(prompt): follow standalone agent settings linksb882d54fix(runtime): address release review edge cases📊 Changes
29 files changed (+460 additions, -106 deletions)
View changed files
📝
CHANGELOG.md(+5 -1)📝
android/README.md(+1 -0)📝
packages/client/src/components/panels/SettingsPanel.tsx(+6 -0)📝
packages/client/src/lib/local-notifications.ts(+1 -1)📝
packages/client/src/lib/support-diagnostics.ts(+7 -0)📝
packages/client/src/localization/locale-loader.ts(+9 -4)📝
packages/server/src/app.ts(+2 -0)📝
packages/server/src/index.ts(+4 -0)📝
packages/server/src/routes/backup.routes.ts(+6 -2)📝
packages/server/src/routes/chats.routes.ts(+10 -2)📝
packages/server/src/routes/game.routes.ts(+12 -3)📝
packages/server/src/routes/generate.routes.ts(+13 -2)📝
packages/server/src/routes/generate/dry-run-route.ts(+9 -2)📝
packages/server/src/routes/generate/retry-agents-route.ts(+4 -0)📝
packages/server/src/routes/lorebooks.routes.ts(+5 -1)📝
packages/server/src/services/extensions/personal-server-extension-runtime.ts(+9 -0)📝
packages/server/src/services/extensions/sandbox-protocol.ts(+5 -0)📝
packages/server/src/services/lorebook/index.ts(+18 -3)📝
packages/server/src/services/prompt/assembler.ts(+23 -13)📝
packages/server/src/services/prompt/index.ts(+1 -0)...and 9 more files
📄 Description
Linked issues
Fixes #5506
Fixes #5512
Fixes #5513
Fixes #5514
Fixes #5516
Why this change
Kolache's Termux audit isolated one fixed heap default that is too small for large profiles but too generous for small Android installs, plus bounded background reliability hazards in backup failure handling, lorebook macro counting, extension watchdog recovery, and the open-issues regression lane. These are the remaining runtime release blockers.
What changed
NODE_OPTIONSlimits./api/healthand copied Support Diagnostics, with a low-noise near-limit log warning.Local automated evidence:
pnpm check, the open-issues regression, launcher dotenv/format-guard regressions, extension IPC regression, server/client lint and builds, andgit diff --checkpass.Validation
pnpm checkpnpm regression:promptgit diff --checkRisk boundary
Launcher, backup, prompt assembly, health diagnostics, extension watchdog, and regression-only client import paths are touched. Explicit heap overrides remain authoritative; imports, exports, storage formats, and existing user capabilities are unchanged.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.