Skip to content

ci: enable full powerset for feature-soundness clippy#4034

Closed
Copilot wants to merge 2 commits intofeat/cargo-hack-feature-soundnessfrom
copilot/sub-pr-4013
Closed

ci: enable full powerset for feature-soundness clippy#4034
Copilot wants to merge 2 commits intofeat/cargo-hack-feature-soundnessfrom
copilot/sub-pr-4013

Conversation

Copy link

Copilot AI commented Mar 3, 2026

The feature-soundness job was excluding test, serde, and not_browser_env from the powerset, covering only 18 of yew's 130 possible feature combinations.

Changes

  • clippy.yml: Remove --exclude-features test,serde,not_browser_env from both dev and release feature-soundness steps, expanding yew's checked combinations from 16 (2⁴) to 128 (2⁷) per profile

Notes

The three re-included features are safe to add to the powerset:

Feature cfg(feature usages Risk
serde 0 — delegates to implicit-clone/serde none
not_browser_env 0 none
test 2, both guarded by #[cfg(all(feature = "csr", ...))] none

Estimated timing: baseline run (18 combos) took ~60 s for the lint step; full powerset (130 combos) is ~7× more but the three new features don't gate any compilation paths, so incremental caching keeps the realistic estimate at ~2–4 min per profile — comparable to unit/integration tests.

After #4027: adding yew-link (3 features → 8 combinations) brings the total to 138, a ~6% increase independent of this change.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Madoshakalaka <44753941+Madoshakalaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Replace hand-maintained feature-soundness scripts with cargo-hack ci: enable full powerset for feature-soundness clippy Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants