Skip to content

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

test: drop delegation checkpointer and unused dispatch ctx from e2e tests

Steven Enamakel1671a7767817
diff --git a/crates/openhuman-core/src/flows/caps_host/agent_tests.rs b/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
index 214bbd365c..330197fe55 100644
--- a/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
+++ b/crates/openhuman-core/src/flows/caps_host/agent_tests.rs
@@ -249,7 +249,7 @@ async fn headless_flow_agent_includes_nested_grandchild_result() {
let child_runs = snapshots
.iter()
.filter(|job| job.agent == "flow_worker")
- .map(|job| (job.status.clone(), job.subagent_run_id.clone()))
+ .map(|job| (job.status, job.subagent_run_id.clone()))
.collect::<Vec<_>>();
let grandchild_jobs = snapshots
.iter()
diff --git a/tests/media_generation_e2e.rs b/tests/media_generation_e2e.rs
index 8d7101e9ff..40229cfddf 100644
--- a/tests/media_generation_e2e.rs
+++ b/tests/media_generation_e2e.rs
@@ -298,7 +298,6 @@ async fn media_tools_deliver_images_and_videos_through_the_backend_proxy() {
);
for (id, kind) in [(&image_id, "image"), (&video_id, "video")] {
let record = openhuman_core::artifacts::ops::ai_get_artifact(
- &openhuman_core::core::runtime::DispatchCtx::ambient(),
&config,
id,
)
diff --git a/tests/storage_flows_e2e.rs b/tests/storage_flows_e2e.rs
index 510e9dff9f..6be12a469d 100644
--- a/tests/storage_flows_e2e.rs
+++ b/tests/storage_flows_e2e.rs
@@ -65,10 +65,6 @@ async fn a_configured_backend_holds_cron_jobs_and_flow_catalog() {
// through the host's scoped CatalogStorage callback. The successful
// create/list round-trip above exercises that boundary.
- // The delegation graph's checkpointer lives on the backend too.
- let delegation_config = config.clone();
- openhuman_core::agent::orchestration::open_delegation_checkpointer(&delegation_config).unwrap();
-
// A job's scheduling policy lives on the backend too.
let policy_config = config.clone();
tokio::task::spawn_blocking(move || {
@@ -114,7 +110,6 @@ async fn a_configured_backend_holds_cron_jobs_and_flow_catalog() {
"cron/schedule.db",
"flows/flows.db",
"flows/catalog.db",
- "graph_checkpoints.db",
] {
assert!(
!workspace.path().join(path).exists(),
@@ -140,7 +135,6 @@ async fn a_configured_backend_holds_cron_jobs_and_flow_catalog() {
1
);
assert_eq!(fallback_flow.name, "Fallback");
- openhuman_core::agent::orchestration::open_delegation_checkpointer(&config).unwrap();
}
/// The stores TinyFlows used to write (`jobs.db`, `flows.db`, `checkpoints.db`,