add heavy loggin

This commit is contained in:
2026-03-26 10:59:56 -03:00
parent a85722f96a
commit beb0416280
27 changed files with 502 additions and 64 deletions

View File

@@ -26,6 +26,21 @@ props.source.on<{ nodes: GraphNode[] }>('graph_update', (e) => {
nodes.value = e.nodes
})
props.source.on<{ report?: { status?: string } }>('job_complete', (e) => {
const status = e.report?.status
if (status === 'failed' || status === 'cancelled') {
nodes.value = nodes.value.map(n => ({
...n,
status: n.status === 'running' ? 'error' : n.status,
}))
} else {
nodes.value = nodes.value.map(n => ({
...n,
status: n.status === 'running' ? 'done' : n.status,
}))
}
})
function onOpenRegionEditor(stage: string) {
pipeline.openBBoxEditor(stage)
}