Skip to content

Prepare the test build for .NET 11 - #69

Open
iancooper wants to merge 2 commits into
mainfrom
port/3ab3ec00-dotnet-11-preparation
Open

iancooper wants to merge 2 commits into
mainfrom
port/3ab3ec00-dotnet-11-preparation

Conversation

@iancooper

Copy link
Copy Markdown
Member

Port of App-vNext/Polly@3ab3ec00 (App-vNext/Polly#3285, which cherry-picks part of App-vNext/Polly#2931, upstream's .NET 11 SDK update). Upstream sync #3, tracked in #66.

Changes

  1. eng/Test.targets: stop passing --results-directory to the MTP test host. This is upstream's patch unchanged.
  2. CircuitStateControllerTests: add upstream's OnActionPreExecute_HalfOpen_OnHalfOpenedNotCompleted_WaitsForCompletion. It's test-only, the name already follows Member_Scenario_Outcome, and it's applied from upstream's patch with the rename.

They're separate commits, build config and then test, following Tidy First.

What else relies on the results directory?

  • cake.cs, the workflows and ADR 0004's divergences don't read artifacts/tests.
  • Coverage is written with an explicit --coverage-output path, so artifacts/coverage/<Project>/coverage.<tfm>.xml doesn't change, and neither do the per-TFM reports (divergence 5) or the threshold check (divergence 1). I checked this locally after the change.
  • The only output that moves is the CI JUnit file (<Project>.<tfm>.junit.xml). On the .NET 10.0.401 SDK it now goes to MTP's default ./TestResults/ instead of artifacts/tests/. Both paths are gitignored, and no workflow uploads the JUnit files. The GitHub reporting (--report-github) doesn't use a file.

So no divergence is needed.

Verification

  • Paramore.Fences.Core.Tests: 782/782 pass in Release on net10.0, net9.0 and net8.0.
  • No production code, public API or dependency changes.

Refs #66

🤖 Generated with Claude Code

https://claude.ai/code/session_01U6RM4Rd2HejEcaWDY3qovL

iancooper and others added 2 commits October 25, 2026 15:13
…e test host

Part of upstream's .NET 11 preparation (cherry-picked there from
App-vNext/Polly#2931). Only test results such as the CI JUnit reports
move; coverage keeps its explicit --coverage-output path.

Refs #66

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U6RM4Rd2HejEcaWDY3qovL
…OnHalfOpened

Test-only. Adds upstream's
OnActionPreExecute_HalfOpen_OnHalfOpenedNotCompleted_WaitsForCompletion.

Refs #66

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U6RM4Rd2HejEcaWDY3qovL

This branch has not been deployed

No deployments
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.

1 participant