Use Azure.Provisioning naming requirements by default for Container Apps environments
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the naming compatibility behavior introduced by #18737 and the proposal in #20178, then verify the requirements in Azure.Provisioning.AppContainers 1.3.0-beta.2 against Azure's ACA managed-environment constraints. Define a migration plan for existing environments and decide whether to retire, invert, or retain WithUniqueResourceNaming(); done means Aspire has a justified default and compatibility plan.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
Aspire currently preserves the legacy generated naming requirements for Azure Container Apps managed environments (1-24 lowercase letters) to avoid renaming and recreating existing deployed environments. The corrected requirements supplied by Azure.Provisioning.AppContainers are used only when callers opt into WithUniqueResourceNaming().
This means Aspire maintains a custom compatibility resolver instead of following the naming requirements supplied by Azure.Provisioning by default.
Describe the solution you'd like
Once Azure.Provisioning.AppContainers exposes accurate ACA managed-environment naming requirements, revisit the compatibility behavior introduced by #18737 and use the SDK-provided requirements as Aspire's default.
The change needs an explicit migration/compatibility plan because changing the generated name can cause existing managed environments to be recreated. As part of the design, determine whether WithUniqueResourceNaming() should be retired, inverted, or retained as a compatibility mechanism.
Additional context
- Follow-up proposal from #20178: https://github.com/microsoft/aspire/pull/20178#discussion_r4028262636
- #18737 introduced the compatibility-preserving opt-in after #18722 exposed collisions caused by the former Azure.Provisioning requirements.
Azure.Provisioning.AppContainers1.3.0-beta.2 updates the naming requirements, but they should be verified against Azure's actual ACA managed-environment constraints before changing Aspire's default.
- Dominant language
- C#
- Stars
- 6.4k
- Forks
- 1k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 349
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/aspire
-
Aspire.Hosting.Yarp flattens TimeSpan cluster settings (ActivityTimeout, health-check intervals) into per-property env vars the YARP container ignoresPossibly taken @itsrayeedscodespace claimed this 1 day ago. Openarea-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
Dashboard structured logs toolbar overlaps the resource name and wraps poorly in constrained layoutsOpenarea-dashboard
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
area-dashboard
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
area-dashboard
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
area-templates
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 2 days
All issues in microsoft/aspire
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sebastienros/jint#4531 ·
Maintainers usually reply within 1 day
-
Unable to buildOpenBug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Assert.That on a null non-generic IEnumerable throws ArgumentNullException, so IsNull() cannot passOpenbug P2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area/automation area/sdk kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
unoplatform/uno.templates#2406 ·
Maintainers usually reply within 1 day
-
bug frontend ui
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day