Skip to content

Upgrade centrally managed packages#9929

Merged
ReubenBond merged 4 commits into
dotnet:mainfrom
ReubenBond:chore/upgrade-packages-20260216
Feb 17, 2026
Merged

Upgrade centrally managed packages#9929
ReubenBond merged 4 commits into
dotnet:mainfrom
ReubenBond:chore/upgrade-packages-20260216

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Feb 16, 2026

Copy link
Copy Markdown
Member

Summary

  • upgrade centrally managed package versions in Directory.Packages.props
  • upgrade coverlet.msbuild to 8.0.0
  • preserve TFM-specific version strategy: net8 stays on compatible package lines while net10 uses newer lines
  • apply required source compatibility fixes for upgraded Azure/Testcontainers APIs

Validation

  • dotnet build Orleans.slnx -v minimal
Microsoft Reviewers: Open in CodeFlow

- update centrally managed package versions using latest available releases

- upgrade coverlet.msbuild to 8.0.0

- keep net8 OpenTelemetry on 1.9.0 and keep Azure.Core split (net8 1.50.0, net10 1.51.1)

- adjust Azure Blob and Testcontainers API usage required by upgraded dependencies

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 16, 2026 21:51
@ReubenBond ReubenBond enabled auto-merge February 16, 2026 21:52
@ReubenBond

Copy link
Copy Markdown
Member Author

We were hitting some odd test failures with coverlet. Upgrading that was the main impetus for this PR

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.

Pull request overview

This PR upgrades centrally managed package versions across the Orleans repository while maintaining backward compatibility through a TFM-specific versioning strategy. The upgrade includes compatible source code changes to accommodate API updates in Testcontainers, Consul client, and Azure Storage SDKs.

Changes:

  • Upgraded numerous NuGet packages to their latest compatible versions (Aspire 13.1.1, AWS SDK, Azure SDKs, Consul, Testcontainers, etc.)
  • Applied Testcontainers 4.10.0 API migration: moved image specification from .WithImage() to constructor parameter
  • Added new IConsulClient interface members (Configuration and DiscoveryChain endpoints) required by Consul 1.7.14.10
  • Updated Azure.Storage.Blobs API call to include required states parameter

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Directory.Packages.props Centralized package version upgrades for both net8.0 (conservative versions) and net10.0 (latest versions); upgraded coverlet.msbuild from 6.0.0 to 8.0.0
test/Extensions/Tester.Cassandra/Clustering/CassandraContainer.cs Migrated ContainerBuilder to pass image name via constructor instead of WithImage() method
test/Extensions/Consul.Tests/ConsulTestUtils.cs Migrated ConsulBuilder to pass image name via constructor instead of WithImage() method
test/Extensions/Consul.Tests/ConsulClusteringOptionsTests.cs Added Configuration and DiscoveryChain properties to FakeConsul test stub to satisfy updated IConsulClient interface
src/Azure/Orleans.DurableJobs.AzureStorage/AzureStorageJobShardManager.cs Added required states: BlobStates.None parameter to GetBlobsAsync call for Azure.Storage.Blobs 12.27.0 compatibility

Comment thread Directory.Packages.props
ReubenBond and others added 3 commits February 16, 2026 13:56
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- pin MySql.Data to 8.0.31 after MySql cancellation tests timed out with 8.4.0

- keep net8 Aspire.Azure.Storage.Queues on 13.0.0 so OpenTelemetry 1.9.0 pin does not downgrade

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Start Azurite containers with --skipApiVersionCheck in AzureStorage and EventHub jobs, and move GrainDirectoryResilienceTests.ElasticChaos from SlowBVT to Stress.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ReubenBond ReubenBond added this pull request to the merge queue Feb 16, 2026
Merged via the queue into dotnet:main with commit ed7168b Feb 17, 2026
59 checks passed
@ReubenBond ReubenBond deleted the chore/upgrade-packages-20260216 branch February 17, 2026 00:12
rkargMsft pushed a commit to rkargMsft/orleans that referenced this pull request Feb 27, 2026
* Upgrade package versions and preserve net8 compatibility

- update centrally managed package versions using latest available releases

- upgrade coverlet.msbuild to 8.0.0

- keep net8 OpenTelemetry on 1.9.0 and keep Azure.Core split (net8 1.50.0, net10 1.51.1)

- adjust Azure Blob and Testcontainers API usage required by upgraded dependencies

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Update Directory.Packages.props

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Mitigate MySql package regression in CI

- pin MySql.Data to 8.0.31 after MySql cancellation tests timed out with 8.4.0

- keep net8 Aspire.Azure.Storage.Queues on 13.0.0 so OpenTelemetry 1.9.0 pin does not downgrade

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix Azurite CI failures and retag ElasticChaos

Start Azurite containers with --skipApiVersionCheck in AzureStorage and EventHub jobs, and move GrainDirectoryResilienceTests.ElasticChaos from SlowBVT to Stress.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants