Repository navigation
ci: stop running the Bats suites in the test gate - #1050
Merged
Merged
Conversation
The Bats suites take minutes on every run, and each commit and pull request waits on them in CI and in the local publish path. That wait slows delivery more than the shell regressions they catch justify. This loosens a check: changes to hook and leak scripts lose the coverage those suites gave them until someone restores it. Assisted-by: claude-code:claude-sonnet-5-5 Signed-off-by: Tony Burns <tony@tonyburns.net>
tbhb
approved these changes
Nov 1, 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.
Summary
Commits and pull requests can pass the test gate without running the shell regression suites. Those suites remain available for manual runs.
Why
The Bats suites take minutes on every run, and each commit and pull request waits on them in CI and in the local publish path. That wait slows delivery more than the shell regressions they catch justify.
mise run test-hooksandmise run test-leaksstill work for anyone who wants to run the shell suites directly. A later change can restore the check or delete the suites.The main branch ruleset must stop requiring the
test-batscontexts before merging, because deleted jobs never report.Verification
mise run lintmise run check-generated-skillsmise run test-gomise run test-pymise run devtools:lint-workflowsRisk
Changes to the hook and leak scripts lose the coverage the Bats suites gave them. A defect in those scripts, such as a leak scan that stops matching a secret or a guard that stops refusing a command, now reaches the default branch without a failing check. Reverting the change restores the job and the task entries.
Compatibility: none
Loosens: yes
Related
Removes the gate for the suites tracked under #588.