Repository navigation
perf(tests): keep 4 heaviest invariant files under 15 s - #7630
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 28, 2026 20:14
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 28, 2026
🤖 I have created a release *beep* *boop* --- ## [0.240.1](v0.240.0...v0.240.1) (2026-11-28) ### Bug Fixes * **docs:** fix stale statements found by the content census ([#7632](#7632)) ([7eed4ac](7eed4ac)) * **infra:** render infra.repos in ConfigMap and drift exit ([#7631](#7631)) ([24d2193](24d2193)) * **k8s:** delete late-bound move volume by claim UID ([#7633](#7633)) ([abeebd8](abeebd8)) * **roadmap:** brain sync rewrites stale near lists of unchanged neighbours ([#7629](#7629)) ([ac36afe](ac36afe)) ### Performance Improvements * **tests:** keep 4 heaviest invariant files under 15 s ([#7630](#7630)) ([724426f](724426f)), closes [#4890](#4890) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
Move whole-tree AST checks out of the 4 heaviest invariant test files into the single-process test-tree gate, collect the 3 telemetry tables in one pass, and isolate inner floor runs with a floor-only conftest and --confcutdir.
Before and after with
uv run pytest -n 4 -p no:cov -q --durations=20on the 4 files:190 passed in 39.72s165 passed in 13.12s(-67.0%)Closes #4890
Change:
openspec/changes/archive/2026-11-28-4890-invariant-test-speed/