feat: add per-stage error isolation in pipeline.py run_pipeline() #36
Labels
No labels
compliance
demo
deployment
docs
enhancement
parser
patterns
performance
security
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/turnstone#36
Loading…
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?
Context
If any pipeline stage raises an unhandled exception,
asyncio.to_thread()propagates it up and the SSE stream closes silently — the user sees a broken stream with no error event.Each stage has good internal fallbacks, but a top-level guard in
run_pipeline()would protect against code bugs:Repeat for each stage. The
{"type": "error"}event type is already handled by the Vue frontend.Found by
Post-implementation code review of feat/29-multi-agent-diagnose.