Shrink the CI cargo-hack feature powerset - #563
Merged
Conversation
leighmcculloch
force-pushed
the
group-type-enum-serde-ignored
branch
from
July 28, 2026 12:48
9a59cab to
d26e03e
Compare
leighmcculloch
marked this pull request as ready for review
July 28, 2026 12:49
Contributor
There was a problem hiding this comment.
Pull request overview
Groups three additional features into the CI cargo-hack powerset group, reducing redundant build and test combinations.
Changes:
- Groups
type_enum,serde_ignored, andtest_feature. - Applies the same grouping to publish dry runs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
leighmcculloch
added a commit
that referenced
this pull request
Jul 28, 2026
dmkozh
approved these changes
Jul 28, 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.
What
Group the
type_enum,serde_ignored, andtest_featurefeatures into the existing cargo-hack--group-featuresgroup used by the CI feature powerset runs.Why
Every ungrouped feature doubles the powerset, so these three account for most of it: the feature combinations drop from 112 to 24, taking the build and test matrices from about 450 jobs to 98 per CI run. Extracted out of #562.
Known limitations
Grouped features are only ever enabled together, so combinations enabling any of the three independently of the rest of the group are no longer covered. All three are still compiled and tested as part of the group.