Skip to content

[release/17.0] Update Azure.Provisioning.AppContainers to 1.3.0-beta.2 - #22029

Closed
Mitch Denny (mitchdenny) wants to merge 1 commit into
mitchdenny-backport-17-0-31-pr21827from
mitchdenny-backport-17-0-32-pr20178
Closed

Mitch Denny (mitchdenny) wants to merge 1 commit into
mitchdenny-backport-17-0-31-pr21827from
mitchdenny-backport-17-0-32-pr20178

Conversation

@mitchdenny

Copy link
Copy Markdown
Member

Description

Backport of #20178 to release/17.0 (cherry-picked from 72d6259 with no modifications).

Layer 32 of 55 in the release/17.0 backport stack; stacked on #22028.

Backport recommendation: No — Moves to a beta dependency and changes generated Bicep.

Validation: Stable patch IDs match the original commit. Builds/tests not run for this unchanged cherry-pick.

Backport of #20178

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

## Description

Update Azure.Provisioning.AppContainers from 1.2.0 to 1.3.0-beta.2 to
consume the refreshed Container Apps provisioning models, default Azure
API version 2026-07-01, and corrected managed-environment naming
requirements.

- Update Azure.Provisioning to 1.6.0 and Azure.Core to 1.62.0, as
required by the new package.
- Replace the obsolete `ManagedEnvironmentStorageAzureFile` property
with `Properties.AzureFile`.
- Preserve legacy managed-environment naming explicitly so the SDK
update does not rename existing deployments. Opt-in unique naming
retains its 60-character limit.
- Update .NET project Container Apps to `2026-03-02-preview` to retain
automatic ASP.NET Core data protection, which is still absent from the
`2026-07-01` stable API. Recheck the SDK-version guard against the
published REST schemas rather than disabling it.
- Refresh generated Bicep snapshots, including the Azure Functions and
user-assigned identity scenarios. Reviewed changes are API versions and
property ordering; existing environment names and data protection
settings remain intact.

### API compatibility

The `2026-03-02-preview` schema supports the properties Aspire emits for
.NET project Container Apps, including
`runtime.dotnet.autoConfigureDataProtection`. The `2026-07-01` stable
schema still omits that setting. Callers customizing .NET projects with
stable-only properties such as `networking` or
`allowScalingRuleOverride` must explicitly select the stable
`ResourceVersion`; automatic data protection remains preview-only.
Non-project Container Apps use the SDK's stable default.

Package mirroring completed successfully: [dotnet-migrate-package run
3086571](https://dev.azure.com/dnceng/internal/_build/results?buildId=3086571).

Release notes: [Azure.Provisioning.AppContainers
1.3.0-beta.2](https://github.com/Azure/azure-sdk-for-net/blob/Azure.Provisioning.AppContainers_1.3.0-beta.2/sdk/containerapps/Azure.Provisioning.AppContainers/CHANGELOG.md).

### Validation

- Full Aspire.Hosting.Azure.Tests suite: **1,866 passed, 5 skipped, 0
failed**.
- Aspire.Hosting.Azure.Provisioning.Tests: **36 passed, 0 failed**.
- Both runs exclude quarantined and outerloop tests. Docker Desktop was
started before the successful full-suite rerun.
- All refreshed snapshots were reviewed, and `git diff --check` passed.
- Existing SSH.NET vulnerability warnings were reported during restore;
this PR does not change that dependency.

Fixes # (issue)

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit 72d6259)
@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

Selects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching 'Directory.Packages.props' selects ALL


Selection computed for commit de465fa.

@mitchdenny
Mitch Denny (mitchdenny) force-pushed the mitchdenny-backport-17-0-32-pr20178 branch from de465fa to a64705e Compare November 10, 2026 04:23
@github-actions

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/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22029

Or

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

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@eerhardt

Copy link
Copy Markdown
Member

We don't want this in release/17 because it is not a stable version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants