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
ci(storage): run storage e2e tests without fail-fast
Steven Enamakel794510ff8737
diff --git a/.github/ci-paths-filter.yml b/.github/ci-paths-filter.ymlindex 1adf874722..5da78fa8e7 100644--- a/.github/ci-paths-filter.yml+++ b/.github/ci-paths-filter.yml@@ -208,6 +208,9 @@ storage:- '.github/workflows/storage-mongodb.yml'- '.github/ci-paths-filter.yml'- 'scripts/ci/self-hosted/**'+ - 'scripts/ci/checkout-submodules.sh'+ - 'scripts/ci-cancel-aware.sh'+ - 'build.rs'- 'crates/openhuman-core/src/storage/**'- 'crates/openhuman-core/src/cron/**'- 'crates/openhuman-core/src/flows/**'diff --git a/.github/workflows/storage-mongodb.yml b/.github/workflows/storage-mongodb.ymlindex ad02c8217d..3da00800b5 100644--- a/.github/workflows/storage-mongodb.yml+++ b/.github/workflows/storage-mongodb.yml@@ -150,7 +150,7 @@ jobs:-e RUST_MIN_STACK=16777216 \"$CI_IMAGE" bash -euo pipefail -c 'git config --global --add safe.directory "*"- cargo test -p openhuman-cli --features storage-mongodb \+ cargo test --no-fail-fast -p openhuman-cli --features storage-mongodb \--test storage_approvals_e2e \--test storage_domains_e2e \--test storage_flows_e2e \@@ -159,7 +159,7 @@ jobs:--test storage_agent_scopes_e2e \--test storage_delegation_e2e \--test cli_storage_url_e2e- cargo test -p openhuman-rpc --features session-store,storage-mongodb --lib -- session_store::+ cargo test --no-fail-fast -p openhuman-rpc --features session-store,storage-mongodb --lib -- session_store::'- name: Fix ownership of the build outputdiff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjsindex c704424431..8339f4bf03 100644--- a/scripts/__tests__/self-hosted-lanes.test.mjs+++ b/scripts/__tests__/self-hosted-lanes.test.mjs@@ -285,6 +285,15 @@ test("the storage area arms only the storage-drivers lane, with the sqlite and f.sort();const inLane = [...e2e.matchAll(/--test (\S+)/g)].map((m) => m[1]).sort();assert.deepEqual(inLane, onDisk, profile);+ // And in the MongoDB workflow, or a target's `mongodb` case never runs.+ const mongo = fs.readFileSync(+ path.join(repoRoot, ".github/workflows/storage-mongodb.yml"),+ "utf8",+ );+ const inMongo = [...mongo.matchAll(/--test (\S+)/g)]+ .map((m) => m[1])+ .sort();+ assert.deepEqual(inMongo, onDisk, "storage-mongodb.yml");if (profile === "hosted") {assert.deepEqual(hostedMatrix(plan).map((g) => g.group),diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjsindex 02743e0c8e..c7b80638ab 100644--- a/scripts/ci/self-hosted/lanes-plan.mjs+++ b/scripts/ci/self-hosted/lanes-plan.mjs@@ -515,7 +515,7 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {name: "storage-e2e",when: areas.storage,run:- `cargo test -p openhuman-cli --features ${STORAGE_DRIVERS}` ++ `cargo test --no-fail-fast -p openhuman-cli --features ${STORAGE_DRIVERS}` +STORAGE_E2E_TARGETS.map((t) => ` --test ${t}`).join(""),},{