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
docs(tests): update storage driver docs to match current API
Steven Enamakelcab54fb09d9c
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjsindex 68255da9f2..7ac3eaeb22 100644--- a/scripts/ci/self-hosted/lanes-plan.mjs+++ b/scripts/ci/self-hosted/lanes-plan.mjs@@ -69,9 +69,9 @@ export const HOSTED_GROUPS = [const CORE_PRODUCT = '"$(bash scripts/ci/product-features.sh --core)"';-// The storage-drivers lane: the drivers it turns on, the root e2e targets that-// run once per driver (tests/support/storage_drivers.rs), and the lib-test-// filters of the domains that sit on the storage ports.+// The storage-drivers lane: the driver it turns on, the root e2e targets that+// exercise the memory/SQLite host matrix, and the lib-test filters of the+// domains that sit on the storage ports.const STORAGE_DRIVERS = "storage-sqlite";const STORAGE_E2E_TARGETS = ["storage_approvals_e2e",diff --git a/tests/support/storage_drivers.rs b/tests/support/storage_drivers.rsindex 3024df153a..38d688694a 100644--- a/tests/support/storage_drivers.rs+++ b/tests/support/storage_drivers.rs@@ -14,10 +14,9 @@//! time (they share [`Case`]'s lock) and the slot is emptied when a case ends,//! pass or fail.//!-//! Include with `#[macro_use] mod storage_drivers;` and declare the body with-//! `driver_cases!(sync body)` (or `async body`), where `body` is-//! `fn(Case)` (or `async fn(Case)`); `driver_cases!(url body)` takes a-//! `fn(UrlCase)` for suites that spawn `openhuman-core` against the URL.+//! Include with `#[macro_use] mod storage_drivers;` and declare in-process+//! bodies with `driver_cases!(sync body)` (or `async body`). Suites that spawn+//! `openhuman-core` can call `run_url` for the driver they need.#![allow(dead_code)]@@ -137,7 +136,7 @@ pub struct UrlCase {pub data_dir: tempfile::TempDir,}-/// Runs a body that only needs the driver's URL (`driver_cases!(url body)`).+/// Runs a body that only needs the driver's URL.pub fn run_url(driver: Driver, body: fn(UrlCase)) {// Same lock as the in-process cases: the spawned cores and this process// share the process-wide test setup.@@ -192,9 +191,6 @@ macro_rules! driver_cases {(async $($body:ident),+ $(,)?) => {driver_cases!(@each run_async $($body),+);};- (url $($body:ident),+ $(,)?) => {- driver_cases!(@each run_url $($body),+);- };(@each $runner:ident $($body:ident),+) => {mod memory {$(