mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7194] [MERGED] hotfix(termux): keep 2.5.0 Android installs running (sharp runtime) and refresh the APK #7617
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#7617
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/7194
Author: @SpicyMarinara
Created: 10/6/2026
Status: ✅ Merged
Merged: 10/7/2026
Merged by: @SpicyMarinara
Base:
main← Head:hotfix/termux-2.5.0-fixes📝 Commits (10+)
ab6f3f9fix(termux): keep the server up when sharp's WebAssembly runtime is missing (#7173, #7189)2ec45b4docs: Termux image library repair and crash note (#7173)d1f3563docs: existing thumbnails still show while Sharp cannot load (#7173)a3b74c4docs: only the built-in background removal needs Sharp (#7173)d6b2febchore(android): bump versionCode to 49 for the refreshed 2.5.0 APK25f464ffix(chat): keep chat controls off other screens and let the Agents button close its panel11e6eb4test(e2e): make the covered-chat regression's return step deterministic27b3d5ftest(e2e): cover a pinned chat window behind covering screens4828ebbfix(chat): move keyboard focus into the Tracker Panel when it covers the chat4fe3965docs: the Tracker Panel button opens and closes the panel (#7176)📊 Changes
19 files changed (+504 additions, -55 deletions)
View changed files
📝
android/app/build.gradle(+1 -1)📝
docs/TROUBLESHOOTING.md(+17 -2)📝
docs/chats/chat-settings.md(+1 -1)📝
docs/roleplay/hud-and-trackers.md(+1 -1)➕
e2e/chat-controls-covered.e2e.ts(+229 -0)📝
e2e/message-trash-batching.e2e.ts(+41 -12)📝
e2e/phone-bubbles.e2e.ts(+1 -1)📝
e2e/tracker-window-routing.e2e.ts(+1 -1)📝
packages/client/src/components/chat/TrackerPanelBubble.tsx(+9 -4)📝
packages/client/src/components/layout/AppShell.tsx(+13 -1)📝
packages/client/src/styles/globals.css(+6 -0)📝
packages/server/package.json(+1 -0)📝
packages/server/src/index.ts(+8 -0)📝
packages/server/src/services/image/sharp-runtime.ts(+20 -0)📝
pnpm-lock.yaml(+3 -0)➕
scripts/regressions/sharp-wasm-runtime-missing.regression.ts(+58 -0)➕
scripts/regressions/termux-native-deps.regression.mjs(+65 -0)📝
scripts/regressions/termux-sharp.regression.mjs(+25 -0)📝
start-termux.sh(+4 -31)📄 Description
Linked issue
Refs #7173, #7189 (both closed as fixed on
stagingby #7179), #7176 parts 1–2 (fixed onstagingby #7181) and #7178 (#7198).Why this change
On v2.5.0, Termux installs updated in place from 2.4.6 crash the server on the first image request (a background or gallery thumbnail), so Engine is unusable on Android (#7173, #7189). The fix is on
staging, but:origin/main, andMARINARA_RELEASE_COMMIT) and starts Engine with--skip-update.So the fix only reaches Android users if it is on
mainand the APK is rebuilt from that commit. This is a hotfix tomainwithout a new tag or release. Afterwards the 2.5.0 APK assets on the release page will be replaced with a build from this commit.What changed
@emnapi/runtimeis now a direct server dependency, so pnpm installs it even where a 2.4.6-era install recorded it as skipped (lockfile +3 lines).isSharpLoaderRejectionin the unhandled-rejection handler).sharp-wasm-runtime-missingregression.start-termux.sh's dead.npmrcarchitecture block. pnpm 10 ignored those lines, and because the APK's setupgit checkout -fwiped them, every start from the Android app re-ranpnpm store pruneand a full dependency install. Includes thetermux-native-depsregression.versionCode49 (versionNamestays 2.5.0), so phones install the rebuilt APK as an update.staging.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run checks on this branch:
pnpm check;chat-controls-covered,phone-bubblesandtracker-window-routinge2e on desktop-chromium and mobile-webkit: 21 passed, with one failure inphone-bubbles› "large themed tools scroll inside a short phone viewport". That test also fails 1 run in 3 on untouchedmain, so it is pre-existing flakiness, not this change;sharp-wasm-runtime-missing,termux-sharp,termux-postmortemandserver-signal-shutdownregressions all pass;pnpm version:checkis in sync for 2.5.0. #7179's verifier replayed the real 2.4.6 → fix update with pnpm 10.34.5 and Termux-like--os linux --cpu arm64 --cpu wasm32.Manual verification notes
./start-termux.shupdates to this commit and the server no longer exits on the first image.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation) — #7185Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.