mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7214] [Issue]: In-app updater installs every platform's binaries on Termux (about 1.7 GB) because of --force #4029
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#4029
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?
Originally created by @SpicyMarinara on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7214
Originally assigned to: @SpicyMarinara on GitHub.
Summary
On Android/Termux, the in-app updater installs dependencies with
pnpm install --force --frozen-lockfile(PNPM_UPDATE_INSTALL_ARGSinpackages/server/src/routes/updates.routes.ts).--forceignores pnpm's platform filtering and installs every platform's optional binaries, including all eight@anthropic-ai/claude-agent-sdkplatform builds at about 220 MB each. That's roughly 1.7 GB of unusable downloads on a phone.Expected behavior
An in-app update on Termux installs only what an android/arm64 install needs, like
start-termux.shdoes without--force.Actual behavior
Measured during #7178's verification with pnpm 10.34.5: under
--os android --cpu arm64,install --forcestill installed all 25 rollup platform packages and every claude-agent-sdk build.start-termux.shdeliberately avoids--forceon Android for exactly this reason (see the comment ininstall_workspace_dependencies).Steps to reproduce
.pnpmvirtual store size before and after, or check that@anthropic-ai/claude-agent-sdk-linux-*,-darwin-*and-win32-*packages were installed.Environment
staging/ 2.5.0Additional context
Found by the adversarial verifier of #7198 (#7178). Note:
--forceis what heals the stale-skippedstate that caused #7173. With@emnapi/runtimenow a direct dependency (#7179), the Android path may no longer need--force, or it could clearnode_modules/.modules.yamlinstead (the verified repair) and run a frozen install without--force. Check desktop updater behaviour stays unchanged.@SpicyMarinara commented on GitHub (Oct 7, 2026):
Fixed on
stagingby #7215. Ships tomainwith the next promotion.