mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8257] [MERGED] fix: retain Seedance upload settings and gallery references #8252
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#8252
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/8257
Author: @SpicyMarinara
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/seedance-gallery-reference-url📝 Commits (2)
336bde0test: reproduce missing gallery animation reference URL1c7abcdfix: retain saved Seedance settings and gallery references📊 Changes
4 files changed (+193 additions, -3 deletions)
View changed files
➕
e2e/seedance-reference-upload.e2e.ts(+113 -0)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+2 -1)📝
packages/server/src/services/capability-packages/capability-gallery-animation.service.ts(+7 -2)📝
scripts/regressions/capability-gallery-animation.regression.ts(+71 -0)📄 Description
Linked issue
Closes #8256
Related package fix: Marinara-Agents#1665, addressing Marinara-Agents#1664.
Why this change
After saving a Seedance connection and reopening it from the query cache, the editor clears the saved video defaults and shows temporary reference upload as disabled even though the API still stores it as enabled. This prevents users from reliably configuring banner animation. The capability host also drops the existing gallery image URL, so Seedance cannot use a configured public HTTPS origin.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated results cover final source commit
1c7abcdac5b0642af6fbcd835347c98048b43f96:pnpm check: passed, including localization, formatting, TypeScript, lint, and production builds. One unrelated pre-existing React Hook warning remains inHomeProfessorMariChat.tsx.node scripts/run-regressions.mjs --filter capability-gallery-animation.regression.ts: passed. Covers encoded PNG/JPEG URLs, converted WebP, missing public configuration, exact looping reference URLs, explicit upload precedence, and existing validation/cancellation/credential boundaries.e2e/seedance-reference-upload.e2e.ts: 6/6 passed across dark/light desktop Chromium, mobile Chromium, and mobile WebKit. Covers save/API persistence, cached editor remount, full reload, and disabling/saving/reopening while preserving duration and lifetime.playwright test -c playwright.config.ts --project=desktop-chromium --grep @smoke --workers=1: 7/7 passed on isolated fixture ports.Manual verification notes
Manually verify a real Seedance animation using a publicly reachable HTTPS origin or the connection's explicit temporary-upload option. All provider submissions in the host regression are intercepted; no paid generation or temporary image upload was made.
Firefox could not start locally: the required Playwright revision is missing, and the cached older binary also exits before assertions. Firefox assertions and physical-device behavior remain unverified. Docker is installed but its local daemon socket is unavailable; the required hosted container lane remains a merge gate.
Browser screenshots and the original failure trace are retained for the checkbox round trip. There are no layout or style changes.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedThe existing setting and public-base configuration retain their meanings; no release metadata or documentation changes are needed.
UI evidence (if applicable)
Fixture UI screenshots and SHA256 provenance (download the HTML and open locally). The file includes exact, unedited Engine and companion Gacha Forge screenshots with their tested revisions.
The Engine starting-state screenshot shows the enabled control before the failing cached reopen. The original API-true/UI-unchecked failure is established by the red regression assertion and trace, rather than an offscreen checkbox in that screenshot. Final browser cases preserve the saved enabled and disabled choices in both themes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.