Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

changelog: unreleased entry for 28 unit shards; TESTING.md lane count

garrytan3da8e6976083
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7a1db05f94..279f4617be 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,19 @@ credits are retained; no result has been reassigned to another provider. Origina
identifiers and attribution are available in the pre-removal Git revision
`6040075c6cb95be5881cc2e1b76ef7d71f4e5d29` (retained on 2026-09-23).
+## [Unreleased]
+
+**The unit lane now runs 28 shards instead of 22, on shard weights refreshed from the Oct 30 nightly. With the fresh weights, every one of 22 shards would be planned at 624.4 s against the 600 s per-shard budget; at 28 shards the largest is 490.6 s.**
+
+`UNIT_SHARDS` is 28. `test.yml`'s unit matrix and `e2e.yml`'s `coverage-full-unit` matrix follow it, and `test/scripts/unit-shard-budget.test.ts` pins both, still two shards per runner. The unit, serial and E2E weight maps and their metadata come from the Oct 30 nightly mining run, and weight coverage is clean: 4366 unit, 446 serial and 832 E2E files, with no dead entries.
+
+### Itemized changes
+
+- `scripts/sharding.ts`: `UNIT_SHARDS = 28`.
+- `.github/workflows/test.yml`, `.github/workflows/e2e.yml`: the unit and coverage-full-unit matrices and their `--manifest-expect` lists.
+- `scripts/test-weights.json`, `scripts/serial-weights.json`, `scripts/e2e-weights.json` and their `.metadata.json`: the Oct 30 refresh.
+- `docs/TESTING.md`: the shard counts.
+
## [0.60.518.0] - 2026-10-30
**`gbrain repair secret-spans --source <id> --slug <slug>...` replaces the credentials the secret scanner finds in the database copies of the pages you name with `<REDACTED:rule>` markers and changes nothing else, held pages included (GST-327).**
diff --git a/docs/TESTING.md b/docs/TESTING.md
index 3fc57121a2..fd7e261a67 100644
--- a/docs/TESTING.md
+++ b/docs/TESTING.md
@@ -1301,7 +1301,7 @@ normalizes `COVERAGE_DIR` to an absolute path before moving `HOME`, and
coverage lane). Both names avoid the `GBRAIN_` prefix so the env scrub keeps
them.
-**Two corpora.** `prCorpus` is the 24 coverage-collecting lanes in
+**Two corpora.** `prCorpus` is the 34 coverage-collecting lanes in
`test.yml` (28 unit shards, 4 serial partitions, `slow-entity-resolve-perf` and
`slow-brainbench-e2e`), identical on every PR; the gates run against it.
`fullCorpus` is the nightly (or manual `full_corpus=true`) set in `e2e.yml`: