Repository navigation
Update .NET servicing dependencies and adopt .NET 11 GA - #22070
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22070Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22070" |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
There was a problem hiding this comment.
🔵 Needs a closer look
Blocked approved-feed restore and reportedly unavailable Blazor container tags leave the repository-wide SDK/dependency update awaiting post-publication restore, Blazor container, Linux CLI E2E, and MAUI validation.
No open issues 🎉
What changed in this PR
Updates Aspire’s SDK, framework dependencies, and supporting tooling for November servicing and .NET 11 GA, without changing target frameworks or repository package sources.
Changes:
- Advances repository SDK pins to 11.0.100 and .NET 10 servicing dependencies to 10.0.15.
- Updates .NET 11 packages and dependency metadata while retaining EF Core/Npgsql RC1 compatibility and refreshing EF Core 9 health-check pins.
- Aligns template-engine tooling, Blazor container images, tests, and Dockerfile snapshots with the new versions.
The PR remains draft pending package availability in approved feeds and container-image publication; full restore and container-backed validation remain pending.
| File | Description |
|---|---|
tools/CreateFailingTestIssue/Directory.Packages.props |
Updates System.IO.Hashing to 10.0.15. |
tests/Aspire.Pomelo.EntityFrameworkCore.MySql.Tests/Aspire.Pomelo.EntityFrameworkCore.MySql.Tests.csproj |
Aligns EF Core 9 health-check test dependencies. |
tests/Aspire.Hosting.MySql.Tests/Aspire.Hosting.MySql.Tests.csproj |
Updates the EF Core 9 health-check pin. |
tests/Aspire.Hosting.Blazor.Tests/Snapshots/AddBlazorGatewayTests.BlazorWasmPublishCompanion_UsesNet11Sdk.verified.Dockerfile |
Updates expected build and client SDK versions. |
tests/Aspire.Hosting.Blazor.Tests/Snapshots/AddBlazorGatewayTests.AddBlazorGateway_InPublishMode_UsesFileBasedGateway.verified.Dockerfile |
Updates expected SDK and ASP.NET runtime images. |
tests/Aspire.Hosting.Blazor.Tests/AddBlazorGatewayTests.cs |
Aligns gateway package and SDK test expectations. |
tests/Aspire.Cli.EndToEnd.Tests/TypeScriptBlazorGatewayTests.cs |
Installs the GA SDK for the Blazor E2E scenario. |
src/Components/Aspire.Pomelo.EntityFrameworkCore.MySql/Aspire.Pomelo.EntityFrameworkCore.MySql.csproj |
Updates health checks while preserving EF Core 9 compatibility. |
src/Aspire.Hosting.Blazor/Aspire.Hosting.Blazor.csproj |
Sets Blazor SDK and runtime image tags to GA. |
playground/BlazorHosted/Directory.Packages.props |
Updates WebAssembly packages to 10.0.15. |
playground/AspireWithMaui/AspireWithMaui.MauiClient/AspireWithMaui.MauiClient.csproj |
Updates explicit .NET servicing dependencies. |
global.json |
Advances both repository SDK pins to 11.0.100. |
eng/Versions.props |
Refreshes framework and test-tool versions; documents retained EF Core RC1 pins. |
eng/Version.Details.xml |
Aligns managed dependency versions and source SHAs with GA. |
Directory.Packages.props |
Updates central packages and build-only NuGet dependencies; documents Npgsql constraints. |
Review effort: Balanced
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🔵 Needs a closer look
The SDK/NuGet upgrade affects Native AOT publishing, Linux signature verification, and Blazor containers, but reported validation excludes these paths and dedicated CI coverage remains unconfirmed.
No open issues 🎉
Review effort: Balanced
|
/backport to release/17.0 |
|
Started backporting to |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
The SDK, NuGet, and cryptography updates affect Native AOT restore and signature verification, but reported validation excludes native publishing/execution and container-backed gateway coverage.
No open issues 🎉
Review effort: Balanced
This comment has been minimized.
This comment has been minimized.
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
[automated] The CI confidence skill assessment is incomplete, and I'm running follow-up validation on PR head
The earlier internal build used the superseded commit and does not validate the current head. |
Tests selectorSelects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching 'Directory.Packages.props' selects ALL Selection computed for commit |
There was a problem hiding this comment.
🔵 Needs a closer look
Reported validation excludes Native AOT and container paths affected by the dependency upgrades, leaving native CLI restore/signature verification, dashboard persistence, and gateway execution unconfirmed.
No open issues 🎉
Review effort: Balanced
#22146) Backport of #22070 to release/17.0 /cc @joperezr ## Customer Impact ## Testing ## Risk ## Regression? --------- Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
220f8e7
into
main
## Description Document how to update Npgsql EF integrations when a new .NET/EF Core major reaches GA before a compatible stable PostgreSQL provider. This avoids holding unrelated EF integrations and managed dependency flow on prerelease packages. The dependency-update skill now covers provider nuspec range verification, TFM-scoped provider and HealthChecks EF overrides, the different Azure/non-Azure `PackageReference Include`/`Update` requirements, test-project central version overrides, preserving older TFMs, and keeping both integration packages prerelease with `SuppressFinalPackageVersion` without changing main's global stabilization setting. It also documents restored graph, test, and package-version verification and removing the temporary pins and suppression together. The RC3 versions from #22070 and #22146 are explicitly historical examples, not permanent update targets. The guidance was checked against commit `b7bc012095fdef8b7e03176aadd8dd500b5b4793` and primary NuGet nuspec metadata for Npgsql EF RC3 and HealthChecks EF RC3/GA, rather than assuming either dependency PR is merged. Only `.agents/skills/dependency-update/SKILL.md` changes; no dependency versions or runtime code change. ### Validation - `git diff --check` — passed before commit. - Manually verified the documented exact provider ranges and HealthChecks minimum versions against nuget.org nuspecs, and the override shapes against the referenced PR commit. - Builds and tests were not run: this is a documentation-only change. The new guidance describes validation for future dependency updates; those dependency updates are not part of this PR. Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [ ] Yes - [x] No - Did you add public API? - [ ] Yes - If yes, did you have an API Review for it? - [ ] Yes - [ ] No - Did you add `<remarks />` and `<code />` elements on your triple slash comments? - [ ] Yes - [ ] No - [x] No - Does the change make any security assumptions or guarantees? - [ ] Yes - If yes, have you done a threat model and had a security review? - [ ] Yes - [ ] No - [x] No --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Description
Refresh the repository SDK and .NET dependencies for the November servicing releases and .NET 11 GA.
The released packages now restore from our existing approved feeds, and the local package build is green. No repository package sources were changed.
eng/Version.Details.xml.There are no remaining .NET 8 servicing package pins on
main, so no 8.0.34 pins were introduced. Existing target frameworks are unchanged.Validation
All commands below use the repository's existing approved feeds, with no temporary source overrides.
.\build.cmd -restore -build -ci -pack -bl /p:InstallBrowsersForPlaywright=false /p:SkipTestProjects=true /p:SkipBundleDeps=true /p:SkipNativeBuild=truedotnet test --project tests\Aspire.Cli.Tests\Aspire.Cli.Tests.csproj --no-launch-profile -- --filter-namespace 'Aspire.Cli.Tests.NuGet' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'dotnet build tests\Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests\Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests.csproj --nologo -v minimaldotnet build tools\GenerateTemplateManifest\GenerateTemplateManifest.csproj --nologo -v minimalVerified that all 12 NuGet packages in each of the CLI and CLI-test graphs, and all seven NuGet packages in the template-manifest tool graph, resolve to stable 8.0.0. Earlier focused Blazor gateway validation passed seven tests after regenerating and reviewing the Dockerfile snapshots.
The full test suite, separate Native AOT publishing lanes, container-backed scenarios, Linux-only CLI E2E scenario, and MAUI workload-dependent project were not run locally; those remain for CI or their dedicated validation lanes.
Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?