Skip to content

Conversation

@joperezr
Copy link
Member

@joperezr joperezr commented Oct 28, 2025

  • ServiceBus: SqlServerTag 2022-latest -> 2025-latest
  • Kafka: Tag 8.0.0 -> 8.1.0
  • Keycloak: Tag 26.3 -> 26.4
  • MongoDB: Tag 8.0 -> 8.2
  • MySql: Tag 9.4 -> 9.5
  • NATS: Tag 2.11 -> 2.12
  • Oracle: Tag 23.9.0.0 -> 23.26.0.0
  • Postgres: Tag 17.6 -> 18.0; PgAdminTag 9.7.0 -> 9.9.0
  • Qdrant: Tag v1.15.4 -> v1.15.5
  • RabbitMQ: Tag 4.1 -> 4.2

Description

This PR updates container image tags for all database and infrastructure services to their latest stable versions to ensure we're testing against the most current images.

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • No
  • Did you add public API?
    • No
  • Does the change make any security assumptions or guarantees?
    • No
  • Does the change require an update in our Aspire docs?
    • No

- ServiceBus: SqlServerTag 2022-latest -> 2025-latest
- Kafka: Tag 8.0.0 -> 8.1.0
- Keycloak: Tag 26.3 -> 26.4
- MongoDB: Tag 8.0 -> 8.2
- MySql: Tag 9.4 -> 9.5
- NATS: Tag 2.11 -> 2.12
- Oracle: Tag 23.9.0.0 -> 23.26.0.0
- Postgres: Tag 17.6 -> 18.0; PgAdminTag 9.7.0 -> 9.9.0
- Qdrant: Tag v1.15.4 -> v1.15.5
- RabbitMQ: Tag 4.1 -> 4.2
Copilot AI review requested due to automatic review settings October 28, 2025 21:51
@github-actions
Copy link
Contributor

github-actions bot commented Oct 28, 2025

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 12459

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 12459"

Copy link
Contributor

Copilot AI left a comment

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 updates container image tags for multiple database and messaging services to their latest versions. The changes ensure Aspire applications use the most recent stable releases of these infrastructure components.

Key Changes:

  • Updates 10 container image tags across various hosting packages
  • Includes both minor version updates (e.g., RabbitMQ 4.1→4.2) and major version updates (e.g., PostgreSQL 17.6→18.0)
  • All changes are in internal constants files that define default container versions

Reviewed Changes

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

Show a summary per file
File Description
src/Aspire.Hosting.RabbitMQ/RabbitMQContainerImageTags.cs Updates RabbitMQ from 4.1 to 4.2
src/Aspire.Hosting.Qdrant/QdrantContainerImageTags.cs Updates Qdrant from v1.15.4 to v1.15.5
src/Aspire.Hosting.PostgreSQL/PostgresContainerImageTags.cs Updates PostgreSQL from 17.6 to 18.0 and pgAdmin from 9.7.0 to 9.9.0
src/Aspire.Hosting.Oracle/OracleContainerImageTags.cs Updates Oracle Database Free from 23.9.0.0 to 23.26.0.0
src/Aspire.Hosting.Nats/NatsContainerImageTags.cs Updates NATS from 2.11 to 2.12
src/Aspire.Hosting.MySql/MySqlContainerImageTags.cs Updates MySQL from 9.4 to 9.5
src/Aspire.Hosting.MongoDB/MongoDBContainerImageTags.cs Updates MongoDB from 8.0 to 8.2
src/Aspire.Hosting.Keycloak/KeycloakContainerImageTags.cs Updates Keycloak from 26.3 to 26.4
src/Aspire.Hosting.Kafka/KafkaContainerImageTags.cs Updates Kafka (Confluent) from 8.0.0 to 8.1.0
src/Aspire.Hosting.Azure.ServiceBus/ServiceBusEmulatorContainerImageTags.cs Updates SQL Server from 2022-latest to 2025-latest

- Add --no-data-checksums to POSTGRES_INITDB_ARGS to avoid init failures when reusing existing volumes (PG18+ enables data checksums by default).
- Change data volume and bind mount target from /var/lib/postgresql/data to /var/lib/postgresql to support PG18+'s major-version-specific subdirectories.
- Add explanatory comments for both changes.
@joperezr joperezr enabled auto-merge (squash) October 29, 2025 00:03
@radical
Copy link
Member

radical commented Oct 29, 2025

https://github.com/dotnet/aspire/actions/runs/18892603743?pr=12459
Aspire.Hosting.Tests.ManifestGenerationTests.VerifyTestProgramFullManifest:

Assert.Equal() Failure: Strings differ
                                       ↓ (pos 5554)
Expected: ···"-auth-local=scram-sha-256",\n        "POSTGRES_USER"···
Actual:   ···"-auth-local=scram-sha-256 --no-data-checksums",\n  "···
                                       ↑ (pos 5554)   at Aspire.Hosting.Tests.ManifestGenerationTests.VerifyTestProgramFullManifest() in /home/runner/work/aspire/aspire/tests/Aspire.Hosting.Tests/ManifestGenerationTests.cs:line 506
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Some WithUrl tests are also failing. These failures are not hit anywhere else.

@joperezr joperezr requested a review from mitchdenny as a code owner October 29, 2025 16:04
@joperezr
Copy link
Member Author

https://github.com/dotnet/aspire/actions/runs/18892603743?pr=12459 Aspire.Hosting.Tests.ManifestGenerationTests.VerifyTestProgramFullManifest:

Assert.Equal() Failure: Strings differ
                                       ↓ (pos 5554)
Expected: ···"-auth-local=scram-sha-256",\n        "POSTGRES_USER"···
Actual:   ···"-auth-local=scram-sha-256 --no-data-checksums",\n  "···
                                       ↑ (pos 5554)   at Aspire.Hosting.Tests.ManifestGenerationTests.VerifyTestProgramFullManifest() in /home/runner/work/aspire/aspire/tests/Aspire.Hosting.Tests/ManifestGenerationTests.cs:line 506
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Some WithUrl tests are also failing. These failures are not hit anywhere else.

Yup, my bad, fixed on the last commit

@davidfowl
Copy link
Member

Revert sql server

@DamianEdwards DamianEdwards added this to the 13.0 milestone Nov 3, 2025
@joperezr joperezr disabled auto-merge November 4, 2025 00:05
@joperezr
Copy link
Member Author

joperezr commented Nov 4, 2025

/backport to release/13.0

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Started backporting to release/13.0: https://github.com/dotnet/aspire/actions/runs/19053248391

@joperezr
Copy link
Member Author

joperezr commented Nov 4, 2025

As discussed in the meeting earlier today, we'll merge this in as is and for release/13.0 branch we will undo the major version bump on Postgres

@joperezr joperezr merged commit 5acd598 into main Nov 4, 2025
864 of 874 checks passed
@joperezr joperezr deleted the UpdateDockerImageTags branch November 4, 2025 00:07
@dotnet-policy-service dotnet-policy-service bot modified the milestones: 13.0, 13.1 Nov 4, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2025
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.

5 participants