Skip to content

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

chore: files changed .github/workflows/ci-lanes.yml,scripts/__tests__/self-hosted-lanes.test.mjs,scr

Steven Enamakeld687b4e5dcb5
diff --git a/.github/workflows/ci-lanes.yml b/.github/workflows/ci-lanes.yml
index 1fbfa205b8..59367cf5ea 100644
--- a/.github/workflows/ci-lanes.yml
+++ b/.github/workflows/ci-lanes.yml
@@ -140,10 +140,6 @@ jobs:
if: ${{ !cancelled() && contains(fromJSON(steps.lanes.outputs.lanes || '[]'), 'tauri') }}
run: node scripts/ci/self-hosted/lanes.mjs --wait tauri
- - name: "Lane: storage drivers (sqlite + file)"
- if: ${{ !cancelled() && contains(fromJSON(steps.lanes.outputs.lanes || '[]'), 'storage-drivers') }}
- run: node scripts/ci/self-hosted/lanes.mjs --wait storage-drivers
-
- name: "Lane: install.ps1 (Pester)"
if: ${{ !cancelled() && contains(fromJSON(steps.lanes.outputs.lanes || '[]'), 'pester') }}
run: node scripts/ci/self-hosted/lanes.mjs --wait pester
@@ -398,10 +394,6 @@ jobs:
if: ${{ !cancelled() && contains(fromJSON(steps.lanes.outputs.lanes || '[]'), 'tauri') }}
run: node scripts/ci/self-hosted/lanes.mjs --wait tauri
- - name: "Lane: storage drivers (sqlite + file)"
- if: ${{ !cancelled() && contains(fromJSON(steps.lanes.outputs.lanes || '[]'), 'storage-drivers') }}
- run: node scripts/ci/self-hosted/lanes.mjs --wait storage-drivers
-
- name: "Lane: install.ps1 (Pester)"
if: ${{ !cancelled() && contains(fromJSON(steps.lanes.outputs.lanes || '[]'), 'pester') }}
run: node scripts/ci/self-hosted/lanes.mjs --wait pester
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjs
index 727db116e5..45b9fe2a69 100644
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@ -294,38 +294,6 @@ test("the storage area arms the core coverage lane, which covers every storage d
);
}
}
- // The coverage suites run the per-driver storage targets (memory, sqlite and
- // file cases) and the session-store driver tests in their one build.
- const coverage = fs.readFileSync(
- path.join(repoRoot, "scripts/ci/rust-coverage.sh"),
- "utf8",
- );
- assert.match(
- coverage,
- /^CORE_PRODUCT_FEATURES="\$\(bash scripts\/ci\/product-features\.sh --core\),storage-file"$/m,
- );
- assert.match(
- coverage,
- /-p openhuman-rpc --all-targets \\\n\s+--features storage-sqlite,storage-file/,
- );
- // MongoDB runs the shared storage targets that support its feature set.
- const onDisk = fs
- .readdirSync(path.join(repoRoot, "tests"))
- .filter((f) => /^(storage_.*_e2e|cli_storage_url_e2e)\.rs$/.test(f))
- .map((f) => f.replace(/\.rs$/, ""))
- .sort();
- 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.filter((target) => target !== "storage_default_import_e2e"),
- "storage-mongodb.yml",
- );
// Without the area (or a core change) the coverage lane stays off.
const off = buildPlan({ profile: "hosted", areas: NONE });
assert.equal(off.lanes.find((l) => l.name === "rust-cov").active, false);
diff --git a/scripts/ci/rust-coverage.sh b/scripts/ci/rust-coverage.sh
index d3e21014ad..7b6ede0f32 100755
--- a/scripts/ci/rust-coverage.sh
+++ b/scripts/ci/rust-coverage.sh
@@ -8,12 +8,7 @@ set -euo pipefail
OUT="${OUT:-lcov-core.info}"
PRODUCT_FEATURES="$(bash scripts/ci/product-features.sh)"
-# Coverage adds `storage-file` to the product set. It is a no-op gate in the
-# core (the sqlite and file drivers are always compiled in) that arms the file
-# cases of the per-driver storage e2e targets, so these suites cover the
-# memory, sqlite and file drivers in the same build instead of a second core
-# compile of their own.
-CORE_PRODUCT_FEATURES="$(bash scripts/ci/product-features.sh --core),storage-file"
+CORE_PRODUCT_FEATURES="$(bash scripts/ci/product-features.sh --core)"
# Sandboxed acting-tool tests deliberately do not forward RUSTUP_HOME. The
# container installs Rust outside HOME, so its rustup proxy otherwise tries
@@ -307,7 +302,7 @@ else
suite "openhuman-embed" llvm_cov_embed --no-report --no-fail-fast -p openhuman-embed --all-targets
fi
suite "openhuman-rpc" llvm_cov_package --no-report --no-fail-fast -p openhuman-rpc --all-targets \
- --features storage-sqlite,storage-file
+ --features storage-sqlite
if [ "${OH_COV_RUNNER:-cargo}" = "nextest" ]; then
suite "openhuman-tinyhumans" llvm_cov --no-report --no-fail-fast \
"${UNIFIED_PRODUCT_ARGS[@]}" -E "${FILTER_TINYHUMANS}"