[PR #6700] [MERGED] fix(runpod): expose shared ComfyUI workflow settings #7289

Closed
opened 2026-10-23 04:18:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6700
Author: @SpicyMarinara
Created: 9/26/2026
Status: ✅ Merged
Merged: 9/26/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/sept26-assigned-sweep


📝 Commits (3)

  • 500c922 fix(runpod): reuse ComfyUI defaults and LoRA placeholders
  • cfbf752 fix(runpod): reuse workflow references and prove saved defaults
  • a01fea7 Merge remote-tracking branch 'origin/staging' into codex/sept26-assigned-sweep

📊 Changes

6 files changed (+213 additions, -10 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
➕ e2e/runpod-defaults.e2e.ts (+63 -0)
📝 packages/client/src/localization/locales/en.json (+1 -1)
📝 packages/server/src/services/image/runpod-comfyui.service.ts (+32 -8)
📝 packages/shared/src/constants/image-generation-defaults.ts (+1 -1)
➕ scripts/regressions/runpod-defaults.regression.ts (+115 -0)

📄 Description

Linked issue

Closes #6699

Why this change

RunPod Serverless executes ComfyUI workflows, but its missing defaults mapping hid the shared settings panel and discarded saved ComfyUI settings. RunPod now uses the same sampling, prompt-prefix, seed and LoRA controls as ComfyUI.

What changed

  • Reuse the existing ComfyUI defaults mapping and LoRA placeholder helper.
  • Resolve reference filename placeholders through the worker's existing input.images format, including numbered slots and optional missing-reference placeholders. This needs no extra API request.
  • Reject requests above RunPod's 10 MiB limit before submission, with an actionable error.
  • Update the existing workflow help and add transport and browser regressions.

Validation

Passed pnpm check, server lint after the payload guard, the focused RunPod transport regression, all seven UI smoke cases, and saved-settings round trips on desktop Chromium, mobile Chromium and mobile WebKit. Inspected desktop/phone screenshots. The transport fixture verifies sampling, prefixes, escaped LoRA names, reference aliases, missing-reference slots and oversized-request rejection.

Local CodeRabbit completed with one finding: the payload size limit, now addressed with a regression. No finding was dismissed. Further local review is currently quota-limited; GitHub review must complete before merge.

  • Manually verify generation on a live RunPod ComfyUI worker with sampling, prefix, reference and LoRA placeholders. Automated tests use a mock worker and incur no provider charges.
  • Manually inspect the controls in your preferred theme and viewport.

Docs and release impact

Unreleased changelog entry included. Existing in-app workflow help explains the supported placeholders. No version bump or docs-tree changes.

UI evidence

Automated browser proof covers light desktop and dark mobile, including persistence after reload. The shared controls and layout are reused.

Summary by CodeRabbit

  • New Features
    • RunPod Serverless ComfyUI workflows now support shared generation settings, including prompt prefixes, sampling options, reference images, and LoRAs.
    • Reference images can be supplied as base64 data or uploaded as files, using numbered placeholders for multiple images.
    • Saved generation settings are applied when workflows are submitted.

🔄 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-Engine/pull/6700 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/26/2026 **Status:** ✅ Merged **Merged:** 9/26/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/sept26-assigned-sweep` --- ### 📝 Commits (3) - [`500c922`](https://github.com/Pasta-Devs/Marinara-Engine/commit/500c922b7635e77f012669246073178a334e39ef) fix(runpod): reuse ComfyUI defaults and LoRA placeholders - [`cfbf752`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cfbf7521073f642311cd5be754c3c393426d960b) fix(runpod): reuse workflow references and prove saved defaults - [`a01fea7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a01fea744305a376a659a09d115c95ed2aee1e97) Merge remote-tracking branch 'origin/staging' into codex/sept26-assigned-sweep ### 📊 Changes **6 files changed** (+213 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) ➕ `e2e/runpod-defaults.e2e.ts` (+63 -0) 📝 `packages/client/src/localization/locales/en.json` (+1 -1) 📝 `packages/server/src/services/image/runpod-comfyui.service.ts` (+32 -8) 📝 `packages/shared/src/constants/image-generation-defaults.ts` (+1 -1) ➕ `scripts/regressions/runpod-defaults.regression.ts` (+115 -0) </details> ### 📄 Description ## Linked issue Closes #6699 ## Why this change RunPod Serverless executes ComfyUI workflows, but its missing defaults mapping hid the shared settings panel and discarded saved ComfyUI settings. RunPod now uses the same sampling, prompt-prefix, seed and LoRA controls as ComfyUI. ## What changed - Reuse the existing ComfyUI defaults mapping and LoRA placeholder helper. - Resolve reference filename placeholders through the worker's existing `input.images` format, including numbered slots and optional missing-reference placeholders. This needs no extra API request. - Reject requests above RunPod's 10 MiB limit before submission, with an actionable error. - Update the existing workflow help and add transport and browser regressions. ## Validation Passed `pnpm check`, server lint after the payload guard, the focused RunPod transport regression, all seven UI smoke cases, and saved-settings round trips on desktop Chromium, mobile Chromium and mobile WebKit. Inspected desktop/phone screenshots. The transport fixture verifies sampling, prefixes, escaped LoRA names, reference aliases, missing-reference slots and oversized-request rejection. Local CodeRabbit completed with one finding: the payload size limit, now addressed with a regression. No finding was dismissed. Further local review is currently quota-limited; GitHub review must complete before merge. - [ ] Manually verify generation on a live RunPod ComfyUI worker with sampling, prefix, reference and LoRA placeholders. Automated tests use a mock worker and incur no provider charges. - [ ] Manually inspect the controls in your preferred theme and viewport. ## Docs and release impact Unreleased changelog entry included. Existing in-app workflow help explains the supported placeholders. No version bump or docs-tree changes. ## UI evidence Automated browser proof covers light desktop and dark mobile, including persistence after reload. The shared controls and layout are reused. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * RunPod Serverless ComfyUI workflows now support shared generation settings, including prompt prefixes, sampling options, reference images, and LoRAs. * Reference images can be supplied as base64 data or uploaded as files, using numbered placeholders for multiple images. * Saved generation settings are applied when workflows are submitted. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:18:18 +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-Engine#7289
No description provided.