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(json_rpc_e2e): clone config before moving into scoped task
Steven Enamakel1cebf7c2364c
diff --git a/evidence/issue75/native-host-e2e-scoped-calls-fixed.after b/evidence/issue75/native-host-e2e-scoped-calls-fixed.afternew file mode 100644index 0000000000..8fe71dc48e--- /dev/null+++ b/evidence/issue75/native-host-e2e-scoped-calls-fixed.after@@ -0,0 +1 @@+61d7991f773d0bbf96dc978737d42a8e7c666ec8diff --git a/evidence/issue75/native-host-e2e-scoped-calls-fixed.before b/evidence/issue75/native-host-e2e-scoped-calls-fixed.beforenew file mode 100644index 0000000000..8fe71dc48e--- /dev/null+++ b/evidence/issue75/native-host-e2e-scoped-calls-fixed.before@@ -0,0 +1 @@+61d7991f773d0bbf96dc978737d42a8e7c666ec8diff --git a/evidence/issue75/native-host-e2e-scoped-calls-fixed.exit b/evidence/issue75/native-host-e2e-scoped-calls-fixed.exitnew file mode 100644index 0000000000..573541ac97--- /dev/null+++ b/evidence/issue75/native-host-e2e-scoped-calls-fixed.exit@@ -0,0 +1 @@+0diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rsindex e7589fc21d..8ef491a579 100644--- a/tests/json_rpc_e2e.rs+++ b/tests/json_rpc_e2e.rs@@ -3178,10 +3178,11 @@ async fn json_rpc_cron_manual_worker_survives_caller_cancel_on_published_tinyflolet duplicate_context = Arc::clone(&default_context);let duplicate_job_id = first_job.id.clone();+ let duplicate_config = config.clone();let duplicate = CoreContext::scope(Arc::clone(&duplicate_context), async move {openhuman_core::cron::ops::run_job_now(&DispatchCtx::new(Arc::clone(&duplicate_context)),- &config,+ &duplicate_config,&duplicate_job_id,).await