mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4958] [MERGED] fix: refresh stale staging clients and keep Termux awake #6553
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#6553
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/4958
Author: @SpicyMarinara
Created: 8/12/2026
Status: ✅ Merged
Merged: 8/12/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/assigned-issues-4956-4957📝 Commits (4)
8ad6baachore: start assigned issue sweep 4956-495762612abfix: refresh stale clients and keep Termux awake33eb03bfix: address CodeRabbit review feedback7c0e2a3test: cover NovelAI connection export defaults📊 Changes
9 files changed (+320 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/core-flows.e2e.ts(+174 -0)📝
packages/client/src/App.tsx(+10 -2)➕
packages/client/src/build-env.d.ts(+1 -0)➕
packages/client/src/lib/runtime-build.ts(+21 -0)📝
packages/client/vite.config.ts(+32 -0)📝
scripts/regressions/assigned-issue-sweep.regression.ts(+28 -0)📝
scripts/regressions/launcher-format-guard.regression.mjs(+28 -0)📝
start-termux.sh(+24 -1)📄 Description
Linked issues
Closes #4957
Closes #4956
Why this change
NovelAI default parameters already survive the current save, navigation, and import paths, but staging commits keep the same release version. A browser still running an older same-version bundle therefore could not detect that the server had moved to a newer commit and could keep exhibiting the pre-fix behavior.
Android may also suspend a backgrounded Termux process unless its wake lock is active, which makes the local Marinara server appear frozen until Termux is foregrounded again.
What changed
/api/healthso same-version staging updates clear stale browser runtime caches and reload once.CHANGELOG.mdUnreleased.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence
pnpm checkbash -n start-termux.shpnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/assigned-issue-sweep.regression.tsnode scripts/regressions/launcher-format-guard.regression.mjspnpm exec playwright test -c playwright.config.ts e2e/core-flows.e2e.ts --project=desktop-chromium --grep 'NovelAI generation defaults survive'(2 passed)Manual verification still required
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n] <paths>follow-up issue openedNo user-facing documentation page changed;
CHANGELOG.mdcontains the release-note entries. No version metadata changed.Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.