Skip to content

[release/13.2] Stabilize Aspire.Hosting.Docker package - #15377

Merged
Jose Perez Rodriguez (joperezr) merged 2 commits into
release/13.2from
dev/stabilize-hosting-docker
Mar 19, 2026
Merged

Jose Perez Rodriguez (joperezr) merged 2 commits into
release/13.2from
dev/stabilize-hosting-docker

Conversation

@mitchdenny

Copy link
Copy Markdown
Member

Summary

Remove SuppressFinalPackageVersion from the Aspire.Hosting.Docker project so that it ships as a stable (non-prerelease) package.

Changes

  • Removed <SuppressFinalPackageVersion>true</SuppressFinalPackageVersion> from the csproj
  • Added <DisablePackageBaselineValidation>true</DisablePackageBaselineValidation> since this is the first stable version and there is no prior baseline to validate against (same pattern used by other newly-stabilized packages like Aspire.Hosting.Azure.Network, Aspire.Hosting.DevTunnels, etc.)

Notes

  • The [Experimental("ASPIRECOMPUTE002")] attribute on GetHostAddressExpression is inherited from the IComputeEnvironmentResource interface in Aspire.Hosting and is not related to this package's prerelease status — it remains unchanged.

Remove SuppressFinalPackageVersion to make the package ship as a stable
release. Add DisablePackageBaselineValidation since this is the first
stable version and there is no prior baseline to validate against.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings March 19, 2026 05:33
@github-actions

github-actions Bot commented Mar 19, 2026 •

Copy link
Copy Markdown
Contributor

🚀 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 -- 15377

Or

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

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 stabilizes the Aspire.Hosting.Docker NuGet package by removing prerelease version suppression and explicitly disabling baseline validation for its first stable release.

Changes:

  • Removed SuppressFinalPackageVersion from Aspire.Hosting.Docker so the package can ship as stable.
  • Added DisablePackageBaselineValidation=true to avoid baseline checks when no prior stable baseline exists.

You can also share your feedback on Copilot code review. Take the survey.

@github-actions

Copy link
Copy Markdown
Contributor

Re-running the failed jobs in the CI workflow for this pull request because 3 jobs were identified as retry-safe transient failures in the CI run attempt.
GitHub was asked to rerun all failed jobs for that attempt, and the rerun is being tracked in the rerun attempt.
The job links below point to the failed attempt jobs that matched the retry-safe transient failure rules.

@github-actions

Copy link
Copy Markdown
Contributor

Re-running the failed jobs in the CI workflow for this pull request because 1 job was identified as retry-safe transient failures in the CI run attempt.
GitHub was asked to rerun all failed jobs for that attempt, and the rerun is being tracked in the rerun attempt.
The job links below point to the failed attempt jobs that matched the retry-safe transient failure rules.

@github-actions

Copy link
Copy Markdown
Contributor

🎬 CLI E2E Test Recordings — 53 recordings uploaded (commit 9c8f7b3)

View recordings
Test Recording
AddPackageInteractiveWhileAppHostRunningDetached ▶️ View Recording
AddPackageWhileAppHostRunningDetached ▶️ View Recording
AgentCommands_AllHelpOutputs_AreCorrect ▶️ View Recording
AgentInitCommand_DefaultSelection_InstallsSkillOnly ▶️ View Recording
AgentInitCommand_MigratesDeprecatedConfig ▶️ View Recording
AspireAddPackageVersionToDirectoryPackagesProps ▶️ View Recording
AspireUpdateRemovesAppHostPackageVersionFromDirectoryPackagesProps ▶️ View Recording
Banner_DisplayedOnFirstRun ▶️ View Recording
Banner_DisplayedWithExplicitFlag ▶️ View Recording
CertificatesClean_RemovesCertificates ▶️ View Recording
CertificatesTrust_WithNoCert_CreatesAndTrustsCertificate ▶️ View Recording
CertificatesTrust_WithUntrustedCert_TrustsCertificate ▶️ View Recording
ConfigSetGet_CreatesNestedJsonFormat ▶️ View Recording
CreateAndDeployToDockerCompose ▶️ View Recording
CreateAndDeployToDockerComposeInteractive ▶️ View Recording
CreateAndPublishToKubernetes ▶️ View Recording
CreateAndRunAspireStarterProject ▶️ View Recording
CreateAndRunAspireStarterProjectWithBundle ▶️ View Recording
CreateAndRunEmptyAppHostProject ▶️ View Recording
CreateAndRunJsReactProject ▶️ View Recording
CreateAndRunPythonReactProject ▶️ View Recording
CreateAndRunTypeScriptEmptyAppHostProject ▶️ View Recording
CreateAndRunTypeScriptStarterProject ▶️ View Recording
CreateStartAndStopAspireProject ▶️ View Recording
CreateTypeScriptAppHostWithViteApp ▶️ View Recording
DescribeCommandResolvesReplicaNames ▶️ View Recording
DescribeCommandShowsRunningResources ▶️ View Recording
DetachFormatJsonProducesValidJson ▶️ View Recording
DoctorCommand_DetectsDeprecatedAgentConfig ▶️ View Recording
DoctorCommand_WithSslCertDir_ShowsTrusted ▶️ View Recording
DoctorCommand_WithoutSslCertDir_ShowsPartiallyTrusted ▶️ View Recording
GlobalMigration_HandlesCommentsAndTrailingCommas ▶️ View Recording
GlobalMigration_HandlesMalformedLegacyJson ▶️ View Recording
GlobalMigration_PreservesAllValueTypes ▶️ View Recording
GlobalMigration_SkipsWhenNewConfigExists ▶️ View Recording
GlobalSettings_MigratedFromLegacyFormat ▶️ View Recording
InvalidAppHostPathWithComments_IsHealedOnRun ▶️ View Recording
LegacySettingsMigration_AdjustsRelativeAppHostPath ▶️ View Recording
LogsCommandShowsResourceLogs ▶️ View Recording
PsCommandListsRunningAppHost ▶️ View Recording
PsFormatJsonOutputsOnlyJsonToStdout ▶️ View Recording
PublishWithDockerComposeServiceCallbackSucceeds ▶️ View Recording
RestoreGeneratesSdkFiles ▶️ View Recording
RunWithMissingAwaitShowsHelpfulError ▶️ View Recording
SecretCrudOnDotNetAppHost ▶️ View Recording
SecretCrudOnTypeScriptAppHost ▶️ View Recording
StagingChannel_ConfigureAndVerifySettings_ThenSwitchChannels ▶️ View Recording
StopAllAppHostsFromAppHostDirectory ▶️ View Recording
StopAllAppHostsFromUnrelatedDirectory ▶️ View Recording
StopNonInteractiveMultipleAppHostsShowsError ▶️ View Recording
StopNonInteractiveSingleAppHost ▶️ View Recording
StopWithNoRunningAppHostExitsSuccessfully ▶️ View Recording
TypeScriptAppHostWithProjectReferenceIntegration ▶️ View Recording

📹 Recordings uploaded automatically from CI run #23301845372

@eerhardt

Copy link
Copy Markdown
Member

Jose Perez Rodriguez (@joperezr) - I think this is ready to merge. The failure is unrelated.

@radical Ankit Jain (radical) changed the title Stabilize Aspire.Hosting.Docker package [release/13.2] Stabilize Aspire.Hosting.Docker package Mar 19, 2026
@joperezr
Jose Perez Rodriguez (joperezr) merged commit 896182e into release/13.2 Mar 19, 2026
255 of 258 checks passed
@joperezr
Jose Perez Rodriguez (joperezr) deleted the dev/stabilize-hosting-docker branch March 19, 2026 23:22
@dotnet-policy-service dotnet-policy-service Bot added this to the 13.2 milestone Mar 19, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 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.

5 participants