Skip to content

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

test: reorder import of QUEUE_STALL_THRESHOLD_MS in pipeline status tests

Steven Enamakel6571ea55a761
diff --git a/crates/openhuman-core/src/memory/tree/tree/rpc_ingest_and_chunk_tests.rs b/crates/openhuman-core/src/memory/tree/tree/rpc_ingest_and_chunk_tests.rs
index bf4c4800fd..27ea171511 100644
--- a/crates/openhuman-core/src/memory/tree/tree/rpc_ingest_and_chunk_tests.rs
+++ b/crates/openhuman-core/src/memory/tree/tree/rpc_ingest_and_chunk_tests.rs
@@ -356,11 +356,9 @@ fn latest_quarantine_reads_the_newest_copy_and_derives_resynced() {
// The rebuilt store is still empty: the notice stands.
let pending = latest_quarantine(tmp.path(), 0).expect("newest quarantine");
assert_eq!(pending.quarantined_at_ms, at);
- assert!(
- pending
- .quarantined_path
- .ends_with("chunks.db.corrupt-20260827T070304Z")
- );
+ assert!(pending
+ .quarantined_path
+ .ends_with("chunks.db.corrupt-20260827T070304Z"));
assert!(!pending.resynced);
// Any chunk in the rebuilt store: the user re-synced, the notice retires.
diff --git a/crates/openhuman-core/src/memory/tree/tree/rpc_pipeline_status_tests.rs b/crates/openhuman-core/src/memory/tree/tree/rpc_pipeline_status_tests.rs
index 9d5a741a48..d37dbb4787 100644
--- a/crates/openhuman-core/src/memory/tree/tree/rpc_pipeline_status_tests.rs
+++ b/crates/openhuman-core/src/memory/tree/tree/rpc_pipeline_status_tests.rs
@@ -2,10 +2,10 @@ use super::*;
use crate::memory::tree::tree::rpc::pipeline_status::gate_pause_state;
use crate::memory::tree::tree::rpc::retry_failed::blocking_cause;
-use crate::memory::tree::tree::rpc::stall::QUEUE_STALL_THRESHOLD_MS;
use crate::memory::tree::tree::rpc::stall::derive_pipeline_status;
use crate::memory::tree::tree::rpc::stall::queue_idle_ms;
use crate::memory::tree::tree::rpc::stall::queue_is_stalled;
+use crate::memory::tree::tree::rpc::stall::QUEUE_STALL_THRESHOLD_MS;
#[test]
fn derive_pipeline_status_precedence_matches_spec() {
use crate::memory::tree::health::{DegradedState, FailureCode, PipelineFailure};