Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs: the backend matrix runs as two weighted shards

garrytanbf1648cf0645
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0098aad577..07a47b7c71 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -102,7 +102,7 @@ Before: the three baseline runs of the master tree on 2026-10-04 (`docs/test-aud
#### Faster and cheaper pull-request CI
-- E2E selection is one rule: doc-only changes select nothing, everything else selects the whole corpus, read from the pull request files API on a shallow checkout and failing closed on a truncated list. Up to eight Selected E2E workers on 2 vCPU; the E2E backend matrix moves to its own 4 vCPU job and stops running a second time in Selected E2E; serial tests on 4 vCPU; the longmemeval slow file joins the unit shards; unit shards stay on 4 vCPU (2 vCPU raised the shard mean from 542 s to 608 s).
+- E2E selection is one rule: doc-only changes select nothing, everything else selects the whole corpus, read from the pull request files API on a shallow checkout and failing closed on a truncated list. Up to eight Selected E2E workers on 2 vCPU; the E2E backend matrix moves to its own two 4 vCPU shards and stops running a second time in Selected E2E; serial tests on 4 vCPU; the longmemeval slow file joins the unit shards; unit shards stay on 4 vCPU (2 vCPU raised the shard mean from 542 s to 608 s).
- 92 serial files that pass the isolation lint and touch no process-wide state rejoin the parallel lane; `scripts/serial-files.tsv` lists the remaining serial files with a class and reason.
- Shorter test waits through production-default seams (connector fixture, maintenance publish wait, effect renewal interval), and `test/helpers/brain-template.ts` clones initialized disk brains instead of replaying migrations.
- Shard weights re-mined from this branch's green run; `check:weight-coverage` fails on stale entries and warns on unweighted shares.
diff --git a/docs/TESTING.md b/docs/TESTING.md
index a9b099ec6a..1f918be685 100644
--- a/docs/TESTING.md
+++ b/docs/TESTING.md
@@ -494,7 +494,7 @@ on first use through `GBRAIN_PGBOUNCER_DIRECT_URL`
(`scripts/lib/ensure-e2e-database.ts`). `ci:ubicloud` routes each slot's own
pooler at the slot database, `ci:local` gives each shard a
`gbrain_pooled_<N>_test` database behind its single pooler, and `e2e.yml`'s
-`tier1-backend-matrix` job runs the list against a `pgbouncer` service; it is
+`tier1-backend-matrix` job runs the list in two weighted shards (`SHARD=N/2`) against a `pgbouncer` service; it is
the PR owner of the listed `test/e2e/` files, which Selected E2E excludes. An entry may carry
`<TAB>pooled-timeout=<seconds>` when its pooled pass needs more than the
per-file cap; `!path<TAB>reason` records a parity file deliberately left out.