mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3157] [MERGED] [codex] Fix Termux update build aborts #5822
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#5822
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/3157
Author: @SpicyMarinara
Created: 7/2/2026
Status: ✅ Merged
Merged: 7/2/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/issue-3156-termux-build-abort📝 Commits (2)
92ddc9cFix Termux low-memory update builds1629f4bHarden pnpm install recovery📊 Changes
14 files changed (+203 additions, -33 deletions)
View changed files
📝
docs/TROUBLESHOOTING.md(+27 -0)📝
docs/installation/android-termux.md(+2 -2)📝
packages/client/package.json(+1 -1)➕
packages/client/scripts/build.mjs(+28 -0)📝
packages/server/package.json(+1 -1)➕
packages/server/scripts/build.mjs(+70 -0)📝
packages/server/src/routes/updates.routes.ts(+15 -5)📝
pnpm-workspace.yaml(+6 -1)➕
scripts/check-workspace-install.mjs(+26 -0)📝
start-termux.sh(+4 -4)📝
start.bat(+9 -5)📝
start.sh(+5 -5)📝
win/installer/install.bat(+3 -3)📝
win/installer/installer.nsi(+6 -6)📄 Description
Linked issue
Closes #3156
Why this change
@marinara-engine/server buildwith exit status 134, which is consistent with a memory-heavy build step being killed or aborted on mobile devices.buildscripts, so the default scripts need to become Android-aware rather than relying on a new command old launchers would not call.pnpm install --frozen-lockfilewithERR_PNPM_TRUST_DOWNGRADE, and an aborted install can leave a partialnode_modulesthat later fails shared builds withCannot find module 'chess.js'.What changed
buildscripts with small Node wrappers.tsc, clienttsc -bplus Vite/PWA generation.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm install --frozen-lockfilenode scripts/check-workspace-install.mjspnpm checkpnpm --filter @marinara-engine/shared buildMARINARA_LOW_MEMORY_BUILD=1 pnpm --filter @marinara-engine/server buildMARINARA_LOW_MEMORY_BUILD=1 pnpm --filter @marinara-engine/client buildpnpm --filter @marinara-engine/server buildpnpm --filter @marinara-engine/client buildpnpm --filter @marinara-engine/server lintpnpm --filter @marinara-engine/client lintpnpm --filter @marinara-engine/server testpnpm version:checknode scripts/check-windows-installer-layout.mjsgit diff --checkDocs and release impact
UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.