Skip to content

Validate packages in parallel - #4223

Merged
martincostello merged 2 commits into
masterfrom
parallel-validation
Oct 23, 2026
Merged

martincostello merged 2 commits into
masterfrom
parallel-validation

Conversation

@martincostello

Copy link
Copy Markdown
Collaborator

Invoke meziantou.validate-nuget-package once for all packages, rather than once per package.

Invoke `meziantou.validate-nuget-package` once for all packages, rather than once per package.
@martincostello martincostello added the github_actions Pull requests that update GitHub Actions code label Oct 23, 2026

@RaphaelFakhri RaphaelFakhri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new single call drops --excluded-rules IconMustBeSet, and the packages don't set an icon (<PackageIcon></PackageIcon> in Directory.Build.props), so this step now fails for every package.

To check, I packed Swashbuckle.AspNetCore.Annotations from master (819734d) with -p:ContinuousIntegrationBuild=true and ran the tool version pinned in .config/dotnet-tools.json (2.0.16):

Command Exit code Errors
meziantou.validate-nuget-package <pkg> --excluded-rules IconMustBeSet 0 none
meziantou.validate-nuget-package <pkg> (this PR) 1 ErrorCode 32: The package does not have an icon

Suggested change:

meziantou.validate-nuget-package @($packages) --github-token ${env:GH_TOKEN} --excluded-rules IconMustBeSet

@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.77%. Comparing base (819734d) to head (4e28571).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4223   +/-   ##
=======================================
  Coverage   91.77%   91.77%           
=======================================
  Files         108      108           
  Lines        4063     4063           
  Branches      909      909           
=======================================
  Hits         3729     3729           
  Misses        189      189           
  Partials      145      145           
Flag Coverage Δ
Linux 91.77% <ø> (ø)
Windows 91.77% <ø> (ø)
macOS 91.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Restore `IconMustBeSet` suppression now parallel validation tested.
@martincostello
martincostello marked this pull request as ready for review October 23, 2026 19:34
Copilot AI balanced review requested due to automatic review settings October 23, 2026 19:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@martincostello
martincostello merged commit 2334e48 into master Oct 23, 2026
15 checks passed
@martincostello
martincostello deleted the parallel-validation branch October 23, 2026 19:34
This was referenced Nov 10, 2026
This was referenced Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants