3D engine that AI agents drive
Record the coverage baseline of the balanced shard layout (issue #560)
Nguyen Xuan Anb7c756c264b2
diff --git a/changes/560.md b/changes/560.mdindex cbd06609..92602a00 100644--- a/changes/560.md+++ b/changes/560.md@@ -1 +1 @@-- Split the `Test` workflow into parallel jobs (audit, size and tool cost, six unit shards, coverage, package smokes) behind one final `test` job that branch protection keeps requiring, with a shared `.github/actions/setup`. Unit tests now run with Node's built-in coverage; `scripts/coverage-gate.mjs` merges the shard lcov files, writes the job summary and fails when line, branch or function coverage drops more than 0.5 points below `coverage-baseline.json`. `npm run test:isolated` left CI because `node --test` already runs each file in its own process. `publish.yml` calls `test.yml` before publishing and checks `npm view` afterwards. See `docs/ci.md` (issue #560).+- Split the `Test` workflow into parallel jobs (audit, size and tool cost, six unit shards balanced by the measured time of each test file (`test-timings.json`), coverage, package smokes) behind one final `test` job that branch protection keeps requiring, with a shared `.github/actions/setup`. Unit tests now run with Node's built-in coverage; `scripts/coverage-gate.mjs` merges the shard lcov files, writes the job summary and fails when line, branch or function coverage drops more than 0.5 points below `coverage-baseline.json`. `npm run test:isolated` left CI because `node --test` already runs each file in its own process. `publish.yml` calls `test.yml` before publishing and checks `npm view` afterwards. See `docs/ci.md` (issue #560).diff --git a/coverage-baseline.json b/coverage-baseline.jsonindex 4b41b640..e8cf18cf 100644--- a/coverage-baseline.json+++ b/coverage-baseline.json@@ -1 +1 @@-{"lines":93.78,"branches":79.67,"functions":93.78}+{"lines":93.79,"branches":80.03,"functions":93.36}