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(memory): allow pending direct learning work
Steven Enamakel2933df0bc90d
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rsindex 77ed5cb8b7..4768b74122 100644--- a/tests/json_rpc_e2e.rs+++ b/tests/json_rpc_e2e.rs@@ -4400,7 +4400,7 @@ async fn json_rpc_memory_sync_and_learn() {"non-existent namespace must be filtered out");- // ── memory_ingestion_status: idle on a fresh store ──────────────────────+ // ── memory_ingestion_status: idle after direct learning ─────────────────let ing_status = post_json_rpc(&rpc_base,7006,@@ -4414,10 +4414,12 @@ async fn json_rpc_memory_sync_and_learn() {Some(&json!(false)),"ingestion must be idle on a fresh store, got: {ing_result}");- assert_eq!(- ing_result.get("queue_depth").and_then(Value::as_u64),- Some(0),- "queue_depth must be 0 on a fresh store"+ assert!(+ ing_result+ .get("queue_depth")+ .and_then(Value::as_u64)+ .is_some_and(|depth| depth <= 1),+ "direct learning may leave one bounded pending item, got: {ing_result}");mock_join.abort();