[PR #842] [MERGED] fix: enable SwarmUI character videos in Calls #1151

Closed
opened 2026-10-21 05:03:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/842
Author: @SpicyMarinara
Created: 9/13/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/calls-swarmui-6158


📝 Commits (3)

  • 2be9519 chore: start Calls SwarmUI support
  • bbcc66d fix(calls): support SwarmUI character video workflows
  • 0d52b23 test(calls): allow bounded manifest persistence delay

📊 Changes

16 files changed (+748 additions, -218 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+3 -0)
➕ artifacts/conversation-calls-1.0.16.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/conversation-calls/CHANGELOG.md (+4 -0)
📝 packages/conversation-calls/manifest.json (+3 -3)
📝 packages/conversation-calls/server.mjs (+189 -188)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 sources/engine/packages/server/src/services/conversation/call-character-videos.service.ts (+23 -4)
📝 sources/engine/packages/server/src/services/video/video-generation.ts (+286 -2)
➕ tests/calls-swarmui-video.regression.mjs (+201 -0)
📝 tests/conversation-calls-summary.regression.mjs (+2 -2)

📄 Description

Closes #841

Why this change

Calls rejects SwarmUI connections that already work in Engine because its captured video runtime lacks that provider path.

Related Engine report: https://github.com/Pasta-Devs/Marinara-Engine/issues/6158.

What changed

Calls 1.0.16 reuses Engine's existing SwarmUI workflow implementation and forwards the saved workflow, resolution, frame rate, and LoRAs when generating character clips. A backup SwarmUI connection uses its own workflow settings.

Package and security impact

The new path rejects output URLs outside the configured SwarmUI origin before sending its authentication cookie. Redirects remain within the allowed origin. No package permissions, storage schema, client payload, entrypoints, or Engine compatibility range changed.

Validation

Validation passed: package source formatting/lint (existing warnings only); the focused Calls provider/character-clip regression; the existing Calls summary/artifact regression; a Calls-only rebuild; catalog lanes, locale validation, catalog/archive hashes, release notes, and git diff --check.

The new regression drives the real provider, workflow replacement, queue, and character-clip disk/job lifecycle with mocked network and unrelated infrastructure. It covers inline and downloaded MP4 output, connection settings, fallback routing, malformed video, foreign output URLs, cancellation, and unsafe reference-filename placeholders. The original source fails at unsupported-provider dispatch. It does not replace a real SwarmUI hardware run or manual package lifecycle verification.

  • Manually verify a character idle/talking clip with SwarmUI.
  • Manually verify package install, update, restart, offline restart, and uninstall.

🔄 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-Agents/pull/842 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/13/2026 **Status:** ✅ Merged **Merged:** 9/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/calls-swarmui-6158` --- ### 📝 Commits (3) - [`2be9519`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2be95199217567095d57ad751aa8c1f6b53e5015) chore: start Calls SwarmUI support - [`bbcc66d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bbcc66d92b4e2ca5778b566269981ed26faeeba8) fix(calls): support SwarmUI character video workflows - [`0d52b23`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0d52b235c513221cbe1d66298e9c67fba23b76aa) test(calls): allow bounded manifest persistence delay ### 📊 Changes **16 files changed** (+748 additions, -218 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+3 -0) ➕ `artifacts/conversation-calls-1.0.16.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/conversation-calls/CHANGELOG.md` (+4 -0) 📝 `packages/conversation-calls/manifest.json` (+3 -3) 📝 `packages/conversation-calls/server.mjs` (+189 -188) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `sources/engine/packages/server/src/services/conversation/call-character-videos.service.ts` (+23 -4) 📝 `sources/engine/packages/server/src/services/video/video-generation.ts` (+286 -2) ➕ `tests/calls-swarmui-video.regression.mjs` (+201 -0) 📝 `tests/conversation-calls-summary.regression.mjs` (+2 -2) </details> ### 📄 Description Closes #841 ## Why this change Calls rejects SwarmUI connections that already work in Engine because its captured video runtime lacks that provider path. Related Engine report: https://github.com/Pasta-Devs/Marinara-Engine/issues/6158. ## What changed Calls 1.0.16 reuses Engine's existing SwarmUI workflow implementation and forwards the saved workflow, resolution, frame rate, and LoRAs when generating character clips. A backup SwarmUI connection uses its own workflow settings. ## Package and security impact The new path rejects output URLs outside the configured SwarmUI origin before sending its authentication cookie. Redirects remain within the allowed origin. No package permissions, storage schema, client payload, entrypoints, or Engine compatibility range changed. ## Validation Validation passed: package source formatting/lint (existing warnings only); the focused Calls provider/character-clip regression; the existing Calls summary/artifact regression; a Calls-only rebuild; catalog lanes, locale validation, catalog/archive hashes, release notes, and `git diff --check`. The new regression drives the real provider, workflow replacement, queue, and character-clip disk/job lifecycle with mocked network and unrelated infrastructure. It covers inline and downloaded MP4 output, connection settings, fallback routing, malformed video, foreign output URLs, cancellation, and unsafe reference-filename placeholders. The original source fails at unsupported-provider dispatch. It does not replace a real SwarmUI hardware run or manual package lifecycle verification. - [ ] Manually verify a character idle/talking clip with SwarmUI. - [ ] Manually verify package install, update, restart, offline restart, and uninstall. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:03:56 +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-Agents#1151
No description provided.