Repository navigation
Tests: a bundled package's slow tier runs only when the package changed; --release runs all - #183
Merged
Merged
Conversation
…ed; --release runs them all Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Bundled packages (uipsf, decode_smlm, and COMET etc. to come) now run their slow tier under
--slowonly when the package changed; their fast tier always runs.tests/conftest.pyPACKAGES: per package, its tests folder, its source, and the smappy modules its tests lean on most.--slow, a package's slow tests run only if one of its paths differs from the merge base withorigin/main(committed, staged, unstaged or untracked). A change totests/conftest.py,pyproject.tomlorsetup.pycounts for all.--package NAME(repeatable) forces one; naming a package's tests folder on the command line does too;--since REFmoves the comparison;--release(new) and--longrun them all. If git cannot answer, all run.CLAUDE.md: the rule, the--releasecommand, and--releasepassing as the first step of a release.Known limit: the paths list only a package's main smappy dependencies, so a change elsewhere in smappy (e.g.
smappy.simulate) that breaks a package's slow tests is caught by its fast tier or--release, not at the PR.Tests
--slow -n auto: not run. The worktree this was made in imports the main checkout's older editable install, and reinstalling would have disturbed other sessions on that checkout. Checked instead, with decode's slowtest_emittergeneratoras the probe: unchanged → skipped with the reason;--package decode→ runs; a shared file changed → all run;--release→ all run; unknown--sinceref → all run; decode's folder named → runs; an untracked file insrc/decode_smlmunder-n 2→ decode runs, uipsf skipped; without--slow→ unchanged behaviour.🤖 Generated with Claude Code