Repository navigation
ci: parallelise checks and speed up the slowest tests - #80
Merged
Merged
Conversation
nixuuu
added a commit
that referenced
this pull request
Nov 4, 2026
Two integration tests failed intermittently on the new parallel CI shards (#80). - **agent-skills** ("folder/ZIP boundaries reject … without writes"): a second worker's delayed registration bumped the environment revision (3 → 4) after the test took its baseline. Reproduced deterministically with controlled ordering. Setup now awaits every worker's registration and current report before the baseline. - **interaction-reconnect** ("an answer lost at the send boundary …"): the test's snapshot read could straddle the interaction transaction and see the pending request before its timeline item. Reproduced under load. The existing wait now requires the matching timeline item. No production changes, no sleeps, retries or weakened assertions. Each file passed 30 runs in a row (270 + 120 tests); full suite 943 pass / 152 skip / 0 fail. Fixes: #63 Fixes: #67
nixuuu
added a commit
that referenced
this pull request
Nov 4, 2026
Two integration tests failed intermittently on the parallel CI shards; each failure cancelled a nightly (the release's `checks` job failed → `stop-builds`). - **grpc-js interop over TLS** (`interop.test.ts:165`, missing `"clientEnd"`): the test read the peer's stdout after the gRPC stream had closed, so the last line could still be in flight. It now awaits the peer's stdout event. - **bot platform tools** (`bot-platform-tools.test.ts:196`, received `[]`): the idle wait could finish before the initial turn had started. It now follows the returned turn id until it completes. Both reproduced under load; test-only changes, no sleeps, retries or weaker assertions. Each file passed 30 loaded runs in a row (120 + 210 tests); full suite 1,070 pass / 153 skip / 0 fail. Related: #80
This was referenced Nov 13, 2026
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.
PR CI took ~6–7 min of runner time (tests alone 315–335 s), plus queueing. This splits it up and speeds up the test fixtures without weakening assertions.
Tests
check:tmpowns one PostgreSQL server per test process with a migrated read-only template; every fixture gets its own database (gateways clone the template; migration tests still run the real chain from an empty database). Previously every fixture started a container and replayed all migrations.PR CI (
ci.yml)Typecheck, tests, builds(release.yml contract) and verifies that the shards covered every test file exactly once.Release (
release.yml)Local: shards 48/56/64/57 s, 938 pass / 153 skip / 0 fail, all 174 files exactly once; install, gen:check, typecheck, lint, format:check, web build, actionlint/shellcheck. Hosted runners and macOS packaging are verified by this PR's own run and the next nightly.