ci(rust): don't fail when a DAG scope matches no tests - #3943
Merged
Conversation
Related to: #3935, as this is why its CI fails. The rail-computed scope for a PR that only touches bdd/rust is a single crate whose test targets are all `required-features = ["bdd"]`. Nothing in this task builds them, so `package(bdd)` matches zero tests and nextest's default `--no-tests=fail` reds a run that broke nothing. Use `warn` rather than `pass` so the other cause of a zero-match filter, a crate rename leaving `package(...)` pointing at nothing, still leaves a line in the log. The unfiltered branch keeps the default, where zero tests means a broken checkout rather than an empty scope.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3943 +/- ##
============================================
- Coverage 83.88% 83.75% -0.13%
Complexity 1358 1358
============================================
Files 1212 1212
Lines 166843 166845 +2
Branches 134304 134433 +129
============================================
- Hits 139948 139734 -214
- Misses 23257 23322 +65
- Partials 3638 3789 +151
🚀 New features to boost your workflow:
|
hubcio
approved these changes
Aug 21, 2026
numinnex
approved these changes
Aug 21, 2026
spetz
approved these changes
Aug 21, 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.
Related to: #3935, as this is why its CI fails.
The rail-computed scope for a PR that only touches bdd/rust is a single
crate whose test targets are all
required-features = ["bdd"]. Nothingin this task builds them, so
package(bdd)matches zero tests andnextest's default
--no-tests=failreds a run that broke nothing.Use
warnrather thanpassso the other cause of a zero-match filter,a crate rename leaving
package(...)pointing at nothing, still leaves aline in the log. The unfiltered branch keeps the default, where zero
tests means a broken checkout rather than an empty scope.