Sitelet https://github.com/App-vNext/Polly/pull/3225
Skip to content

.NET 11 preparation - #3225

Merged
martincostello merged 1 commit into
mainfrom
dotnet-11-prep
Sep 11, 2026
Merged

martincostello merged 1 commit into
mainfrom
dotnet-11-prep

Conversation

@martincostello

Copy link
Copy Markdown
Member

Cherry-pick changes from #2931 to enable new features and improve coverage.

Cherry-pick changes from #2931 to enable new features and improve coverage.

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.

🟢 Approval recommended

No unresolved review comments were identified.

Pull request overview

Prepares the repository for .NET 11 with build configuration updates and expanded legacy policy test coverage.

Changes:

  • Enables SDK vulnerability checks and deterministic CI timestamps.
  • Adds async policy overload smoke coverage.
  • Simplifies test context creation and local typing.
File summaries
File Description
test/Polly.Specs/Timeout/TimeoutOverloadSmokeSpecs.cs Centralizes test context creation.
test/Polly.Specs/PolicyOverloadSmokeSpecs.cs Adds async overload coverage.
test/Polly.Specs/ContextDictionarySpecs.cs Simplifies local variable declaration.
eng/Common.props Enables SDK vulnerability checking.
Directory.Build.props Enables deterministic timestamps in CI.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.02%. Comparing base (1a80392) to head (3574017).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3225      +/-   ##
==========================================
+ Coverage   97.98%   98.02%   +0.04%     
==========================================
  Files         321      321              
  Lines        7099     7099              
  Branches     1089     1089              
==========================================
+ Hits         6956     6959       +3     
+ Misses        101       98       -3     
  Partials       42       42              
Flag Coverage Δ
linux 98.01% <ø> (+0.08%) ⬆️
macos 98.01% <ø> (+0.04%) ⬆️
windows 98.02% <ø> (+0.04%) ⬆️

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.

@martincostello
martincostello marked this pull request as ready for review September 11, 2026 22:29
@martincostello
martincostello enabled auto-merge (squash) September 11, 2026 22:29
@martincostello
martincostello merged commit f35bc00 into main Sep 11, 2026
29 checks passed
@martincostello
martincostello deleted the dotnet-11-prep branch September 11, 2026 22:35
This was referenced Sep 14, 2026
This was referenced Sep 28, 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