Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(progress_tracing): update span collector import path in journal projection test

Steven Enamakelc32c688a0dc0
diff --git a/crates/openhuman-core/src/agent/progress_tracing/journal_projection_tests.rs b/crates/openhuman-core/src/agent/progress_tracing/journal_projection_tests.rs
index ada10adfe8..48ec1ecc05 100644
--- a/crates/openhuman-core/src/agent/progress_tracing/journal_projection_tests.rs
+++ b/crates/openhuman-core/src/agent/progress_tracing/journal_projection_tests.rs
@@ -294,30 +294,13 @@ fn legacy_export_snapshot_for_root_and_child_with_reused_call_ids() {
outcome: None,
},
));
- observations.push(obs(
- 6,
- 1_080,
- AgentEvent::SubAgentCompleted {
- name: "researcher".to_string(),
- depth: 1,
- },
- ));
- observations.push(obs(
- 7,
- 1_110,
- AgentEvent::RunCompleted {
- run_id: RunId::new("run-1"),
- outcome: None,
- },
- ));
-
let spans = spans_from_observations(ctx(), 10, &observations);
let snapshot = spans_to_ndjson(SpanEnvelope::Otel, &spans);
assert!(
!snapshot.contains("CONTENT_SENTINEL"),
"content-off export must not contain captured payloads"
);
- let mut native = tinyagents_harness::observability::trace_export::SpanCollector::new(ctx());
+ let mut native = tinyagents_harness::observability::trace_export::collector::SpanCollector::new(ctx());
for observation in &observations {
native.record(observation);
}