Skip to content

Support for domain name label scopes#4909

Draft
MicroFish91 wants to merge 8 commits intomainfrom
mwf/default-hostname
Draft

Support for domain name label scopes#4909
MicroFish91 wants to merge 8 commits intomainfrom
mwf/default-hostname

Conversation

@MicroFish91
Copy link
Contributor

@MicroFish91 MicroFish91 commented Feb 5, 2026

Closes #4889

TODO:

  • Add telemetry
  • Tests in separate PR

Better description coming soon...
Will likely wait to merge this until after the next release cycle.

One quirk I had to handle here is that the site isn’t initialized yet when we first fetch resources, so I have to rely on the data model location returned by MS Graph (see westus and westus2). You’ll notice this location format differs from what we get when fetching directly from the ARM endpoint. Containerized Functions already has to do something similar for other reasons (see the Central US app).

I could make an additional ARM calls to retrieve the full site envelope and normalize the location format, but that would impact performance since it would no longer be lazily loaded. I chose to skip the extra fetch to preserve performance. In practice, the location is only needed to show when sites share the same name but are deployed to different regions.

image

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.

Support for domain name label scopes

1 participant