Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

ci: graduation shards build their own snapshot; regenerate structural suites

garrytan942149d8c599
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 2ea0733b67..79742d9104 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -506,20 +506,8 @@ jobs:
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.4.4
- - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
- with:
- path: ~/.bun/install/cache
- key: bun-cache-${{ runner.os }}-${{ hashFiles('bun.lock') }}
- restore-keys: bun-cache-${{ runner.os }}-
- # PGLite snapshot (restore-only; test.yml's serial-tests job saves).
- # run-e2e.sh builds it when absent/stale — this just avoids paying the
- # build once per job. KEY: byte-identical with the homes in test.yml.
- - uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
- with:
- path: |
- test/fixtures/pglite-snapshot.tar
- test/fixtures/pglite-snapshot.version
- key: pglite-snapshot-${{ runner.os }}-${{ hashFiles('src/core/*.ts', 'src/core/audit/redact-connection-info.ts', 'src/core/engine-sql/bootstrap.ts', 'src/core/schema-migrations/**', 'src/core/ai/defaults.ts', 'src/core/company-brain/receipt-schema.ts', 'src/core/entities/resolve.ts', 'src/core/facts/withdrawal-schema.ts', 'src/core/facts/relink-schema.ts', 'src/core/google/*.ts', 'src/core/grants/*.ts', 'src/core/minions/tools/brain-allowlist.ts', 'src/core/ops/contract.ts', 'src/core/ops/execution-prerequisites.ts', 'src/core/page-body/page-shape.ts', 'src/core/page-body/schema.ts', 'src/core/page-state/*schema.ts', 'src/core/persistence/*.ts', 'src/core/schema-pack/link-inference.ts', 'src/core/schema-pack/redos-guard.ts', 'src/core/search/alias-normalize.ts', 'src/core/search/private-visibility.ts', 'src/core/search/projection-statistics.ts', 'src/core/search/relational-intent.ts', 'src/core/shared-skills/*schema*.ts', 'src/core/ai/decide/schema.ts', 'test/helpers/legacy-embedding-config.ts', 'scripts/build-pglite-snapshot.ts', 'src/core/facts/purge-schema.ts', 'src/core/facts/insert-guard-schema.ts', 'src/core/facts/fts-index.ts', 'src/core/eligibility/generation-schema.ts', 'src/core/trust/schema.ts', 'src/core/trust/tier.ts', 'src/core/trust/allow-rules.ts', 'src/core/write-gate-schema.ts', 'src/core/questions/schema.ts', 'src/core/questions/identity.ts', 'src/core/questions/auto-think-migration.ts', 'src/core/loops/loops-schema.ts', 'src/core/postgres-engine/schema-lock-timeout.ts', 'src/core/postgres-engine/read-write-transactions.ts', 'src/core/belief/schema.ts', 'src/core/fence-repair/reasons.ts', 'src/core/fence-repair/measured.ts', 'src/core/ai/errors.ts') }}
+ # No cache restores: run-e2e.sh builds the PGLite snapshot itself in
+ # seconds, and the bounded install covers a cold Bun cache.
- name: Install dependencies (bounded, retried once)
timeout-minutes: 8
run: bun scripts/ci-bun-install.ts --frozen-lockfile
diff --git a/scripts/structural-suites.tsv b/scripts/structural-suites.tsv
index c691eed4bc..ec5134fff5 100644
--- a/scripts/structural-suites.tsv
+++ b/scripts/structural-suites.tsv
@@ -260,7 +260,7 @@ test/openclaw-assemble-node-loadable.test.ts (file-level) 4 readFileSync
test/openclaw-plugin-manifest.test.ts bundled-skill reference closure (nothing bundled points at a non-bundled skill) 1 readFileSync
test/openclaw-plugin-manifest.test.ts plugin membership curation (skills = plugin ∪ exclusions, disjoint) 9 readFileSync
test/openclaw-plugin-manifest.test.ts root OpenClaw plugin manifest 2 readFileSync
-test/paid-lanes-switch-5903.test.ts (file-level) 11 readFileSync
+test/paid-lanes-switch-5903.test.ts #5903 e2e-status accepts a skipped tier2 only under GBRAIN_PAID_LANES=0 9 readFileSync
test/persistence-git-subdir-origin.test.ts (file-level) 6 readFileSync
test/persistence-request-indexes.test.ts (file-level) 4 readFileSync
test/persistence-sync-options.serial.test.ts (file-level) 1 readFileSync
@@ -318,7 +318,8 @@ test/scripts/e2e-matrix.test.ts frozen E2E matrix 9 readFileSync
test/scripts/e2e-provider-key-notice.test.ts scripts/e2e-provider-key-notice.sh 3 readFileSync
test/scripts/e2e-runner.test.ts second 5 readFileSync
test/scripts/e2e-runner.test.ts sequential E2E runner (GITHUB_ACTIONS=${githubActions}) 9 readFileSync
-test/scripts/e2e-wiring.test.ts (file-level) 12 readFileSync
+test/scripts/e2e-shard-budget.test.ts E2E shard-time budget 3 readFileSync
+test/scripts/e2e-wiring.test.ts (file-level) 14 readFileSync
test/scripts/fix-wave-gate.test.ts fix-wave gate workflow 3 readFileSync
test/scripts/full-ci-workflow.test.ts full CI on pull requests 4 readFileSync
test/scripts/full-ci-workflow.test.ts master-push reuse of a passed full-suite run 2 readFileSync
@@ -337,6 +338,7 @@ test/scripts/postgres-lane-coverage.test.ts check-postgres-lane-coverage.ts 9 re
test/scripts/postgres-unit-arms.test.ts postgres-unit-arms list 13 readFileSync
test/scripts/promote-stable.test.ts promote-stable.yml 2 readFileSync
test/scripts/regen-all.test.ts regen:all 5 readFileSync
+test/scripts/require-executed-tests.test.ts require-executed-tests 7 readFileSync
test/scripts/run-verify-parallel.test.ts guard registration ⇒ execution coverage 1 readFileSync
test/scripts/run-verify-parallel.test.ts run-verify-parallel.sh — no-timeout-binary fallback rc capture (regression) 7 readFileSync
test/scripts/serial-files.test.ts scripts/serial-files.tsv (serial lane manifest) 5 readFileSync