Repository navigation
[release] Replace automatic stabilization regex with an explicit boolean - #40113
Merged
Merged
Conversation
Scope managed review routes to their candidate source, supersede reproducible prior receipts and generated refs with exact leases, and fence stale publication plans without relaxing reviewed-cut safeguards. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Default stabilization to false instead of inferring it from a release ref. Reviewed servicing configuration sets true; preserve historical policy parsing for receipt reproduction. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo
temporarily deployed
to
copilot-pat-pool
November 10, 2026 00:33 — with
GitHub Actions
Inactive
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 40113Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 40113" |
This comment has been minimized.
This comment has been minimized.
kubaflo
temporarily deployed
to
copilot-pat-pool
November 10, 2026 00:33 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 10, 2026 00:34 — with
GitHub Actions
Inactive
Contributor
Author
|
@dalexsoto stamp |
kubaflo
temporarily deployed
to
copilot-pat-pool
November 10, 2026 00:36 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 10, 2026 00:38 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 10, 2026 00:38 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the change to make package stabilization explicit.
No open issues 🎉
What changed in this PR
This PR makes .NET MAUI package stabilization explicit rather than inferred from release branch names, preserving the reviewed servicing configuration as the step that enables stable packages.
Changes:
- Default
StabilizePackageVersionto literalfalsewhile preserving explicit MSBuild overrides. - Update release documentation to distinguish branch-derived branding from stabilization and explain compatibility with historical regex configurations.
| File | Description |
|---|---|
eng/Versions.props |
Replaces regex-based stabilization with an explicit false default. |
docs/ReleaseBranchWorkflow.md |
Documents boolean stabilization and the unchanged reviewed servicing and manual-cut requirements. |
Review effort: Balanced
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Contributor
There was a problem hiding this comment.
Expert Review — 0 findings
Reviewed commit 318a53c.
Collaborator
PR Test Gate |
3 tasks
This branch was previously 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.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Target Branch
mainnet11, for reviewFor .NET 11 fixes, only a maintainer retargets the approved PR to the active
inflight lane and merges it after CI validates that final base. Do not merge
individual fixes directly into
net11; agents must not retarget or merge.Description of Change
Use the maintainer-requested boolean fallback:
StabilizePackageVersiondefaults to literalfalserather than a release-branch regex. The existing reviewed servicing configuration sets literaltrue. Branch-derived package labels remain independent, and explicit MSBuild overrides remain effective.The automatic regex did not eliminate the separate servicing review: #40110 still proposed replacing the expression with
truebefore the manual release cut. This change removes that unnecessary stabilization expression instead of claiming branch-name inference can replace review. It does not remove the existing servicing PR/human-merge requirement or alter exact-cut, mirror, or signing guards.Update the release workflow documentation. Keep historical expression recognition in the shared helper so immutable old receipts and reviewed commits continue to reproduce; new source and generated configurations use boolean stabilization.
Validation
pwsh -NoProfile -File eng/scripts/MauiReleaseConfiguration.Tests.ps1 -OutputDirectory /Users/kubaflo/.copilot/session-state/3312390e-844a-44f1-884c-2ea217514ae1/files/boolean-configuration— all 150 existing assertions passed; no repository tests added or edited.pwsh -NoProfile -File /Users/kubaflo/.copilot/session-state/3312390e-844a-44f1-884c-2ea217514ae1/files/validate-explicit-stabilization.ps1— all 13 actual MSBuild evaluations passed before and after pushing. Evaluates the actual Versions.props on main/net11/candidate/inflight/staging/release refs, generated candidate/fixes/inflight/servicing configurations, and explicit true/false overrides. Release-ref naming alone remains non-stable; reviewed servicing yields release workload properties with no prerelease suffix.dotnet msbuild eng/Versions.props -nologo -p:BUILD_SOURCEBRANCH=refs/heads/release/11.0.1xx-sr1 -getProperty:PreReleaseVersionLabel,StabilizePackageVersion,DotNetFinalVersionKind,WorkloadVersionSuffix— passed; labelservicing, stabilizationfalse, no final release kind, suffix-servicing.git diff --check— passed.Hosted CI is pending. No production refs or existing servicing PRs were modified; no real signing or publication was dispatched.
Issues Fixed
N/A — maintainer-directed simplification following #40107 and the redundant expression-to-true change in #40110.