mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6072] [MERGED] Issue sweep: Android access, prompts, exports, and provider workflows #7050
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#7050
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/6072
Author: @SpicyMarinara
Created: 9/12/2026
Status: ✅ Merged
Merged: 9/12/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/spicymarinara-issue-sweep-20260912📝 Commits (7)
344059ffix(prompt): bound identity aliases to individual macros8dbb459Fix assigned Android, preset, provider and export issues8e1376fKeep the full NovelAI V5 cast in manual Illustrator prompts4adc45dFix review edge cases in startup, parameters, and character prompts6123dfaRetain resolved library appearances with partial image captions9a8e322Bound partial-caption appearance fallback to the existing reference budgetff6305aPreserve pending Android starts and retain fitting appearance entries📊 Changes
79 files changed (+3145 additions, -387 deletions)
View changed files
📝
CHANGELOG.md(+15 -0)📝
README.md(+1 -1)📝
android/README.md(+7 -8)📝
android/app/src/main/java/com/marinara/engine/MainActivity.java(+132 -2)📝
docs/CONFIGURATION.md(+1 -1)📝
docs/FAQ.md(+1 -1)📝
docs/TROUBLESHOOTING.md(+2 -4)📝
docs/agents/agents-overview.md(+1 -1)📝
docs/characters/import-export.md(+1 -1)📝
docs/connections/providers-reference.md(+7 -0)📝
docs/installation/android-termux.md(+4 -2)📝
docs/media/illustrator-agent.md(+12 -0)📝
docs/media/image-providers.md(+2 -2)📝
docs/prompts/generation-parameters.md(+10 -8)📝
docs/prompts/preset-variables.md(+3 -1)➕
e2e/assigned-issue-sweep.e2e.ts(+520 -0)📝
e2e/core-flows.e2e.ts(+1 -1)📝
e2e/ux-feedback-sweep.e2e.ts(+1 -1)📝
packages/client/src/components/chat/ChatMessage.tsx(+4 -0)📝
packages/client/src/components/chat/ConversationMessage.tsx(+4 -0)...and 59 more files
📄 Description
Linked issue
Closes #6071
Closes #6066
Closes #6065
Closes #6063
Closes #6052
Closes #6038
Closes #5968
Closes #5963
Closes #5869
Closes #5868
Closes #5856
Closes #5836
Closes #5834
Closes #5833
Why this change
Users were losing character identity fields in compatible exports, seeing unresolved greeting variables, and getting different behavior from chat versus auxiliary tools on local models. Android browser entry also required manual authentication and could start another Termux session unnecessarily. This sweep fixes those paths and incorporates the pending assigned provider and parameter features in one staging change.
What changed
#6062 was reviewed separately and closed as not planned with the existing V2 import route and the lack of a documented browse/search API explained in the issue. No BotBooru integration is introduced.
Contributor changes adopted and adapted: #6064 (@arelthegreat / @arelshlomo), #5965 (@OneWayGondola), #5872 (@Bainshie), #5771 (@SonaGat3), #5837 and #5835 (@stonebystone). Commit co-author trailers retain contributor credit. Those PRs are superseded by this maintainer-requested consolidated PR.
Validation
Performed:
pnpm installandpnpm checkpassed (TypeScript, ESLint, formatting, localization, E2E types, production build). The existing GameNarration hook warning is unchanged.TMPDIR=/private/tmp DATA_DIR=<scratch> pnpm regression:node: 250/250 scripts passed, including prompt, provider, macro, export, and Android-auth regressions. Scratch storage avoids the maintainer's running dev instance.Targeted browser suite (
assigned-issue-sweep, preset topbar navigation, and preset save/scroll flows): 17 passed across desktop Chromium, mobile Chromium, and mobile WebKit; four intentional skips for duplicate viewport-independent provider/import tests. This includes delayed parameter responses and a picker kept mounted while its chat changes.Review regressions cover invalid/commented identity tokens, conditional operands, ambiguous character names, partial/ensemble/library appearances, native NovelAI HTTPS, and a real local HTTP fallback request carrying caption identities. The full node suite passed again after the review fixes; the final library-appearance case also passed separately.
ANDROID_SDK_ROOT=... bash android/build-apk.sh: debug APK built successfully with the normal default port and pinned source commit.docker build -t marinara-issue-sweep:6072 .passed. A fresh-volume container returned healthy API/SPA responses and resolved the new parameter-preview endpoint (blank local model; default output 4096). The initial disk-space interruption was resolved before this successful build/run.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
Automated real-browser checks edited/saved chat and preset parameters, compared connection defaults in light mode, reopened and changed random choices, and checked the rendered greeting while verifying its stored macros remained unchanged. The API proof compared the output-cap hint with the actual request to a local synthetic provider, ran agents and manual Illustrator with no model selected, and round-tripped JSON/PNG cards while checking native source data. Browser authentication redeemed a ticket without typing a secret, cleared the URL, verified the HttpOnly/SameSite cookie, and rejected replay. Node negative controls cover expiry, invalid proof, remote callers, CSRF, and old manual-secret sign-in.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedNo version bump or APK release is included. Android users need both the updated Engine and a subsequently built APK for automatic browser launch. English provider/media translations are covered by merged #5993; #6073 tracks the newly changed guides.
UI evidence (if applicable)
Before/after screenshots and fixture details, including mobile Chromium/WebKit, light connection settings, preset editing, and the Android browser handoff.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.