Skip to content

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

Merge remote-tracking branch 'upstream/main' into ci-ex63-measure

Steven Enamakel5e4ba1b9c386
diff --cc crates/openhuman-core/src/channels/runtime/dispatch/helpers_tests.rs
index 0d099c9cc5,c81d8aee21..3d4f739bb4
--- a/crates/openhuman-core/src/channels/runtime/dispatch/helpers_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/helpers_tests.rs
@@@ -107,12 -107,16 +107,18 @@@ async fn typing_task_runs_under_the_han
let channel = Arc::new(ProbeTyping(std::sync::Mutex::new(Some(sender))));
let cancellation = tokio_util::sync::CancellationToken::new();
// The caller's own scope is Ravi's; the typing task was handed Asha's.
+ // The scope intentionally yields the typing task handle; it is awaited below.
+ #[allow(clippy::async_yields_async)]
let waiter = CoreContext::scope(ravi, async {
- spawn_typing_task(&asha, channel, "recipient".into(), cancellation.clone())
+ Some(spawn_typing_task(
+ &asha,
+ channel,
+ "recipient".into(),
+ cancellation.clone(),
+ ))
})
- .await;
+ .await
+ .expect("typing task was started");
let seen = tokio::time::timeout(std::time::Duration::from_secs(2), receiver)
.await
.unwrap()
diff --cc crates/openhuman-core/src/modules/schemas_tests.rs
index 6da5b1b4ae,842f2419cb..c7e40eebc0
--- a/crates/openhuman-core/src/modules/schemas_tests.rs
+++ b/crates/openhuman-core/src/modules/schemas_tests.rs
@@@ -79,9 -79,10 +79,10 @@@ async fn forgetting_sites_reports_how_m
for site in ["shop.test", "books.test"] {
std::fs::write(sites.join(format!("{site}.json")), b"{}").unwrap();
}
- let ctx = CoreContext::for_test_with_config(DomainSet::full(), config.clone());
+ let workspace = config.workspace_dir.clone();
+ let ctx = CoreContext::for_test_with_config(DomainSet::full(), config);
- let (one, every) = CoreContext::scope(ctx.clone(), async {
+ let (one, every, left) = CoreContext::scope(ctx.clone(), async {
let mut one = Map::new();
one.insert(
"site".to_string(),
diff --cc docs/ci-self-hosted.md
index ef4156938b,6cf23578d3..de9c925f8b
--- a/docs/ci-self-hosted.md
+++ b/docs/ci-self-hosted.md
@@@ -213,7 -198,8 +213,7 @@@ CI_AREA_DOCS=true node scripts/ci/self-
Publish and smoke-test the image first. Roll the pinned rootfs into idle slots
without interrupting active jobs, then change `guest-image.txt`. Check the metadata
inside a new guest rather than trusting only the supervisor configuration. The
- current image contains Rust 1.99.1, mold 2.40.4, bubblewrap 0.13.1, Tinymold 0.3.0 and nextest 0.9.148.
-current image ships Rust 1.99.1 (the host's `RUST_TOOLCHAINS` also installs the
-pinned 1.96.1), bubblewrap 0.13.1, mold 2.40.4, Tinymold 0.3.0 and nextest 0.9.148.
++current image ships Rust 1.99.1 (the pinned toolchain), mold 2.40.4, bubblewrap 0.13.1, Tinymold 0.3.0 and nextest 0.9.148.
Private workflow routing runs from the trusted base branch. A PR run can therefore
exercise the previous workflow; green pre-merge CI alone does not prove a workflow