mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3168] [MERGED] [codex] Fix Termux sharp wasm install #5830
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#5830
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/3168
Author: @SpicyMarinara
Created: 7/3/2026
Status: ✅ Merged
Merged: 7/3/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/fix-termux-sharp-wasm-install📝 Commits (1)
76c3f5dFix Termux sharp wasm install📊 Changes
3 files changed (+15 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
packages/server/src/routes/sprites.routes.ts(+6 -2)📝
start-termux.sh(+5 -1)📄 Description
Linked issue
Closes #3167
Why this change
supportedArchitectures.cpu[]=wasm32and setsTERMUX_FORCE_INSTALL=1, but the install path still ran plainpnpm install, so pnpm could no-op against existingnode_modulesand leave@img/sharp-wasm32unlinked.sharpstill failed to load, the sprite route swallowed the original import error, making Termux image-processing failures harder to diagnose.What changed
pnpm install --forceonly whenTERMUX_FORCE_INSTALL=1is active; normal dependency installs stay unchanged.sharpload failure before returning the existing platform-unavailable sprite/background-removal error.Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run locally by Codex:
bash -n start-termux.shgit diff --checkpnpm version:checkpnpm --filter @marinara-engine/server lintpnpm checkManual verification notes
--forcepath restored sprite generation on an S26 Ultra.Docs and release impact
No docs changes needed
Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
Version/release files updated (only if this PR includes a version bump)
CHANGELOG.mdwas updated under Unreleased.No version metadata changed.
UI evidence (if applicable)
Summary by CodeRabbit
Bug Fixes
Chores
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.