feat: improved UX for parallel graph execution

This commit is contained in:
Dark-Alex-17 committed 2026-05-20 18:54:20 -06:00
1 parent 3c7d19da07
commit 81c037515e
12 files changed
+82 -140

No files matched your search

+1 -5
View File
@@ -72,10 +72,6 @@ impl GraphLogger {
"[graph:{}] entering '{}' (visit {visit})",
self.graph_name, node.id
);
eprintln!(
"{}",
dimmed_text(&format!("▸ {} ({})", node.id, node_type_label(node)))
);
}
pub fn record_timing(&mut self, node_id: &str, elapsed: Duration) {
@@ -142,7 +138,7 @@ impl GraphLogger {
}
}
fn node_type_label(node: &Node) -> &'static str {
pub(super) fn node_type_label(node: &Node) -> &'static str {
match &node.node_type {
NodeType::Agent(_) => "agent",
NodeType::Script(_) => "script",