Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jul 14, 2025

Backport of #10399 to release/9.4

/cc @captainsafia

Customer Impact

  • The fix adds a health check at the start of ResourceContainerImageBuilder.BuildImagesAsync. If the runtime isn’t running, we now log an error and throw InvalidOperationException with a clear message, immediately failing the publish step

Testing

  • Unit tests added in ResourceContainerImageBuilderTests
  • Manual validation: stopped Docker daemon and confirmed the new exception and log entry appear and that publish

Risk

Low. The change is isolated to the image-building path and is only triggered when the container runtime is unhealthy.

Regression?

No.

@captainsafia
Copy link
Member

@dotnet/aspire-push Can I get help merging this?

@karolz-ms karolz-ms merged commit 5bfce41 into release/9.4 Jul 15, 2025
502 of 504 checks passed
@karolz-ms karolz-ms deleted the backport/pr-10399-to-release/9.4 branch July 15, 2025 17:38
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants