Files
mitai-jinkendo/frontend/src
Lars b1d596e0ab
Deploy Development / deploy (push) Successful in 53s
Build Test / pytest-backend (push) Successful in 5s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 16s
fix: Use SSE streaming in WorkflowExecutePanel to prevent 504 timeout
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
2026-04-13 15:18:50 +02:00
..
2026-04-11 11:32:46 +02:00