Repository navigation
Verify efficiency 3/3: turbo, nx, jest, vitest, pytest, go matchers (#390) - #666
Merged
currentbits merged 1 commit intoAug 22, 2026
Merged
Conversation
Add the remaining verify-command matchers on top of the node --test framework. Unknown runners and already-filtered commands stay full-suite.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
currentbits
merged commit Aug 22, 2026
01a2536
into
coder/verify-scope-core-390
5 of 6 checks passed
currentbits
added a commit
that referenced
this pull request
Aug 22, 2026
* feat(verify): affected-scope node --test selection (#390) Rewrite the verify command to the tests the diff touches when the runner is node --test. Docs-only diffs skip the suite; lockfiles, --all, unknown diffs, and compound npm scripts stay full-suite. Wired into the runner gate and Verify now. Post-merge verify is unchanged. * feat(verify): affected-scope turbo/nx/jest/vitest/pytest/go (#390) (#666) Add the remaining verify-command matchers on top of the node --test framework. Unknown runners and already-filtered commands stay full-suite. Co-authored-by: Willem <[email protected]> --------- Co-authored-by: Willem <[email protected]>
currentbits
added a commit
that referenced
this pull request
Aug 22, 2026
* feat(verify): share turbo/nx/cargo cache across worktrees (#390) Point every worktree of a repo at ~/.solenta/build-cache/<repo> so thread B reuses thread A's task results. Injected into the verify spawn and every agent CLI. Does not override env the user already set. * Verify efficiency 2/3: affected-scope verify, node --test (#390) (#665) * feat(verify): affected-scope node --test selection (#390) Rewrite the verify command to the tests the diff touches when the runner is node --test. Docs-only diffs skip the suite; lockfiles, --all, unknown diffs, and compound npm scripts stay full-suite. Wired into the runner gate and Verify now. Post-merge verify is unchanged. * feat(verify): affected-scope turbo/nx/jest/vitest/pytest/go (#390) (#666) Add the remaining verify-command matchers on top of the node --test framework. Unknown runners and already-filtered commands stay full-suite. Co-authored-by: Willem <[email protected]> --------- Co-authored-by: Willem <[email protected]> --------- Co-authored-by: Willem <[email protected]>
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.
Third of three stacked PRs for #390. Based on #665, which is based on #664.
What
The remaining runner matchers for
scopeVerifyCommand. The framework, all the bail-out rules and the visibility logging are in 2/3 — this PR only adds match-and-rewrite functions, each of which returnsnull(leaving the command untouched) when it does not recognise the runner or has nothing to narrow to.<cmd> --filter=...[<base>]nx affected -t <target> --base=<base> --head=HEAD, keeping the target from-t/--targetand defaulting totest<cmd> --findRelatedTests <changed code files><vitest prefix> related <changed code files> --run<pytest prefix> <changed .py files>, handling both barepytestandpython -m pytestgo test <dirs of changed .go files>, deduped and sortedturbo and nx need a base ref and return
nullwithout one. The rest need at least one changed file of a type they care about.Testing
npm run test:electron: 1948 tests, 1 load-dependent flake that is clean on rerun and also present on main (main failed once in two full-suite runs here, on a different test). 0 real failures.Reviewer note
None of these runners exist in this repo, so they are unexercised outside their unit tests. If you would rather not carry matchers nothing here uses, this is the PR to drop — #664 and #665 stand without it.
Closes #390.