The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(observability): align trace export assertions with renamed span attributes
Steven Enamakel6e6de371b5e9
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_trace_export_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_trace_export_tests.rsindex 79372ab1bd..2357ca54d1 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_trace_export_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_trace_export_tests.rs@@ -214,7 +214,7 @@ async fn prepared_child_run_is_exported_from_its_native_journal_lineage() {child_span.parent_span_id.as_deref(),Some(root_span.span_id.as_str()));- assert_eq!(root_span.attributes["parent_run_id"], root_run_id.as_str());+ assert_eq!(root_span.attributes["run.id"], root_run_id.as_str());assert_eq!(root_span.attributes["root_run_id"], root_run_id.as_str());let generation = spans.iter()diff --git a/crates/openhuman-core/src/core/observability/trace_export_adoption_tests.rs b/crates/openhuman-core/src/core/observability/trace_export_adoption_tests.rsindex b1ebe01be1..afa06f65b0 100644--- a/crates/openhuman-core/src/core/observability/trace_export_adoption_tests.rs+++ b/crates/openhuman-core/src/core/observability/trace_export_adoption_tests.rs@@ -248,10 +248,10 @@ fn per_run_trace_snapshots_keep_reused_call_ids_scoped_and_content_gated() {);assert!(snapshot.iter()- .any(|span| span["name"] == "agent.iteration"));+ .any(|span| span["name"] == "agent.iteration#1"));assert!(snapshot.iter()- .any(|span| span["name"] == "subagent.iteration"));+ .any(|span| span["name"] == "subagent.iteration#1"));}#[test]@@ -344,7 +344,8 @@ fn child_native_failure_survives_parent_acknowledgement_at_same_timestamp() {assert_eq!(child_span.status, SpanStatus::Error);assert_eq!(child_span.attributes["error.message"],- "child provider failed"+ "Operation failed",+ "terminal failures use the content-free native fallback, not raw provider prose");}@@ -501,7 +502,7 @@ fn separate_child_trace_roots_observations_but_retains_parent_lineage() {.iter().find(|span| span.kind == SpanKind::Turn).expect("child trace has its own root turn");- assert_eq!(root.attributes["run_id"], "child-run");+ assert_eq!(root.attributes["run.id"], "child-run");assert_eq!(root.attributes["parent_run_id"], "root-run");assert_eq!(root.attributes["root_run_id"], "root-run");assert!(collector