mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2459] [Issue]: Refactor RunPod ComfyUI skips numbered reference image placeholders #1207
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#1207
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?
Originally created by @Xelvanis on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2459
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The refactor RunPod ComfyUI transport only feeds the first reference image into the shared
%reference_image%replacement path. Legacy/main also replaced numbered RunPod base64 placeholders like%reference_image_01%through%reference_image_04%, so multi-reference RunPod workflows can lose every reference after the first.Related parity tracker: #2410.
Related closed references: #1018 and #1331.
Expected behavior
RunPod ComfyUI workflows should support numbered base64 reference-image placeholders for the current reference image list:
%reference_image_01%through%reference_image_04%%reference_image%remains an alias for slot 01This should match the RunPod behavior documented as completed in #1018 while preserving the local ComfyUI placeholder behavior closed in #1331.
Actual behavior
Current refactor behavior in
src-tauri/src/commands/storage/images/providers.rs:generate_runpod_comfyuicallscomfy_replacementswithoptions.reference_images.first().map(String::as_str).comfy_replacementsaccepts only onereference_image: Option<&str>and inserts only%reference_image%.%reference_image_01%through%reference_image_04%.Legacy behavior in
packages/server/src/services/image/runpod-comfyui.service.tslooped over collected reference images, replaced each numbered%reference_image_NN%, and kept%reference_image%as the first-reference alias.Steps to reproduce
src-tauri/src/commands/storage/images/providers.rsonorigin/refactor@1a18f83d.generate_runpod_comfyuiintocomfy_replacements.options.reference_images.first()is passed into replacement construction.packages/server/src/services/image/runpod-comfyui.service.ts, where RunPod numbered%reference_image_NN%placeholders were replaced from the reference image list.%reference_image_02%with at least two reference images; static trace indicates the second placeholder will remain unreplaced in refactor.Impact area
Environment
origin/refactor@1a18f83dstatic parity traceLogs, screenshots, or video
No live RunPod provider call was run. Evidence is static trace from #2410.
Regression notes
#1018 says the legacy/main fix added RunPod numbered base64
%reference_image_01%through%reference_image_04%placeholders. #1331 is closed for local ComfyUI numbered placeholder parity, but this residual issue is scoped to the refactor RunPod ComfyUI path.Additional context
Expected proof should include a focused provider/harness check that a RunPod workflow receives distinct values for
%reference_image_01%and%reference_image_02%, while%reference_image%still resolves to the first reference image.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jun 6, 2026):
Fixed on
refactorina68177b5.%reference_image_01%through%reference_image_04%.%reference_image%remains an alias for the first reference image, matching the legacy RunPod ComfyUI placeholder behavior.Verification:
cargo test --manifest-path src-tauri/Cargo.toml comfy_replacements_resolve_numbered_reference_image_slots -- --nocapturecargo check --manifest-path src-tauri/Cargo.toml --workspacepnpm check:architecture