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: add debug prints to ledger schema tests
Steven Enamakel0348679266b8
diff --git a/crates/openhuman-core/src/agent/orchestration/command_center/schemas_tests.rs b/crates/openhuman-core/src/agent/orchestration/command_center/schemas_tests.rsindex 8a8736bb1b..f2b864ec00 100644--- a/crates/openhuman-core/src/agent/orchestration/command_center/schemas_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/command_center/schemas_tests.rs@@ -58,9 +58,9 @@ fn params(value: Value) -> Map<String, Value> {#[tokio::test]async fn listing_work_on_an_empty_ledger_answers() {- with_scratch_workspace(|| handle_agent_work_list(params(serde_json::json!({ "limit": 5 }))))+ let v = with_scratch_workspace(|| handle_agent_work_list(params(serde_json::json!({ "limit": 5 })))).await- .expect("an empty ledger lists as an empty view");+ .expect("an empty ledger lists as an empty view");eprintln!("DBG-WORK {v}");}#[tokio::test]diff --git a/crates/openhuman-core/src/agent/session_db/schemas_tests.rs b/crates/openhuman-core/src/agent/session_db/schemas_tests.rsindex 4643b99164..4371b86d2b 100644--- a/crates/openhuman-core/src/agent/session_db/schemas_tests.rs+++ b/crates/openhuman-core/src/agent/session_db/schemas_tests.rs@@ -106,7 +106,7 @@ async fn listing_an_empty_ledger_returns_no_runs() {.await.expect("list answers on an empty ledger");let text = value.to_string();- assert!(text.contains("runs") || text.contains("items"), "{text}");+ eprintln!("DBG-LIST {value}");assert!(text.contains("runs") || text.contains("items"), "{text}");}#[tokio::test]@@ -126,7 +126,7 @@ async fn getting_an_unknown_run_answers_null() {}).await.expect("get answers for an unknown id");- assert!(value.to_string().contains("null"), "{value}");+ eprintln!("DBG-GET {value}");assert!(value.to_string().contains("null"), "{value}");}#[tokio::test]@@ -143,6 +143,7 @@ async fn events_of_an_unknown_run_are_empty() {handle_run_ledger_events(params(serde_json::json!({ "runId": "no-such-run" })))}).await+ .map(|v| eprintln!("DBG-EV {v}")).expect("events answer for an unknown run");}