Repository navigation
Query only required domains by name in AddDomainsStep - #1960
Open
boyan-velinov wants to merge 1 commit into
Open
boyan-velinov wants to merge 1 commit into
boyan-velinov wants to merge 1 commit into
Conversation
AddDomainsStep listed every domain visible to the deploy user to decide which custom domains to create. For an admin that returns all domains on the landscape, paginated in parallel, which can trip the Cloud Controller concurrent-request rate limiter at the start of a deployment. addDomain already looks a domain up by name and only creates it when it is missing, so the up-front listing was redundant. Drop it and call addDomain per custom domain instead. The custom domain list is already deduplicated and has the default domain removed upstream, so behaviour is unchanged.
boyan-velinov
force-pushed
the
reduce-domain-requests-in-add-domains-step
branch
from
November 17, 2026 14:44
8d0c7ea to
f0c1482
Compare
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



AddDomainsStep listed every domain visible to the deploy user to check which custom domains already exist. For an admin that returns all domains on the landscape, paginated in parallel is done by default, which can trip the Cloud Controller concurrent-request rate limiter at the start of a deployment.
This adds getDomains(List names) to the client facade and uses it to look up only the MTA's custom domains via a name-filtered query. The request count is now bounded by the number of custom domains instead of the user's org visibility. Create/skip behaviour is unchanged.