Repository navigation
[release/13.2] Skip name validation for ProjectRebuilderResource - #15726
Merged
Jose Perez Rodriguez (joperezr) merged 2 commits intoApr 1, 2026
Merged
Jose Perez Rodriguez (joperezr) merged 2 commits into
Jose Perez Rodriguez (joperezr) merged 2 commits into
Conversation
Rebuilder resources append '-rebuilder' to the parent resource name, which can exceed the 64-character limit. Since these resources are never deployed, skip validation by adding internal constructors to Resource and ExecutableResource that bypass ModelName.ValidateName. Fixes #15693
JavaScriptInstallerResource, PythonInstallerResource, and PythonVenvCreatorResource also append suffixes to the parent resource name and could exceed the 64-char limit. These are never deployed, so skip validation for them as well.
aspire-repo-bot
Bot
requested a review
from Mitch Denny (mitchdenny)
as a code owner
March 31, 2026 04:17
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15726Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15726" |
James Newton-King (JamesNK)
requested review from
David Fowler (davidfowl) and
Jose Perez Rodriguez (joperezr)
March 31, 2026 04:23
David Fowler (davidfowl)
approved these changes
Mar 31, 2026
Contributor
|
Re-running the failed jobs in the CI workflow for this pull request because 1 job was identified as retry-safe transient failures in the CI run attempt.
|
Contributor
|
🎬 CLI E2E Test Recordings — 52 recordings uploaded (commit View recordings
📹 Recordings uploaded automatically from CI run #23780218503 |
Karol Zadora-Przylecki (karolz-ms)
approved these changes
Mar 31, 2026
Jose Perez Rodriguez (joperezr)
merged commit Apr 1, 2026
1e62eb0
into
release/13.2
500 of 503 checks passed
Jose Perez Rodriguez (joperezr)
deleted the
backport/pr-15724-to-release/13.2
branch
April 1, 2026 19:43
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Backport of #15724 to release/13.2
/cc James Newton-King (@JamesNK)
Customer Impact
Aspire limits resource names to 64 characters. In 13.2 we added rebuilder resources, which combine the name of the resource they rebuild and
-rebuilder. This pushed some names over 64 characters:my-very-very-very-etc-long-name-rebuilderFix is to ignore resource name validation for these resources. It doesn't matter if they have a long name as they're not deployed anywhere.
Testing
Unit tests
Risk
Low
Regression?
Yes