mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8801] [MERGED] fix: Termux startup survives an unremovable pnpm 10 store; clearer retry-limit alert #8814
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#8814
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/8801
Author: @SpicyMarinara
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/4/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/release-prep-coderabbit-followups📝 Commits (2)
574e8d8fix(termux): a pnpm 10 store that cannot be removed no longer stops startup2c8c904fix(multiplayer): name the exact setting in the retry-limit alert📊 Changes
3 files changed (+35 additions, -7 deletions)
View changed files
📝
packages/client/src/localization/locales/en.json(+1 -1)📝
scripts/regressions/pnpm-runner.regression.mjs(+30 -5)📝
start-termux.sh(+4 -1)📄 Description
Linked issue
Closes #8797
Why this change
These are follow-ups from a local CodeRabbit review of release-prep PRs already merged into staging. #8792 added a bare
rm -rf .pnpm-store/v10to the Termux launcher, which runs underset -e. If that removal fails (a read-only file, a busy mount), the phone launcher exits before installing dependencies or starting the server, although the leftover store only costs disk space. Before #8792 the Termux launcher never removed v10; its only cleanup wasstore prune, which already warned when it failed. #8784's retry-limit alert told hosts to raise "Maximum AI generations in Chat Settings", but the field is "Maximum AI generations this session" in the Chat Settings Multiplayer section, and it only applies after saving. Hosts could look for a setting that isn't named that way and miss the save step.What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
chmod a-w .pnpm-storeso its v10 folder cannot be deleted (restore it withchmod u+w .pnpm-storeafterwards). Manually verify thatbash start-termux.shprints "[WARN] Could not remove the pnpm 10 dependency cache" and still installs and starts the server.Agent-run checks (for reference; the launcher regression was shown to fail without the fix):
node scripts/regressions/pnpm-runner.regression.mjs (before fix, regression only): exit 1: prune_pnpm_store must not stop startup (failing-rm case)node scripts/regressions/pnpm-runner.regression.mjs (after fix): exit 0, pnpm runner regressions passednode scripts/run-launcher-regressions.mjs: exit 0, all 8 launcher regressions PASSbash -n start-termux.sh: okshellcheck: not installed locally, not runnode_modules/.bin/prettier --check scripts/regressions/pnpm-runner.regression.mjs packages/client/src/localization/locales/en.json: both files use Prettier stylenode ./scripts/pnpm-runner.mjs localization:check: exit 0, en: 17244 canonical keys, no migrations or new keysnode ./scripts/pnpm-runner.mjs impeccable:check: exit 0node ./scripts/pnpm-runner.mjs build:shared && cd packages/client && node ../../scripts/pnpm-runner.mjs exec tsc --noEmit -p .: exit 0 (the first run without shared built failed only on missing @marinara-engine/shared dist)Independent adversarial review: approve (two wording notes, applied above).
CodeRabbit findings handled here (from a local review of #8784 and #8792 after they merged):
84fb03d08d(2026-10-20) moved --destructive off var(--primary). Accent Pulse in App.tsx (applyLiveAccent, and applyAppAccentVariables via APP_ACCENT_CUSTOM_VARIABLES) writes only --primary, --ring, --accent, --sidebar-accent(-foreground), --glow-primary and the --marinara-app-accent-* and --marinara-chat-chrome-accent* tokens, never --destructive. The only place --destructive is var(--primary) is multiplayer-guest.css, which only the separate guest bundle loads (multiplayer-guest-entry.tsx). That bundle doesn't render host controls or run Accent Pulse. text-[var(--destructive)] is also the client's standard error-text class: 278 uses, including every other role=alert in features/multiplayer. So the colour doesn't move and there is no steadier class to switch to. Side note, not fixed here: the comment at globals.css ~1373 ('--destructive defaults to it') is out of date since84fb03d08d. Because of the rule under it, delete buttons (.mari-chrome-control--danger) switch from the fixed danger red to the static accent colour while Accent Pulse runs. That may deserve its own follow-up.Known limits and risks:
Low. The launcher change only stops a failed cleanup from ending startup. If v10 can't be removed it stays on disk, as it did before #8792, and the postinstall tries again and warns. The regression shells out to
bash, the same way format-guard.regression.mjs already does in the same suite on all CI platforms, including windows-latest via Git Bash. shellcheck wasn't available locally, so onlybash -nwas run on the script. The copy change is English-only; community locales don't have this key and fall back to English.[data-marinara-accent-animation] .mari-chrome-control--dangerrule in globals.css (added in84fb03d08d) switches delete buttons from the theme's fixed--destructivecolour to the static accent. Its comment says--destructivedefaults to--primary, which stopped being true in that same commit. The rule still protects custom themes that set--destructive: var(--primary), so removing it is a design call.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.