Skip to content

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

test(threads): add mirror observe turn state tests

Steven Enamakel6c8097350bd3
diff --git a/crates/openhuman-core/src/threads/turn_state/mirror_observe_tests.rs b/crates/openhuman-core/src/threads/turn_state/mirror_observe_tests.rs
index 2d34577b90..a7b6e130fc 100644
--- a/crates/openhuman-core/src/threads/turn_state/mirror_observe_tests.rs
+++ b/crates/openhuman-core/src/threads/turn_state/mirror_observe_tests.rs
@@ -444,7 +444,6 @@ fn text_delta_appends_streaming_text_without_flushing() {
#[test]
fn turn_completed_keeps_snapshot_as_completed_and_finish_is_noop() {
- let dir = tempdir().expect("tempdir");
let store = std::sync::Arc::new(InMemoryTurnStates::default()) as std::sync::Arc<dyn TurnStates>;
let mut mirror = TurnStateMirror::new(store.clone(), "t", "req-1");
mirror.observe(&AgentProgress::TurnCompleted {
@@ -468,7 +467,6 @@ fn turn_completed_keeps_snapshot_as_completed_and_finish_is_noop() {
#[test]
fn finish_without_turn_completed_marks_interrupted() {
- let dir = tempdir().expect("tempdir");
let store = std::sync::Arc::new(InMemoryTurnStates::default()) as std::sync::Arc<dyn TurnStates>;
let mut mirror = TurnStateMirror::new(store.clone(), "t", "req-1");
mirror.observe(&AgentProgress::IterationStarted {