Repository navigation
Conversation
After the serial gate, the checks job runs the same files with `bun test --parallel` (continue-on-error) and compares the two JUnit reports file by file, so the parallel runner can be promoted once it has matched the serial one.
Three entries of about seven jobs each would take 21 of the free plan's 20 concurrent jobs.
…t-tests # Conflicts: # tests/TESTING.md
This was referenced Nov 22, 2026
…it-tests # Conflicts: # tests/TESTING.md # tests/unit/ci/ci-workflow.test.ts
Contributor
Author
|
Folded into #186, which makes the parallel unit tests the gate. Unit tests run with --parallel, the clock-budget files serially after; UNIT_SERIAL=1 falls back. The compare script moves to the nightly unit-runs job. The shadow step matched the serial run on 6 of 6 runs here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The parallel unit-test shadow run. This PR used to carry more: its merge-queue runbook settings, CPU logging and shard notes have landed through #141 and #175. It now has main merged in, and the diff contains only:
Unit testsgate, the checks job runsbun test --parallel --path-ignore-patterns 'tests/unit/stress/**'withcontinue-on-error.scripts/compare-unit-runs.tscompares the two JUnit reports file by file (passed, failed and skipped counts). It warns on each file that differs and fails only the shadow step.tests/unit/ci/compare-unit-runs.test.ts, plus aci-workflow.test.tscase pinning that the serial step gates and the parallel one does not.Shadow results so far: matched on 6 of 6 CI runs. Each had 2,079 passed in both runs, about 57 s serial against 26 s parallel. Promoting it to the gate needs three things: 5 identical runs, the owner's sign-off, and the timing-budget unit tests moved to a serial pass first.
The A/B below drove #175, which packs shards by duration.
A/B (sharded CI, 3 shards + perf)
Baselines are 44999283346 and 45000072391. The rest are this branch's runs:
Times are job execution; "queue" is time spent waiting for a free runner.
Against the targets (this branch's 6 runs):
--listcount unchangedCPU per shard (runs logging it):
What this shows:
desktop).Test plan
bun test tests/unit/cipasses (86 tests), including the compare script's unit tests and the shadow step's shape.--listcount is unchanged (575 tests in 49 files).🤖 Generated with Claude Code