mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3814] [MERGED] Fix Gallery backgrounds, Unix env parsing, and scene-video streaming #6114
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#6114
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/3814
Author: @SpicyMarinara
Created: 7/19/2026
Status: ✅ Merged
Merged: 7/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/assigned-issue-sweep📝 Commits (5)
da0bafcRoute Gallery backgrounds through Illustratore977f24Parse launcher env files without shell evaluationb77c359Stream scene videos with range support87e2e44Satisfy Gallery background callback contract26fb274Merge staging into assigned issue sweep📊 Changes
18 files changed (+315 additions, -182 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
docs/CONFIGURATION.md(+2 -0)📝
package.json(+1 -1)📝
packages/client/src/components/chat/ChatArea.tsx(+5 -145)📝
packages/client/src/components/chat/ChatCommonOverlays.tsx(+1 -1)📝
packages/client/src/components/chat/ChatGallery.tsx(+2 -2)📝
packages/client/src/components/chat/ChatGalleryDrawer.tsx(+1 -1)📝
packages/client/src/hooks/use-generate.ts(+2 -0)📝
packages/server/src/app.ts(+5 -0)📝
packages/server/src/routes/gallery.routes.ts(+1 -2)📝
packages/server/src/routes/game.routes.ts(+1 -2)📝
packages/server/src/routes/generate/retry-agents-route.ts(+10 -2)➕
scripts/read-launcher-env.mjs(+44 -0)➕
scripts/regressions/launcher-env.regression.mjs(+75 -0)📝
scripts/regressions/open-issues.regression.ts(+15 -0)➕
scripts/regressions/scene-video-range.regression.ts(+101 -0)📝
start-termux.sh(+23 -13)📝
start.sh(+23 -13)📄 Description
Linked issues
Closes #3809
Closes #3810
Closes #3811
Why this change
.envas shell code, allowing dotenv values to execute shell syntax.What changed
backgroundprompt-mode override. The saved chat prompt mode remains unchanged.Root causes
start.shandstart-termux.shtreated a data file as a Bash program.readFileSyncand sent the resulting buffer instead of delegating transfer semantics to a file-serving response.Validation evidence
pnpm checkpnpm regression:issuespnpm smoke:ui— 72 passed, 46 project-defined skipspnpm version:checkgit diff --check origin/staging...HEAD$and$(...)values, allowlisting, ambient precedence, ordering, andbash -nchecks.Manual verification requested
.envlauncher values on desktop Linux/macOS and Termux.Docs and release impact
docs/CONFIGURATION.mdandCHANGELOG.mdare updated. No application version is changed.Risk notes
The changes reuse existing Illustrator and Fastify behavior. Prompt selection is overridden only for this retry request, launcher parsing is restricted to keys the shell scripts consume, and all existing scene-video authorization and containment checks remain in place.
Summary by CodeRabbit
Bug Fixes
.envfiles from being executed..envsettings.Documentation
.envparsing behavior and environment-variable precedence.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.