{"record":{"id":"3183760dc52c4bfd","repo":"tinyhumansai/openhuman","slug":"member-graph-run-failed-e","errorCode":null,"errorMessage":"member graph run failed: {e}","messagePattern":"member graph run failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/agent/orchestration/agent_teams/graph.rs","lineNumber":105,"sourceCode":"    WF: Future<Output = anyhow::Result<MemberOutcome>> + Send + 'static,\n    C: Fn(String) -> CF + Clone + Send + Sync + 'static,\n    CF: Future<Output = anyhow::Result<()>> + Send + 'static,\n    F: Fn(String) -> FF + Clone + Send + Sync + 'static,\n    FF: Future<Output = anyhow::Result<()>> + Send + 'static,\n{\n    let graph = build_member_graph(run_worker, on_complete, on_failed)?\n        .with_event_sink(Arc::new(GraphTracingSink::new(label.to_string())));\n\n    tracing::debug!(\n        target: \"orchestration\",\n        label,\n        \"[orchestration] driving team member execution on tinyagents graph\"\n    );\n\n    graph\n        .run(MemberState::default())\n        .await\n        .map_err(|e| anyhow::anyhow!(\"member graph run failed: {e}\"))?;\n    Ok(())\n}\n\n/// Build (but do not run) the member-execution `CompiledGraph`. Shared by\n/// [`run_member_execution_graph`] and [`member_graph_topology`] so the graph's\n/// structure has one definition.\nfn build_member_graph<W, WF, C, CF, F, FF>(\n    run_worker: W,\n    on_complete: C,\n    on_failed: F,\n) -> anyhow::Result<CompiledGraph<MemberState, MemberUpdate>>\nwhere\n    W: Fn() -> WF + Clone + Send + Sync + 'static,\n    WF: Future<Output = anyhow::Result<MemberOutcome>> + Send + 'static,\n    C: Fn(String) -> CF + Clone + Send + Sync + 'static,\n    CF: Future<Output = anyhow::Result<()>> + Send + 'static,\n    F: Fn(String) -> FF + Clone + Send + Sync + 'static,\n    FF: Future<Output = anyhow::Result<()>> + Send + 'static,","sourceCodeStart":87,"sourceCodeEnd":123,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/agent/orchestration/agent_teams/graph.rs#L87-L123","documentation":"The tinyagents graph engine returned an error while driving an agent-team member's execution graph (built by build_member_graph with execute/complete/fail/done nodes and a GraphTracingSink). This wraps the engine-level failure of the whole member run — node panic, engine limit, or an error propagated through graph_err from the on_complete/on_failed callbacks — as it propagates out of the team-member execution driver.","triggerScenarios":"Thrown at src/openhuman/agent/orchestration/agent_teams/graph.rs:105 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the GraphTracingSink trace events for the member label to find which node failed","Handle the member as failed via the graph's fail path (on_failed) so the team records the failure instead of hanging","Fix the underlying worker/callback error identified in the trace and re-drive the member"],"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-14T00:17:10.932Z"}