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
feat(ci): add storage schema check to CI lanes
Steven Enamakeld8faff37baad
diff --git a/.github/ci-paths-filter.yml b/.github/ci-paths-filter.ymlindex 6ec937af99..c4ca7b8e3d 100644--- a/.github/ci-paths-filter.yml+++ b/.github/ci-paths-filter.yml@@ -82,6 +82,7 @@ rust-core:- 'scripts/ci/check-openhuman-rust-layout.mjs'- 'scripts/ci/check-crate-chain.mjs'- 'scripts/ci/check-storage-owner.mjs'+ - 'scripts/ci/check-storage-schema.mjs'- 'scripts/ci/check-agent-runtime-boundary.mjs'- 'scripts/ci/agent-runtime-boundary-baseline.json'- 'scripts/ci/check-saas-ambient.mjs'@@ -147,6 +148,7 @@ scripts:- 'scripts/ci/check-ci-module-source.mjs'- 'scripts/ci/check-crate-chain.mjs'- 'scripts/ci/check-storage-owner.mjs'+ - 'scripts/ci/check-storage-schema.mjs'- 'scripts/ci/process-statics.json'- 'scripts/mock-api/**'- 'scripts/*.mjs'diff --git a/package.json b/package.jsonindex 951a4e743c..48fa8745d1 100644--- a/package.json+++ b/package.json@@ -7,8 +7,8 @@},"scripts": {"build": "pnpm --filter openhuman-app build",- "docs:generate": "node scripts/generate-architecture-docs.mjs",- "docs:check": "node scripts/generate-architecture-docs.mjs --check",+ "docs:generate": "node scripts/generate-architecture-docs.mjs && node scripts/ci/check-storage-schema.mjs --write",+ "docs:check": "node scripts/generate-architecture-docs.mjs --check && node scripts/ci/check-storage-schema.mjs","docs:test": "node --test scripts/__tests__/generate-architecture-docs.test.mjs scripts/__tests__/generate-embed-docs.test.mjs","test:scripts": "node --test scripts/__tests__/*.test.mjs scripts/mock-api/*.test.mjs scripts/mock-api/routes/__tests__/*.test.mjs","test:inventory": "node scripts/generate-test-inventory.mjs",@@ -58,7 +58,7 @@"rust:clippy": "cargo clippy -p openhuman -p openhuman-cli -p openhuman-tinyhumans -- -D warnings && pnpm --filter openhuman-app rust:clippy","rust:module-boundaries": "node scripts/ci/check-module-boundaries.mjs","rust:module-boundaries:complete": "node scripts/ci/check-module-boundaries.mjs --require-complete",- "rust:layout": "node scripts/ci/check-openhuman-rust-layout.mjs && node scripts/ci/check-crate-chain.mjs && node scripts/ci/check-storage-bypass.mjs && node scripts/ci/check-storage-owner.mjs",+ "rust:layout": "node scripts/ci/check-openhuman-rust-layout.mjs && node scripts/ci/check-crate-chain.mjs && node scripts/ci/check-storage-bypass.mjs && node scripts/ci/check-storage-owner.mjs && node scripts/ci/check-storage-schema.mjs","ci:module-source": "node scripts/ci/check-ci-module-source.mjs","rust:process-statics": "node scripts/ci/check-process-statics.mjs","rust:ignored-tests": "node scripts/ci/check-ignored-tests.mjs",@@ -66,6 +66,7 @@"agent:runtime-boundary": "node scripts/ci/check-agent-runtime-boundary.mjs","storage:bypass": "node scripts/ci/check-storage-bypass.mjs","storage:owner": "node scripts/ci/check-storage-owner.mjs",+ "storage:schema": "node scripts/ci/check-storage-schema.mjs","saas:ambient": "node scripts/ci/check-saas-ambient.mjs","typecheck": "pnpm --filter openhuman-app compile","tauri:ios:init": "bash scripts/ios-init.sh",diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjsindex 2b5f5c9ef9..eb53c3914a 100644--- a/scripts/__tests__/self-hosted-lanes.test.mjs+++ b/scripts/__tests__/self-hosted-lanes.test.mjs@@ -247,6 +247,7 @@ test("the lane plan retains the shared CI checks", () => {"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",+ "node scripts/ci/check-storage-schema.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.mdindex 3f533057f7..31266c9167 100644--- a/scripts/ci/README.md+++ b/scripts/ci/README.md@@ -37,7 +37,7 @@ 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`, `check-crate-chain.mjs` and-`check-storage-owner.mjs` run through `pnpm rust:layout`. The module-boundary audit has the two pnpm commands above,+`check-storage-owner.mjs` and `check-storage-schema.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 gatesare invoked directly, e.g.`node scripts/ci/check-feature-forwarding.mjs` ordiff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjsindex 77b946c847..735cbc01bf 100644--- a/scripts/ci/self-hosted/lanes-plan.mjs+++ b/scripts/ci/self-hosted/lanes-plan.mjs@@ -202,6 +202,13 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {when: rust,run: "node scripts/ci/check-storage-owner.mjs",},+ {+ // The composed storage schema: names, casing, single ownership and+ // the generated docs/storage-schema.md.+ name: "storage-schema",+ when: rust,+ run: "node scripts/ci/check-storage-schema.mjs",+ },{name: "agent-runtime-boundary",when: core,