ROOT CAUSE: - WorkflowExecutePanel used api.executeWorkflow (synchronous POST) - Long workflows (10+ nodes, 60-90s) → 504 Gateway Timeout - Reverse proxy kills request after 60s SOLUTION: - Switch to api.executeUnifiedPromptStream (SSE) - Real-time progress updates during execution - No timeout (streaming connection stays alive) - Progress display: X/Y Nodes • Current node label Changes: - Replace executeWorkflow with executeUnifiedPromptStream - Add progress callback for node_complete events - Add progress state + UI display - Flexbox column layout for progress bar Fixes: 504 Gateway Timeout bei langen Workflows im Workflow Designer |
||
|---|---|---|
| .. | ||
| components | ||
| config | ||
| context | ||
| layouts | ||
| pages | ||
| pilot | ||
| styles | ||
| utils | ||
| widgetSystem | ||
| app.css | ||
| App.jsx | ||
| main.jsx | ||