Update Azure.Provisioning.AppContainers to 1.3.0-beta.1 - #20178
Eric Erhardt (eerhardt) wants to merge 1 commit into
Conversation
Update required Azure.Provisioning and Azure.Core dependencies, migrate managed storage configuration, preserve legacy environment naming, and refresh generated Bicep snapshots. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20178Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20178" |
Tests selectorSelects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching 'Directory.Packages.props' selects ALL Selection computed for commit |
There was a problem hiding this comment.
🟡 Changes recommended
The dependency upgrade leaves .NET Container Apps on an incompatible older preview API and the version guard is failing.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Updates the Azure Container Apps provisioning stack and Bicep output to API version 2026-07-01. The PR remains incomplete because .NET project resources still require an older preview API.
Changes:
- Updates Azure provisioning dependencies.
- Adapts managed storage and preserves legacy environment naming.
- Refreshes 81 Bicep snapshots for API-version and ordering changes.
File summaries
| File | Description |
|---|---|
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_SubnetBeforePrivateEndpoint.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_StorageBeforePrivateEndpoint.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitSubnet_AutoCreatesStorage.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitStorage_AutoCreatesSubnet.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ClearDefaultRoleAssignments_RemovesDeploymentScriptInfra.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_BothExplicitSubnetAndStorage.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_AutoCreatesBothSubnetAndStorage.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureProvisioningResourceExtensionsTests.AsProvisioningParameterTests.verified.bicep |
Updates Container App API version. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureEnvironmentResourceTests.WhenUsedWithAzureContainerAppsEnvironment_GeneratesProperBicep#01.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.VolumesAndBindMountsAreTranslation.verified.bicep |
Updates API version and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.UnknownManifestExpressionProviderIsHandledWithAllocateParameter.verified.bicep |
Updates API version and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingRedis#00.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExistingCosmosDB#00.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RoleAssignmentsWithAsExisting#00.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#01.verified.bicep |
Refreshes probe ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpsEndpoint_TargetPort_MatchIngress#00.verified.bicep |
Updates API version and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#01.verified.bicep |
Refreshes container ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint#00.verified.bicep |
Updates API version and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#01.verified.bicep |
Refreshes probe ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ResourceWithProbes_HttpEndpoint_TargetPort#00.verified.bicep |
Updates API version and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithTlsEnabledConditionalConnectionString.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.RedisWithConditionalConnectionString.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsScheduledAzureContainerAppJobConfiguresScheduleTrigger.verified.bicep |
Updates job API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJobInfluencesContainerAppDefinition.verified.bicep |
Updates job API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppJob_WorksForProjectResource.verified.bicep |
Updates job API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsContainerAppInfluencesContainerAppDefinition.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.PublishAsAzureContainerAppJobParameterlessConfiguresManualTrigger.verified.bicep |
Updates job API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypesAndContainerAppEnvironment#00.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectWithManyReferenceTypes#00.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectUsesTheTargetPortAsADefaultPortForFirstHttpEndpoint.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectAndExecutableVolumesIncludeEnvironmentPaths#01.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ProjectAndExecutableVolumesIncludeEnvironmentPaths#00.verified.bicep |
Updates API version and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.NestedConditionalExpressions.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#03.verified.txt |
Updates environment/storage APIs. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.MultipleVolumesHaveUniqueNamesInBicep#01.verified.txt |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.KeyVaultReferenceHandling.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.FirstHttpEndpointBecomesIngress.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ExternalEndpointBecomesIngress.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.EndpointWithHttp2SetsTransportToH2.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.EndpointReferenceToFoundryHostedAgentIsResolvedAcrossComputeEnvironments.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpsIngressUsesPort443EvenWithDifferentDevPort.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.DefaultHttpIngressUsesPort80EvenWithDifferentDevPort.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerWithTcpAndHttpEndpointsPublishesToAzureContainerApps.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppWithUppercaseName_ShouldUseLowercaseInManifest.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardEnabled.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithDashboardDisabled.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#01.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomWorkspace#00.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#01.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ContainerAppEnvironmentWithCustomRegistry#00.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureMultipleCustomDomainsMutatesIngress.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureDuplicateCustomDomainMutatesIngress.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConfigureCustomDomainMutatesIngress.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalExpressionWithParameterCondition.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.ConditionalBranchWithParameterReference.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CompactNamingMultipleVolumesHaveUniqueNames.verified.bicep |
Updates environment/storage APIs. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanTweakContainerAppEnvironmentUsingPublishAsContainerAppOnExecutable.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanReferenceContainerAppEnvironment.verified.bicep |
Updates environment API version. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanPreserveHttpSchemeUsingWithHttpsUpgrade.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.CanCustomizeWithProvisioningBuildOptions.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.BindMountNamesWithHyphensAreNormalized.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsMapsPortsForBaitAndSwitchResources.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AzureContainerAppsBicepGenerationIsIdempotent.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddExecutableResourceWithPublishAsDockerFileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddDockerfileWithAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureWithParameterReference.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsInfrastructureAddsDeploymentTargetWithContainerAppToContainerResources.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppsEntrypointAndArgs.verified.bicep |
Updates app API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentWithCompactNamingPreservesUniqueString.verified.bicep |
Updates environment/storage APIs. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=True.verified.bicep |
Updates environment/storage APIs. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsEnvironmentResource_useAzdNaming=False.verified.bicep |
Updates environment/storage APIs. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppsTests.AddContainerAppEnvironmentAddsDeploymentTargetWithContainerAppToProjectResources.verified.bicep |
Refreshes property ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithDelegatedSubnet_ConfiguresVnetConfiguration.verified.bicep |
Updates environment API and ordering. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithAzureLogAnalyticsWorkspace_RespectsExistingWorkspaceInDifferentResourceGroup.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithAzureContainerRegistry_PublishSucceeds_WhenDefaultRegistryIsRedundant#01.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithAcrPullIdentity_PublishGeneratesEnvWithSuppliedIdentity.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.WithAcrPullIdentity_AsExisting_PublishGeneratesThinModuleWithSuppliedIdentity.verified.bicep |
Updates existing environment API. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.CrossResourceGroupRegistry_UsesStandaloneAcrPullIdentityForFinalRegistry.verified.bicep |
Refreshes environment output. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.AsExisting_WithExplicitContainerRegistry_PublishGeneratesThinModule.verified.bicep |
Updates existing environment API. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.AsExisting_PublishGeneratesThinModuleReferencingExistingEnvironment.verified.bicep |
Updates existing environment API. |
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureContainerAppEnvironmentExtensionsTests.AddAsExistingResource_RespectsExistingAzureResourceAnnotation_ForAzureContainerAppEnvironmentResource.verified.bicep |
Updates existing environment API. |
src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs |
Adapts storage models and preserves legacy names. |
Directory.Packages.props |
Updates Azure dependency versions. |
Review details
- Files reviewed: 83/83 changed files
- Comments generated: 1
- Review effort level: Balanced
| <PackageVersion Include="Azure.Provisioning" Version="1.6.0" /> | ||
| <PackageVersion Include="Azure.Provisioning.AppConfiguration" Version="1.1.0" /> | ||
| <PackageVersion Include="Azure.Provisioning.AppContainers" Version="1.2.0" /> | ||
| <PackageVersion Include="Azure.Provisioning.AppContainers" Version="1.3.0-beta.1" /> |
|
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. |
Description
Update Azure.Provisioning.AppContainers from 1.2.0 to 1.3.0-beta.1 to consume the refreshed Container Apps provisioning models and default Azure API version 2026-07-01.
ManagedEnvironmentStorageAzureFileproperty withProperties.AzureFile.Package mirroring completed successfully: dotnet-migrate-package run 3077882.
Release notes: Azure.Provisioning.AppContainers 1.3.0-beta.1.
Draft blocker
AzureContainerAppsTests.FailForNewContainerAppVersionsstill fails and has not been weakened or disabled. The SDK now defaults to2026-07-01, whileContainerAppContext.CreateContainerApp()still pins .NET project resources to2025-10-02-previewforruntime.dotnet.autoConfigureDataProtection. The new package still does not expose a public typed property for this setting. Compatibility between the new SDK model and the preview API must be resolved before this PR is ready to merge.Validation
Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?