build: baseline recommended analyzers#402
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Pull request overview
This PR establishes a supported static-analysis baseline for PatternKit production package projects while preserving source-generator workspace compatibility for examples and benchmarks.
Changes:
- Enables built-in .NET analyzers in
Recommendedmode for selected production projects. - Adds path-scoped
.editorconfigsuppressions for the current analyzer baseline. - Pins benchmark source-generator analyzer references to
netstandard2.0and documents quality-gate expectations.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
Directory.Build.props |
Adds analyzer settings for production package projects. |
.editorconfig |
Adds path-scoped CA analyzer baseline suppressions. |
benchmarks/PatternKit.Benchmarks/PatternKit.Benchmarks.csproj |
Pins the generator analyzer project reference to netstandard2.0. |
docs/guides/quality-gates.md |
Documents analyzer policy, validation gates, and source-generator workspace constraints. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Test Results 12 files 12 suites 9m 55s ⏱️ Results for commit 2c90a41. ♻️ This comment has been updated with latest results. |
🔍 PR Validation ResultsVersion: `` ✅ Validation Steps
📊 ArtifactsDry-run artifacts have been uploaded and will be available for 7 days. This comment was automatically generated by the PR validation workflow. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #402 +/- ##
==========================================
+ Coverage 89.56% 95.63% +6.07%
==========================================
Files 530 530
Lines 42899 42899
Branches 6203 6203
==========================================
+ Hits 38423 41027 +2604
+ Misses 2023 1872 -151
+ Partials 2453 0 -2453
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
d069ab8 to
532693d
Compare
532693d to
2c90a41
Compare
Code Coverage |
Summary
EnforceCodeStyleInBuildout of the solution pathCloses #398.
Closes #399.
Validation
dotnet format PatternKit.slnx --verify-no-changes --verbosity minimaldotnet build PatternKit.slnx --configuration Release --no-restore -m:1dotnet test PatternKit.slnx --configuration Release --no-build -p:TestTfmsInParallel=false --logger "console;verbosity=minimal"docfx docs\docfx.json --warningsAsErrors