{"record":{"id":"7150c06f8a354683","repo":"tinyhumansai/openhuman","slug":"workflow-scheduler-graph-run-failed-e","errorCode":null,"errorMessage":"workflow scheduler graph run failed: {e}","messagePattern":"workflow scheduler graph run failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/agent/orchestration/workflow_runs/graph.rs","lineNumber":251,"sourceCode":"                    &session,\n                    &cancel,\n                    model_override,\n                    &phase,\n                    total_spawned,\n                )\n                .await\n            }\n        }\n    };\n\n    let graph = build_scheduler_graph(definition.phases.len(), select, run)?.with_event_sink(\n        Arc::new(GraphTracingSink::new(format!(\"workflow:{run_id_owned}\"))),\n    );\n\n    graph\n        .run(SchedulerState::default())\n        .await\n        .map_err(|e| anyhow!(\"workflow scheduler graph run failed: {e}\"))?;\n    Ok(())\n}\n\n/// Structure-only [`GraphTopology`] of the workflow scheduler graph for debug /\n/// inspection (issue #4249, Phase 4). Built with no-op stub effects — the\n/// topology exposes only node names, edges, and routing, never closure bodies.\npub(crate) fn scheduler_graph_topology() -> Result<GraphTopology> {\n    let graph = build_scheduler_graph(\n        1,\n        || async { Ok(PhaseSelection::Terminated) },\n        |_phase: WorkflowPhase, _spawned: u32| async { Ok(PhaseExecOutcome::Terminated) },\n    )?;\n    Ok(graph.topology())\n}\n","sourceCodeStart":233,"sourceCodeEnd":266,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/agent/orchestration/workflow_runs/graph.rs#L233-L266","documentation":"The workflow scheduler graph's run() returned an error while driving the dispatch/run_phase loop for a workflow run. This is the engine-loop-level failure wrapper: an error escaping a node (phase selection, phase execution) or the graph runtime itself, as opposed to per-phase errors that are handled as PhaseExecOutcome internally.","triggerScenarios":"Thrown at src/openhuman/agent/orchestration/workflow_runs/graph.rs:251 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the GraphTracingSink trace for 'workflow:<run_id>' to find the failing node","Address the underlying node error (dispatch/load or phase execution) and resume the run","If the graph runtime itself failed, check for tinyagents graph-engine regressions"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}