[PR #7183] [MERGED] docs: explain the Termux image library repair #7614

Closed
opened 2026-10-24 04:05:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7183
Author: @SpicyMarinara
Created: 10/6/2026
Status: ✅ Merged
Merged: 10/6/2026
Merged by: @SpicyMarinara

Base: staging ← Head: docs/termux-sharp-7173


📝 Commits (3)

  • 0aaf599 docs: Termux image library repair and crash note (#7173)
  • 33243b8 docs: existing thumbnails still show while Sharp cannot load (#7173)
  • 920974b docs: only the built-in background removal needs Sharp (#7173)

📊 Changes

1 file changed (+17 additions, -2 deletions)

View changed files

📝 docs/TROUBLESHOOTING.md (+17 -2)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Refs #7173 (already closed by #7179)

Why this change

  • Termux users updated in place from 2.4.6 could have the server stop the first time a browser opened Engine, because part of Sharp's WebAssembly runtime was left uninstalled. #7179 fixed the install and made a failed image library non-fatal, but the troubleshooting guide still only said "update and reinstall dependencies". People stuck on the crash before they can update had no repair steps, and nobody was told what stays off while Sharp cannot load.

What changed

  • docs/TROUBLESHOOTING.md: split the Termux Sharp note into its own symptom-led section, Termux: server stops when you open Engine, or Sharp cannot load. It says that updating repairs the install, gives the manual repair (clear pnpm's stale .modules.yaml, reinstall with the launcher's flags, restart), and lists what is off while Sharp cannot load: full-size images instead of thumbnails, no sprite generation or background removal.
  • The multiplayer guest asset note keeps its own section, Termux: missing multiplayer guest asset, with unchanged text.
  • Checked android/README.md, docs/installation/android-termux.md, docs/INSTALLATION.md, docs/UPGRADING.md, docs/FAQ.md and README.md: their Sharp and Termux update statements are accurate after #7179, so they are unchanged.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Docs-only change; no code or install scripts touched. The repair command matches the launcher's own install call in start-termux.sh.

  • Manually verify the new section renders correctly on GitHub, including the code block.
  • Manually verify on a Termux install in the stuck state that the four repair commands restore a server that stays up when Engine is opened.
  • Manually verify that with Sharp unavailable, images show at full size and sprite generation and background removal report that image processing is unavailable.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

Translations: tracked in #7185 (second docs-i18n sync tonight).

No CHANGELOG entry: #7179 already added the user-facing entry for this fix.

UI evidence (if applicable)

Not applicable (docs only).

Summary by CodeRabbit

  • Documentation
    • Separated Termux troubleshooting guidance for missing multiplayer guest assets from guidance for Sharp failures.
    • Added steps for repairing Sharp dependencies when image processing fails on Android after an in-place update from version 2.4.6.
    • Clarified that Engine continues running with image processing disabled if Sharp still cannot be loaded.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7183 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/6/2026 **Status:** ✅ Merged **Merged:** 10/6/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `docs/termux-sharp-7173` --- ### 📝 Commits (3) - [`0aaf599`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0aaf599f20ccf641a083b20e10cf98dc3f4d5ded) docs: Termux image library repair and crash note (#7173) - [`33243b8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/33243b8b5222bab2ec530ac634392ea1d44fec90) docs: existing thumbnails still show while Sharp cannot load (#7173) - [`920974b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/920974b72b89d113ba050a2ee89e092ea3f7cc40) docs: only the built-in background removal needs Sharp (#7173) ### 📊 Changes **1 file changed** (+17 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/TROUBLESHOOTING.md` (+17 -2) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Refs #7173 (already closed by #7179) ## Why this change - Termux users updated in place from 2.4.6 could have the server stop the first time a browser opened Engine, because part of Sharp's WebAssembly runtime was left uninstalled. #7179 fixed the install and made a failed image library non-fatal, but the troubleshooting guide still only said "update and reinstall dependencies". People stuck on the crash before they can update had no repair steps, and nobody was told what stays off while Sharp cannot load. ## What changed - `docs/TROUBLESHOOTING.md`: split the Termux Sharp note into its own symptom-led section, **Termux: server stops when you open Engine, or Sharp cannot load**. It says that updating repairs the install, gives the manual repair (clear pnpm's stale `.modules.yaml`, reinstall with the launcher's flags, restart), and lists what is off while Sharp cannot load: full-size images instead of thumbnails, no sprite generation or background removal. - The multiplayer guest asset note keeps its own section, **Termux: missing multiplayer guest asset**, with unchanged text. - Checked `android/README.md`, `docs/installation/android-termux.md`, `docs/INSTALLATION.md`, `docs/UPGRADING.md`, `docs/FAQ.md` and `README.md`: their Sharp and Termux update statements are accurate after #7179, so they are unchanged. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Docs-only change; no code or install scripts touched. The repair command matches the launcher's own install call in `start-termux.sh`. - Manually verify the new section renders correctly on GitHub, including the code block. - Manually verify on a Termux install in the stuck state that the four repair commands restore a server that stays up when Engine is opened. - Manually verify that with Sharp unavailable, images show at full size and sprite generation and background removal report that image processing is unavailable. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) Translations: tracked in #7185 (second docs-i18n sync tonight). No CHANGELOG entry: #7179 already added the user-facing entry for this fix. ## UI evidence (if applicable) Not applicable (docs only). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Separated Termux troubleshooting guidance for missing multiplayer guest assets from guidance for Sharp failures. * Added steps for repairing Sharp dependencies when image processing fails on Android after an in-place update from version 2.4.6. * Clarified that Engine continues running with image processing disabled if Sharp still cannot be loaded. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:05:53 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7614
No description provided.