[PR #247] [MERGED] ComfyUI: Show workflow parse and usage errors #4530

Closed
opened 2026-10-22 04:08:27 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/247
Author: @pwildani
Created: 4/26/2026
Status: ✅ Merged
Merged: 4/27/2026
Merged by: @LukaTheHero

Base: main ← Head: pwildani-comfyui-connection-error-handling-flow


📝 Commits (2)

📊 Changes

3 files changed (+213 additions, -1 deletions)

View changed files

📝 packages/client/src/components/connections/ConnectionEditor.tsx (+162 -1)
📝 packages/client/src/hooks/use-connections.ts (+9 -0)
📝 packages/server/src/routes/connections.routes.ts (+42 -0)

📄 Description

Parse errors are links to the error position if the underlying parser reports it.

Also includes a test image generation button.

Why this change

Editing the substitutions into complicated ComfyUI workflows is error prone.

What changed

  • Client side parse the workflow with JSON.parse. Extract the error message
  • Test image generation button

Validation

  • pnpm check
  • Manual verification completed (describe below)

Manual verification notes

Paste and edit workflow

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Parse error:
Screenshot 2026-04-26 at 6 29 59 AM

Warning of unused substitutions:

Test Button

AI disclosure: Claude wrote the react code.

Summary by CodeRabbit

  • New Features
    • Image generation connection testing with visual results display, latency and prompt info.
    • Test Image button to validate image-generation providers.
    • ComfyUI workflow validation that pinpoints JSON parse errors (jump-to-error) and warns about missing placeholders.

🔄 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/247 **Author:** [@pwildani](https://github.com/pwildani) **Created:** 4/26/2026 **Status:** ✅ Merged **Merged:** 4/27/2026 **Merged by:** [@LukaTheHero](https://github.com/LukaTheHero) **Base:** `main` ← **Head:** `pwildani-comfyui-connection-error-handling-flow` --- ### 📝 Commits (2) - [`07b272a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/07b272adbbd9b01f8b97f9d7a4b24dfc87a477dc) ComfyUI: Show workflow parse and usage errors - [`641e952`](https://github.com/Pasta-Devs/Marinara-Engine/commit/641e952f1668f15225a11492f6ab0ef22d01aa4d) fixup ### 📊 Changes **3 files changed** (+213 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+162 -1) 📝 `packages/client/src/hooks/use-connections.ts` (+9 -0) 📝 `packages/server/src/routes/connections.routes.ts` (+42 -0) </details> ### 📄 Description Parse errors are links to the error position if the underlying parser reports it. Also includes a test image generation button. ## Why this change Editing the substitutions into complicated ComfyUI workflows is error prone. ## What changed - Client side parse the workflow with JSON.parse. Extract the error message - Test image generation button ## Validation - [X] `pnpm check` - [X] Manual verification completed (describe below) ### Manual verification notes Paste and edit workflow ## Docs and release impact - [X] No docs changes needed - [X] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Parse error: <img width="728" height="215" alt="Screenshot 2026-04-26 at 6 29 59 AM" src="https://github.com/user-attachments/assets/04384b1c-b470-4fb4-bf00-bd007bf1ed8b" /> Warning of unused substitutions: <img width="728" height="215" alt="" src="https://github.com/user-attachments/assets/d05e1847-a510-4b81-839d-078e07a70ed8" /> Test Button <img width="719" height="508" alt="" src="https://github.com/user-attachments/assets/347aa4f4-d6c5-42ac-b2ff-cc48d04ac0b9" /> AI disclosure: Claude wrote the react code. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Image generation connection testing with visual results display, latency and prompt info. * Test Image button to validate image-generation providers. * ComfyUI workflow validation that pinpoints JSON parse errors (jump-to-error) and warns about missing placeholders. <!-- 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-22 04:08:27 +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#4530
No description provided.