Skip to content

Release 1.6.9: a faster test suite and a scratch folder per agent - #35

Merged
noderaven merged 3 commits into
mainfrom
release-1.6.9
Oct 17, 2026
Merged

noderaven merged 3 commits into
mainfrom
release-1.6.9

Conversation

@noderaven

Copy link
Copy Markdown
Owner

Release 1.6.9: a faster test suite and a scratch folder per agent.

The suite had grown to 1,862 tests that tests/run-tests.mjs ran four files at a time, and tests inside one file run one after another, so cleanup.test.mjs alone (384 s of tests) set a floor for the whole run. Now the five slowest files keep their tests in tests/<name>.cases.mjs and are split across 15 tests/<name>.shard<k>.test.mjs files by tests/shard.mjs; no test changed. The runner's default is the CPU count less 4, between 4 and 12, and stays 4 inside a parallel-lanes lane check (PL_PHASE=lane), where several lanes may run the suite at once.

Measured on Windows (20 cores, Node 24, Python 3.15): 617 s and 692 s before at four at a time; after, 428 s at 8, 405 s at 12 and 418 s at 16 (one run each). Pointing the tests' temp folder at a folder the virus scanner skips measured 384 s against 405 s, inside the spread, so it is not part of this release.

Also: the scratch-folder rule the final reviewers got in 1.6.7 (their own mktemp -d folder, never the session's scratchpad) is now in the rules every agent gets. On r168 seven implementers wrote red.txt and green.txt into the shared scratchpad and two overwrote each other's file.

Full suite on Windows after the split: 1868 tests, 1852 pass, 16 skipped, 0 fail; the prompt, engine, adjudicator and build tests after the scratch rule. The full local suite was not rerun at the release head because another parallel-lanes run is using this machine; CI runs it.

@noderaven
noderaven merged commit f840baa into main Oct 17, 2026
4 checks passed
@noderaven
noderaven deleted the release-1.6.9 branch October 17, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant