Skip to content

Automate RC3-to-GA SDK selection and release validation - #553

Merged
jongalloway merged 6 commits into
mainfrom
jongalloway-sdk-ci-roll-forward
Nov 2, 2026
Merged

jongalloway merged 6 commits into
mainfrom
jongalloway-sdk-ci-roll-forward

Conversation

@jongalloway

Copy link
Copy Markdown
Owner

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

  • Resolve the newest released .NET 11.0.1xx SDK, selecting exact RC3 until GA is available. Share isolated, non-mutating SDK setup across CI, publishing, CodeQL, and cloud-agent setup; metadata and installation errors remain failures.
  • Automatically retain an exact-RC3 source lane after GA and expand Windows/Linux packaged compatibility to GA environments. Preserve one RC3-built package with SDK, commit, and SHA-256 provenance, including support for reusing an earlier package without rebuilding it.
  • Exercise tool installation, 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.
  • Repair stale structured Build assertions and EF migration scenarios, synchronize the cancellation test with server-side completion, and preserve separate framework coverage reports using the SDK's artifact controls.

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

  • Full CI passed at the final commit: conformance, scenarios, and the full coverage suite across both frameworks (3,518 passed, 92 intentionally skipped, zero failures). Both canonical Cobertura reports were downloaded and verified with the existing diagnostics script.
  • Windows/Linux release validation passed all four OS/framework suites and eight packaged environments, covering sixteen tool-install/dnx invocation paths against one SHA-256-verified RC3-built package. This ran at 5c5ff46; subsequent changes only adjust build-workflow coverage handling and its documentation.
  • Offline fixtures cover RC3, GA, servicing selection, matrix expansion, and invalid metadata. Shared cloud-agent setup also passed.

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

jongalloway and others added 6 commits November 1, 2026 22:33
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>
Copilot AI balanced review requested due to automatic review settings November 2, 2026 17:33

Copilot AI 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.

🟢 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

@jongalloway
jongalloway merged commit 5ac315a into main Nov 2, 2026
27 checks passed
@jongalloway
jongalloway deleted the jongalloway-sdk-ci-roll-forward branch November 2, 2026 17:40
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.

CI: add .NET SDK 10 + 11 (RC3, then GA) matrix and rerun release scenarios

2 participants