feat: enhance agent execution flow with multi-execution view and improved error handling

- Added multi-execution view to display multiple execution statuses.
- Improved error handling in agent triggering to surface failures.
- Updated execution view to support live updates via SSE and added a log panel for node logs.
- Enhanced pipeline canvas to display node statuses during execution.
- Introduced new fields in the build node form for Docker configurations.
- Updated API to support execution streaming and enhanced node catalog descriptions.
This commit is contained in:
patel-lyzr
2026-05-13 22:15:08 +05:30
parent 0a1874e736
commit 0284ff768a
27 changed files with 2598 additions and 203 deletions
+15 -1
View File
@@ -47,6 +47,9 @@ interface PipelineCanvasProps {
* the legacy fixed height. Use when the page wraps the canvas in its own
* layout (e.g. flow editor pages). */
fullBleed?: boolean;
/** Per-node run status overlay. Keys are node names. Drives the colored
* ring + status icon on each FlowNode. Used by the live execution view. */
nodeStatuses?: Record<string, "pending" | "running" | "success" | "failed" | "paused">;
}
// Public component: keys on pipelineId so a fresh inner instance mounts when
@@ -65,6 +68,7 @@ function CanvasInner({
onChange,
readOnly,
fullBleed,
nodeStatuses,
}: PipelineCanvasProps) {
// Compute initial RF state once. The canvas owns it from here on.
const initial = useMemo(() => toReactFlow(initialValue ?? null), []);
@@ -229,7 +233,17 @@ function CanvasInner({
onDrop={onDrop}
>
<ReactFlow
nodes={nodes}
nodes={
nodeStatuses
? nodes.map((n) => ({
...n,
data: {
...n.data,
runStatus: nodeStatuses[n.id] ?? "pending",
},
}))
: nodes
}
edges={edges}
onNodesChange={onNodesChange}
onEdgesChange={onEdgesChange}