Skip to content

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

ci: wire storage-owner check into lanes and path filters

Steven Enamakel9c6ca19cbbc3
diff --git a/.github/ci-paths-filter.yml b/.github/ci-paths-filter.yml
index e47788e8ca..6ec937af99 100644
--- a/.github/ci-paths-filter.yml
+++ b/.github/ci-paths-filter.yml
@@ -81,6 +81,7 @@ rust-core:
- 'scripts/ci/coverage-presence-allowlist.txt'
- 'scripts/ci/check-openhuman-rust-layout.mjs'
- 'scripts/ci/check-crate-chain.mjs'
+ - 'scripts/ci/check-storage-owner.mjs'
- 'scripts/ci/check-agent-runtime-boundary.mjs'
- 'scripts/ci/agent-runtime-boundary-baseline.json'
- 'scripts/ci/check-saas-ambient.mjs'
@@ -145,6 +146,7 @@ scripts:
- 'scripts/ci/check-process-statics.mjs'
- 'scripts/ci/check-ci-module-source.mjs'
- 'scripts/ci/check-crate-chain.mjs'
+ - 'scripts/ci/check-storage-owner.mjs'
- 'scripts/ci/process-statics.json'
- 'scripts/mock-api/**'
- 'scripts/*.mjs'
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjs
index 7f6f7895d1..2b5f5c9ef9 100644
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@ -246,6 +246,7 @@ test("the lane plan retains the shared CI checks", () => {
const shared = [
"cargo fmt --manifest-path Cargo.toml --package openhuman --package openhuman-cli --package openhuman-embed --package openhuman-modules-linked --package openhuman-rpc --package openhuman-tinyhumans --package openhuman-tui -- --check",
"node scripts/ci/check-openhuman-rust-layout.mjs",
+ "node scripts/ci/check-storage-owner.mjs",
"pnpm agent:runtime-boundary",
"pnpm rust:ignored-tests",
"bash scripts/check-linux-tls-dependencies.sh",
diff --git a/scripts/ci/README.md b/scripts/ci/README.md
index d574e3f6a1..3f533057f7 100644
--- a/scripts/ci/README.md
+++ b/scripts/ci/README.md
@@ -36,8 +36,8 @@ not a completed migration. `pnpm rust:module-boundaries:complete` additionally
rejects all exceptions and pending contracts. Cargo failure is an audit failure.
Generated probes and lockfiles stay in the checkout's `target/module-boundaries/`.
-`check-openhuman-rust-layout.mjs` and `check-crate-chain.mjs` run through
-`pnpm rust:layout`. The module-boundary audit has the two pnpm commands above,
+`check-openhuman-rust-layout.mjs`, `check-crate-chain.mjs` and
+`check-storage-owner.mjs` run through `pnpm rust:layout`. The module-boundary audit has the two pnpm commands above,
and the ambient-access ratchet runs through `pnpm saas:ambient`. Other gates
are invoked directly, e.g.
`node scripts/ci/check-feature-forwarding.mjs` or
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjs
index 8d9d4b5e98..ccfb388ed6 100644
--- a/scripts/ci/self-hosted/lanes-plan.mjs
+++ b/scripts/ci/self-hosted/lanes-plan.mjs
@@ -191,6 +191,13 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
when: core,
run: "node scripts/ci/check-openhuman-rust-layout.mjs",
},
+ {
+ // tinystoragedrivers owns every storage backend; reads cargo
+ // metadata for the root workspace and the app crate.
+ name: "storage-owner",
+ when: rust,
+ run: "node scripts/ci/check-storage-owner.mjs",
+ },
{
name: "agent-runtime-boundary",
when: core,