Repository navigation
Automate RC3-to-GA SDK selection and release validation - #553
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep solution-wide test discovery and disable artifact merging rather than depending on RC3 per-framework discovery. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the SDK-transition and compatibility-validation changes.
No open issues 🎉
What changed in this PR
Automates the .NET MCP server’s transition from .NET 11 RC3 to GA while preserving .NET 10 support and exact-RC3 validation, addressing #542. Source-build validation remains separate from testing the unchanged RC3-built package on newer runtimes; live GA verification remains pending availability.
Changes:
- Adds shared, isolated SDK setup that selects compatible GA releases automatically and retains RC3 regression coverage.
- Expands release and packaged-tool checks across Windows/Linux, with package provenance, hash verification, and independent project/tool SDK selection.
- Repairs scenario assertions and cancellation synchronization, preserves framework-specific coverage, and documents validation procedures.
| File | Description |
|---|---|
scripts/test-tool-compatibility.ps1 |
Verifies project/tool SDK selection and records inventories. |
scripts/test-sdk-selection.ps1 |
Adds offline SDK-selection and metadata-validation fixtures. |
scripts/run-release-gate-tests.ps1 |
Runs selected framework suites sequentially. |
scripts/resolve-dotnet-sdk.ps1 |
Resolves RC3/GA SDKs and validation matrices. |
README.md |
Explains SDK selection and runtime compatibility. |
global.json |
Allows compatible SDK patch roll-forward. |
DotNetMcp.Tests/Server/Sdk20CompatibilityTests.cs |
Waits for server cancellation before releasing input. |
DotNetMcp.Tests/Scenarios/ScenarioHelpersTests.cs |
Tests structured build-result assertions. |
DotNetMcp.Tests/Scenarios/ScenarioHelpers.cs |
Adds a structured build-success assertion. |
DotNetMcp.Tests/ReleaseScenarios/EfCoreSqliteMigrationsReleaseScenarioTests.cs |
Aligns EF build configuration and verifies migration application. |
DotNetMcp.Tests/ReleaseScenarios/ColdCacheProjectLifecycleReleaseScenarioTests.cs |
Uses structured build-result validation. |
doc/testing.md |
Documents SDK lanes, coverage artifacts, and compatibility checks. |
doc/releasing.md |
Updates pre-release validation and package-retention guidance. |
.github/workflows/tool-compatibility.yml |
Adds GA environments, reusable execution, and package provenance checks. |
.github/workflows/release-scenarios.yml |
Isolates framework jobs and includes packaged compatibility checks. |
.github/workflows/publish-nuget.yml |
Uses shared SDK setup and reports the build SDK. |
.github/workflows/copilot-setup-steps.yml |
Adopts shared setup and expands setup-related triggers. |
.github/workflows/codeql.yml |
Uses shared SDK setup for C# analysis. |
.github/workflows/build.yml |
Adds SDK lanes and preserves separate framework coverage reports. |
.github/copilot-instructions.md |
Updates contributor guidance for RC3-to-GA selection. |
.github/actions/setup-dotnet/action.yml |
Centralizes isolated SDK installation and selection verification. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Keep .NET 10 LTS and .NET 11 validated as .NET 11 moves from RC3 to GA, without manual SDK-pin updates. Source-build validation must remain distinct from proving that the unchanged RC3-built tool package works on newer runtimes.
Approach
dnx, MCP stdio, and side-by-side project/tool SDK selection. Reuse packaged checks from release validation and isolate framework-specific release jobs to avoid local-tool cache collisions.Runtime roll-forward remains
Minor; SDK/runtime installation is explicit rather than relying on roll-forward to download GA. Documentation describes the policy, evidence, and rerun procedure.Verification
dnxinvocation paths against one SHA-256-verified RC3-built package. This ran at5c5ff46; subsequent changes only adjust build-workflow coverage handling and its documentation.Actual GA execution awaits an eligible SDK in official release metadata; fixture coverage is not a claim of live GA compatibility. Manual desktop-client testing is outside the agreed scope.
Fixes: #542