Skip to content

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

test: remove prefix_reset field from transcript test fixtures

Steven Enamakelcaf88053a859
diff --git a/crates/openhuman-core/src/channels/bus/subscriber_tests.rs b/crates/openhuman-core/src/channels/bus/subscriber_tests.rs
index ce73fe76f7..6a2af135dc 100644
--- a/crates/openhuman-core/src/channels/bus/subscriber_tests.rs
+++ b/crates/openhuman-core/src/channels/bus/subscriber_tests.rs
@@ -43,7 +43,7 @@ async fn backend_channel_wait_does_not_cut_off_a_live_turn_after_180_seconds() {
let ctx = DispatchCtx::ambient();
let client_id = "channel-timeout-client";
let thread_id = "channel-timeout-thread";
- let event_rx = crate::web_chat::subscribe_web_channel_events();
+ let mut event_rx = crate::web_chat::subscribe_web_channel_events();
let request_id = crate::web_chat::start_chat(
&ctx,
client_id,
diff --git a/crates/openhuman-core/src/storage/import/sessions_tests.rs b/crates/openhuman-core/src/storage/import/sessions_tests.rs
index 2605373c14..3b27c5cad1 100644
--- a/crates/openhuman-core/src/storage/import/sessions_tests.rs
+++ b/crates/openhuman-core/src/storage/import/sessions_tests.rs
@@ -63,7 +63,6 @@ fn meta(thread: &str, agent: &str) -> TranscriptMeta {
task_id: None,
session_id: None,
parent_session_id: None,
- prefix_reset: false,
}
}
diff --git a/crates/openhuman-core/src/threads/ops/transcript_tests.rs b/crates/openhuman-core/src/threads/ops/transcript_tests.rs
index 0414d72e87..83be960f22 100644
--- a/crates/openhuman-core/src/threads/ops/transcript_tests.rs
+++ b/crates/openhuman-core/src/threads/ops/transcript_tests.rs
@@ -47,7 +47,6 @@ fn meta(agent: &str, agent_type: &str) -> TranscriptMeta {
updated: "2026-10-15T00:00:00Z".into(),
turn_count: 1,
prefix_message_count: None,
- prefix_reset: false,
input_tokens: 0,
output_tokens: 0,
cached_input_tokens: 0,
@@ -56,7 +55,6 @@ fn meta(agent: &str, agent_type: &str) -> TranscriptMeta {
task_id: None,
session_id: None,
parent_session_id: None,
- prefix_reset: false,
}
}
diff --git a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
index ad936bc9cd..4aacf73c90 100644
--- a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
+++ b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
@@ -57,7 +57,6 @@ fn write_thread_transcript(workspace_dir: &Path, stem: &str, thread_id: &str, ro
let meta = TranscriptMeta {
session_id: None,
parent_session_id: None,
- prefix_reset: false,
agent_name: "orchestrator_thread".into(),
agent_id: Some("orchestrator".into()),
agent_type: Some("root".into()),