mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6885] [MERGED] fix: assigned Termux, expression and illustration issues #7366
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#7366
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/6885
Author: @SpicyMarinara
Created: 9/30/2026
Status: ✅ Merged
Merged: 9/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/assigned-issue-sweep📝 Commits (4)
b18a5cbchore: start assigned issue sweep67ba30cfix: restore Termux startup, merged expressions and manual illustrations921c08dfix: update vulnerable transitive dependencies found by CI60b8efeMerge staging and preserve both changelog entries📊 Changes
19 files changed (+703 additions, -45 deletions)
View changed files
📝
AGENTS.md(+1 -0)📝
CHANGELOG.md(+5 -0)📝
android/README.md(+1 -0)📝
docs/TROUBLESHOOTING.md(+6 -0)📝
docs/installation/android-termux.md(+2 -0)📝
e2e/illustrator-manual-cadence.e2e.ts(+107 -0)📝
package.json(+5 -4)📝
packages/client/src/components/chat/ChatGalleryDrawer.tsx(+3 -1)📝
packages/server/package.json(+1 -1)📝
packages/server/src/routes/generate.routes.ts(+11 -3)📝
packages/server/src/routes/generate/retry-agents-route.ts(+18 -1)📝
pnpm-lock.yaml(+30 -31)📝
pnpm-workspace.yaml(+1 -1)➕
scripts/regressions/expression-group-generation.regression.ts(+261 -0)📝
scripts/regressions/illustrator-message-range.regression.ts(+41 -1)➕
scripts/regressions/launcher/termux-client-build.regression.mjs(+92 -0)📝
scripts/regressions/open-issues.regression.ts(+1 -1)➕
scripts/regressions/termux-sharp.regression.mjs(+116 -0)📝
start-termux.sh(+1 -1)📄 Description
Linked issue
Closes #6883
Closes #6859
Closes #6872
Closes #6874
Why this change
Termux could rebuild successfully and still refuse to start because the launcher skipped the multiplayer guest bundle. Frozen dependency installs could omit Sharp’s Android fallback. Merged Roleplay responses exposed only their first character to Expression Engine, and manual illustrations incorrectly required enabling automatic agents.
This is the requested sweep of the four assigned issues without an existing or awaited PR. Contributor-owned work remains untouched: #6691, #6692, #6694, #6695, #6696, #6697 and #6829 await PRs; #6833 and #6848 already have draft PRs.
What changed
@img/sharp-wasm32a regular server dependency. The version and native-first Sharp runtime are unchanged; frozen installs now retain the fallback./illustrateto use installed Illustrator while automatic agents are disabled. Keep saved settings, missing-package checks, and other modes/actions unchanged.The fixes reuse existing build, generation, sprite validation and gallery paths. No application version bump, new package, storage format, setting or UI copy.
The first GitHub audit also reported 11 advisories in existing transitive dependencies. Five compatible resolutions were updated: brace-expansion 2.1.4 → 2.1.7 and 5.0.9 → 5.0.12, fast-uri 3.1.7 → 3.1.8 and 4.1.4 → 4.1.5, and ip-address 10.5.1 → 10.7.1. The follow-up frozen install and audit passed with zero vulnerabilities.
Validation
Validated source commit
60b8efed228dc05e4e0decb4f0b8e91083590e76(including the security dependency follow-up and current staging integration):pnpm check,pnpm version:check, frozen dependency installation andpnpm audit --jsonpassed; the audit reports zero vulnerabilities. Project checks, prompt/expression/Illustrator/Termux regressions, the complete container build/runtime proof and all smoke/Illustrator browser cases were rerun successfully after the security updates.Focused Node lanes: Termux 3/3, open-issues 1/1, Expression 2/2 and Illustrator 6/6 passed.
pnpm regression:promptpassed. Agent-context and existing launcher heap/format checks also passed.The new Expression route regression reproduced the missing second character before the fix; it now verifies real provider prompts and persisted results for normal generation, retry, regeneration, selected/disabled sprites, sparse/empty presence, persona/impersonation and mode controls.
Real offline pinned-pnpm proof passed for an older optional-pruned install upgrading to the new dependency classification and for a clean frozen reinstall. Actual Sharp PNG create/resize/metadata passed with a simulated Android platform; the desktop negative control kept its native binding.
Actual
MARINARA_LOW_MEMORY_BUILD=1 pnpm --filter @marinara-engine/client buildfollowed bynode scripts/check-client-build.mjspassed, including the guest JavaScript and CSS.Illustrator browser cases: 6/6 passed across desktop Chromium, mobile Chromium and mobile WebKit, including gallery/slash dispatch, unchanged activation, missing-package gating and existing manual-only cadence. Separate light/dark screenshot probes passed on desktop Chromium and mobile WebKit.
Full Docker build and
node scripts/smoke-container.mjs marinara-assigned-issue-sweep:local full arm64passed: compiled API/frontend, native bindings, and data persistence after container replacement. The local image is labeled as local proof, not a release artifact.Local CodeRabbit reviewed the original 17 changed files and separately reviewed all four files in the dependency follow-up, with zero findings in both runs. Independent review caught and fixed an initial over-broad required-expression target change before final validation.
pnpm smoke:uipassed 7/7 andpnpm smoke:productionpassed 3/3 (desktop Chromium, mobile Chromium and mobile WebKit).pnpm checkpasses locallyContainer (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.mdManual verification notes
/illustratewith installed Illustrator and automatic agents disabled; confirm an image appears and the automatic-agent settings stay disabled.Known pre-existing browser failure:
expression-active-sprites.e2e.tsfails when switching away and back during pending regeneration, restoring older sprite presence. Both desktop cases reproduce on untouched staging9b313a48a, and the candidate reproduces across browser profiles. The new expression route regression separately verifies merged multi-character evaluation, filtering, sparse and empty results, retries, regeneration and existing persona/mode guards. No complete pass of that older browser spec is claimed.Staging advanced through #6882 while checks were running. The only merge conflict was CHANGELOG.md; both sets of entries were preserved. Project checks, prompt and focused Node regressions, UI/production smoke and full container build/runtime checks passed again after integration.
Docs and release impact
Updated the Android wrapper guide, Termux installation guide, troubleshooting and Unreleased changelog. Checked README, CONTRIBUTING, configuration and FAQ; their setup steps remain accurate. Translation follow-up: #6886.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Before/after desktop and iPhone-sized browser screenshots: download the HTML and open it to view embedded PNGs. They use synthetic fixtures with automatic agents disabled, in light and dark mode. No generated proof images are committed.
Summary by CodeRabbit
/illustrateeven when automatic agents are disabled, without changing chat settings.Final delivery
Merged into
stagingasc67519cbe79eb8b55629ce692e32b37c3a583aed. Verified the merge commit is on remote staging and its source tree exactly matches validated head60b8efed228dc05e4e0decb4f0b8e91083590e76.All required GitHub checks passed before merging, including the security audit, main validation, code analysis, desktop/mobile platform build and container checks. The complete Node suite passed 474/474. CodeRabbit completed both its incremental review and the final full review against current staging with no actionable findings; no review threads remain. Physical-device/manual limits and the pre-existing sprite-switch browser failure remain documented above.
Final scope check: #6884 was newly assigned while this sweep was in review. Its author has a working prototype and explicitly seeks project direction before preparing an upstream PR; it remains untouched as an awaiting-direction/contributor-PR proposal. #6833 was closed independently. All four issues implemented here (#6883, #6859, #6872, #6874) are closed after the staging merge.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.