Repository navigation
Refresh third-party dependencies - #20046
Jose Perez Rodriguez (joperezr) merged 20 commits into
Conversation
Refresh central NuGet and tool versions, align xUnit with MTP, migrate internal ARM deployment SDK references, and adopt Verify 32 snapshot formatting. Full restore remains gated by package mirroring; test-framework and npm migrations follow in the draft. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ebe41a3b-456c-4d2d-9e25-2907a1e4f534
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20046Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20046" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The bUnit update currently breaks dashboard test compilation, and CreateFailingTestIssue changes lack precise CI test routing.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Balanced
Findings: 1
New issues introduced by this change (2)
| Severity | Finding |
|---|---|
tests/Directory.Packages.props — Complete the bUnit 2 source migration with the version bump |
|
tools/CreateFailingTestIssue/Directory.Packages.props — Route CreateFailingTestIssue changes to their tests |
What changed in this PR
Refreshes third-party dependencies and adapts Azure deployment APIs.
Changes:
- Updates centralized package, test framework, and tool versions.
- Migrates ARM deployment wrappers to the split Deployments package.
- Normalizes Verify snapshots to LF and refreshes affected baselines.
| File | Description |
|---|---|
tools/SelectTests/SelectTests.csproj |
Updates MSBuild compatibility comment. |
tools/CreateFailingTestIssue/Directory.Packages.props |
Updates System.CommandLine. |
tests/Directory.Packages.props |
Updates test dependencies. |
tests/Aspire.Hosting.Azure.Tests/ProvisioningTestHelpers.cs |
Migrates deployment test types. |
tests/Aspire.Hosting.Azure.Tests/AzureBicepProvisionerTests.cs |
Uses split deployment namespaces. |
tests/Aspire.Cli.Tests/Snapshots/Merge_WithExtraInternalFeedIncorrectlyMapped_ProducesExpectedXml.pr-1234.verified.xml |
Refreshes XML encoding baseline. |
tests/Aspire.Cli.Tests/Snapshots/Merge_WithDailyFeedWithExtraMappingsIsPreserved_ProducesExpectedXml.pr-1234.verified.xml |
Refreshes XML encoding baseline. |
tests/Aspire.Cli.Tests/Snapshots/Merge_WithBrokenSdkState_ProducesExpectedXml.pr-1234.verified.xml |
Refreshes XML encoding baseline. |
tests/Aspire.Cli.Tests/Snapshots/Merge_ExtraPatternOnDailyFeedWhenOnPrFeedGetsConsolidatedWithOtherPatterns_ProducesExpectedXml.pr-1234.verified.xml |
Refreshes XML encoding baseline. |
src/Aspire.Hosting.Azure/Provisioning/Provisioners/BicepProvisioner.cs |
Migrates deployment namespaces. |
src/Aspire.Hosting.Azure/Provisioning/Internal/IProvisioningServices.cs |
Updates internal deployment abstractions. |
src/Aspire.Hosting.Azure/Provisioning/Internal/DefaultSubscriptionResource.cs |
Uses split deployment extensions. |
src/Aspire.Hosting.Azure/Provisioning/Internal/DefaultResourceGroupResource.cs |
Uses split deployment extensions. |
src/Aspire.Hosting.Azure/Provisioning/Internal/DefaultArmDeploymentCollection.cs |
Migrates deployment wrapper types. |
src/Aspire.Hosting.Azure/Provisioning/Internal/DefaultArmClientProvider.cs |
Uses split ARM deployment APIs. |
src/Aspire.Hosting.Azure/Aspire.Hosting.Azure.csproj |
References the Deployments package. |
playground/Stress/Stress.ApiService/Stress.ApiService.csproj |
Uses centralized Grpc.Tools version. |
playground/FoundryAgents/DotNetInvocationHostedAgent/DotNetInvocationHostedAgent.csproj |
Updates Foundry agent packages. |
playground/FoundryAgents/DotNetHostedAgent/DotNetHostedAgent.csproj |
Removes obsolete package overrides. |
eng/Versions.props |
Updates xUnit and testing platform versions. |
Directory.Packages.props |
Refreshes centralized dependencies. |
.gitattributes |
Enforces LF for Verify baselines. |
.config/dotnet-tools.json |
Updates repository tools. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
…y upgrades Update bUnit render APIs, preserve Testcontainers image selections, and coordinate generated test-framework package matrices. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ebe41a3b-456c-4d2d-9e25-2907a1e4f534
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The package assertion is invalid, one ARM test retains obsolete models, and synchronized template/deployment coverage is incomplete.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Balanced
Findings: 3
New issues introduced by this change (4)
| Severity | Finding |
|---|---|
Directory.Packages.props — Migrate the remaining legacy deployment model import |
|
tests/Aspire.Templates.Tests/NewUpAndBuildSupportProjectTemplatesTests.cs — Evaluate conditional package references before comparing |
|
playground/FoundryAgents/DotNetHostedAgent/DotNetHostedAgent.csproj — Keep the deployment fixture dependency set in sync |
|
src/Aspire.ProjectTemplates/templates/aspire-starter/Aspire-StarterApplication.1.Tests/Aspire-StarterApplication.1.Tests.csproj — Cover the starter template's xUnit 4 variants |
Pre-existing issues (2)
| Severity | Finding |
|---|---|
tests/Directory.Packages.props — Complete the bUnit 2 source migration with the version bump View comment |
|
tools/CreateFailingTestIssue/Directory.Packages.props — Route CreateFailingTestIssue changes to their tests View comment |
|
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. |
…ures Update 99 manifests and regenerate 92 package-manager lockfiles while preserving runtime engines, package-manager pins, and extension feed configuration. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ebe41a3b-456c-4d2d-9e25-2907a1e4f534
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Several updated npm tools contradict declared Node support, global snapshot normalization risks binary baselines, and the draft retains unresolved restore and validation blockers.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Balanced
Findings: 3
New issues introduced by this change (4)
| Severity | Finding |
|---|---|
.gitattributes — Avoid forcing binary Verify snapshots through text normalization |
|
playground/AspireWithJavaScript/AspireJavaScript.React/package.json — Keep the declared Node 20 support usable |
|
playground/AspireWithJavaScript/AspireJavaScript.Vue/package.json — Do not select a runner that excludes supported Node versions |
|
playground/PostgresEndToEnd/PostgresEndToEnd.NodeService/package.json — Azure SDK updates invalidate the Node 20 engine range |
Pre-existing issues (6)
| Severity | Finding |
|---|---|
tests/Aspire.Templates.Tests/NewUpAndBuildSupportProjectTemplatesTests.cs — Evaluate conditional package references before comparing View comment |
|
Directory.Packages.props — Migrate the remaining legacy deployment model import View comment |
|
tests/Directory.Packages.props — Complete the bUnit 2 source migration with the version bump View comment |
|
src/Aspire.ProjectTemplates/templates/aspire-starter/Aspire-StarterApplication.1.Tests/Aspire-StarterApplication.1.Tests.csproj — Cover the starter template's xUnit 4 variants View comment |
|
playground/FoundryAgents/DotNetHostedAgent/DotNetHostedAgent.csproj — Keep the deployment fixture dependency set in sync View comment |
|
tools/CreateFailingTestIssue/Directory.Packages.props — Route CreateFailingTestIssue changes to their tests View comment |
|
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. |
Keep older NuGet and npm upgrades in the original PR. Defer bUnit2.10.3, Testcontainers4.15.0, Confluent.Kafka2.15.1, Oracle EF servicing versions, and Invocations beta7 together with bUnit/Testcontainers source migrations. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ebe41a3b-456c-4d2d-9e25-2907a1e4f534
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Reuse the shared ANSI parser for native MSTest output and add twelve positive/negative summary cases. Keep exact one-pass zero-failure zero-skip checks and document the three template shards. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ebe41a3b-456c-4d2d-9e25-2907a1e4f534
Replace private-feed resolved URLs with portable public registry metadata in npmscript and Next.js fixtures. Preserve versions and integrity; acquisition validation stays on approved feeds. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ebe41a3b-456c-4d2d-9e25-2907a1e4f534
Tests selectorSelects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching '.config/dotnet-tools.json' selects ALL Selection computed for commit |
|
The CI build failed due to test failure(s) that appear unrelated to the PR changes. These may be flaky tests. Suspected flaky test(s):
Suggested actions:
You can re-run the failed jobs from the workflow run page. |
| <PackageVersion Include="Azure.Provisioning.AppContainers" Version="1.2.0" /> | ||
| <PackageVersion Include="Azure.Provisioning.AppService" Version="1.3.1" /> | ||
| <PackageVersion Include="Azure.Provisioning.ApplicationInsights" Version="1.1.0" /> | ||
| <!-- beta.3 changes generated Azure resource names; keep that deployment migration separate. --> |
There was a problem hiding this comment.
Do we have issues tracking these?
| 2.5.302 combines the security fixes in 2.5.205 and 2.5.301: | ||
| https://github.com/MessagePack-CSharp/MessagePack-CSharp/releases/tag/v2.5.302 --> | ||
| <PackageVersion Include="MessagePack" Version="2.5.302" /> | ||
| <!-- 2.0.1's transitive runtime targets set RuntimeIdentifier after restore, breaking |
There was a problem hiding this comment.
Issue for this?
## Description **Official internal builds are broken because the `Template Tests` stage now needs about 25 minutes, but the test session is terminated after 20 minutes.** The completed tests pass; the pipeline fails because Microsoft.Testing.Platform aborts the still-running session. In [build 3086035](https://dev.azure.com/dnceng/internal/_build/results?buildId=3086035&view=results), 129 tests passed with no failures before the deadline: ```text Test run summary: Aborted total: 129 failed: 0 succeeded: 129 duration: 20m 01s 713ms ``` The timeout exits with code **3**. The existing `--ignore-exit-code 8` behavior did not change and is unrelated: exit code 8 only represents a run in which no tests executed. ### Why it started failing [#20046](#20046) added two 51-case starter-template classes, increasing the internal `basic-build` workload by 102 cases. GitHub CI shards these tests by class, but the internal pipeline runs every `basic-build` case in one process. That PR also upgraded xUnit to v4. The internal run initially failed before executing tests because the runner still passed the removed `--report-xunit` options. [#20314](#20314) corrected the reporting options, allowing the expanded suite to run and exposing the 20-minute timeout: - [Build 3074942](https://dev.azure.com/dnceng/internal/_build/results?buildId=3074942&view=results), before #20046: 71 cases completed in 9m 43s. - [Build 3079341](https://dev.azure.com/dnceng/internal/_build/results?buildId=3079341&view=results), after #20046: failed during argument parsing on `--report-xunit`; no tests ran. - [Build 3084880](https://dev.azure.com/dnceng/internal/_build/results?buildId=3084880&view=results), after #20314: 137 tests passed before the session was aborted at 20m 04s. - [Build 3086035](https://dev.azure.com/dnceng/internal/_build/results?buildId=3086035&view=results): 129 tests passed before the session was aborted at 20m 01s. ### Root cause The workload increase made the existing 20-minute session limit too short. A separate, previously latent evaluation-order bug prevented the template project from overriding that limit correctly. `MtpBaseArgs` was composed in `eng/Testing.props` before the project file was evaluated. Although the template project declared a 15-minute hang timeout, the emitted command still used the repository defaults: ```text --hangdump-timeout 10m --timeout 20m ``` The Azure Pipelines job also had a 30-minute limit, leaving no setup or cleanup headroom around a 30-minute test session. ### Fix - Compose shared MTP arguments in `eng/Testing.targets`, after project evaluation, so project timeout overrides take effect. - Give the combined internal `basic-build` invocation a 30-minute session timeout while retaining the 20-minute timeout for class-sharded runs. - Increase the Azure Pipelines job limit to 45 minutes. - Add regression coverage for the emitted class-sharded and internal argument sets. - Update documentation and workflow references to the new authoritative argument-composition location. ### Validation - Focused `Infrastructure.Tests`: 3 passed. - [Internal template-only build 3086819](https://dev.azure.com/dnceng/internal/_build/results?buildId=3086819&view=results): 175/175 tests passed in 25m 28s with: ```text --hangdump-timeout 15m --timeout 30m ``` The template-test task succeeded. The validation used a template-only scratch pipeline and reused package artifacts from the earlier full build, so it does not represent a complete internal pipeline run at this PR's head. ### Surprises and call-outs - Moving composition to `Testing.targets` makes existing project-level MTP timeout overrides effective across the repository, not only for template tests. - The current internal suite leaves about 4.5 minutes of session headroom. Further substantial matrix growth may require sharding the internal template run rather than increasing the timeout again. 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? - [x] Yes - [ ] 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 <[email protected]>




Description
Refresh third-party NuGet, npm, and tool dependencies after .NET servicing, keeping customer-breaking migrations independently rollbackable.
Bottom layer of native stack #20075, with quarantine-only upgrades in #20074. The split records package quarantine age when made; seven days does not guarantee ingestion.
Draft, not yet fully validated: latest fixes pushed at
dac270c5043ebd57e422244e9b25883bada5c512. Fresh CI 35153274737 must complete. No conflicts reported.Scope beyond versions and lockfiles
The pushed diff against main contains 277 files: 192 manifests/version/lock files, 48 representation-only snapshots, and 37 other files.
.gitattributesusestext=auto eol=lf, retaining binary detection.No Dashboard UI, VS Code extension, or core hosting-orchestrator source changes are proposed. Main's merged changes are not counted as new work from this PR.
Included dependency families and compatibility corrections
Compatible Azure clients/provisioning, NuGet libraries, Roslyn, Orleans, Functions, database clients, CLI tools and scoped overrides. xUnit4.0.0/analyzers2.0.0 require MTP2.4.0 rather than2.2.1. Verify.XunitV3 remains 32.0.0, before the maintenance-fee cutoff; later versions require separate licensing review (maintainer discussion).
npm refresh includes compatible Vite/React, Express, Redis, Vitest, Webpack, Angular21, OTel JS, Azure SDK, TypeScript and transitives. Package-manager identities and supported Node versions are preserved.
Explicit holds and independent migrations
Other independently rollbackable breaking-change drafts: #20041 MongoDB3/EF; #20042 OTel/Azure Monitor behavior; #20043 NATS3; #20045 MCP2; #20047 Redis3; #20051 Foundry hosting/Projects3. Their migration/release-note details remain separate.
Upper quarantine layer: #20074
Bottom retains bUnit1.36.0/Testcontainers4.8.1/Kafka2.15.0/Oracle8.23.26200,9.23.26000,10.23.26000/Invocationsbeta4. bUnit/Testcontainers API migrations move with upper packages. Abstractions1.20 remains here.
Mirroring and validation
Serialized pipeline931 imports made these exact packages available from dotnet-public: CDNbeta3 (3075750), Kustobeta3 (3075768), Resources.Deployments1.0.0 (3075785), Foundry.Local.Runtime2.0.1 (3075795). Import success does not override the compatibility holds above. No new feeds, quarantine bypass, shared-cache clearing, global.json or NuGet.config changes.
Latest corrections:
Other failures observed in CI35149752088: DCP SQLite state-store lock caused a Linux container-test startup timeout; Docker host-port collision prevented the SQL fixture; macOS starter artifact upload failed with ENOTFOUND. These are distinct from the corrected source assertions. Previous Linux browser-debugger E2E timeouts also occur on unchanged main. No failures have been quarantined or hidden to make this PR green.
Earlier scoped evidence: full-solution restore;12 schema tests,67 Infrastructure tests,21 Dashboard tests,153 TypeScript codegen tests; Hosting.Tasks net8/net472 and SelectTests builds; Foundry deployment project build without live deployment. Angular build passes with existing CSS warning; Postgres and retained NodeFrontend offline/frozen-lock checks pass. Some AzureFunctionsSample/React/Vue/extension installs remain blocked by approved-feed401/404s. These results do not establish whole-repository compatibility.
Checklist
<remarks />and<code />elements on your triple slash comments?