Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions docs/ReleaseBranchWorkflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,16 +261,18 @@ byte-for-byte during production phase changes, rather than repeatedly stamping
per-branch labels. Legacy one/two-label sources remain supported. Trial scopes
use separately recognized conditions for both inflight and servicing refs.

The policy also defaults `StabilizePackageVersion` to `true` when the effective
label is `servicing` **and** the build source is a strict SR release ref.
Development/candidate/inflight and initial `automation/release/*` refs remain non-stable. Explicit stabilization and
Preview/RC/PR-label overrides remain authoritative; a Preview/RC override on an
SR ref must not accidentally become a stable package. The setting is evaluated
before Arcade, not overwritten by a later target.
`StabilizePackageVersion` is an explicit boolean, defaulting to `false` on
development/candidate/inflight and initial `automation/release/*` sources.
The reviewed servicing configuration sets it to `true`; a release branch name
alone never enables stable packages. The branch-derived label policy controls
branding, not stabilization. Explicit MSBuild overrides remain authoritative.
The setting is evaluated before Arcade, not overwritten by a later target.

After an approved candidate merge, staging initially retains CI/non-stable output.
The separate servicing PR makes stabilization explicit on staging, including
for automatic-policy sources, while preserving the ordered branch-label properties.
The separate servicing PR changes the stabilization boolean from `false` to
`true` on staging while preserving the ordered branch-label properties.
Historical regex-policy sources remain readable so existing receipts and
reviewed servicing commits can still be reproduced; new sources use the boolean.
Legacy sources receive the same pre-cut review with a literal servicing label.
The receipt's original candidate and prepared next-lane identities remain unchanged.
Readiness and
Expand All @@ -282,8 +284,8 @@ The next candidate includes the normalized fixes commit in its ancestry. A real
three-way merge preserves both approved integration contents and future inflight
payload. Conflicts stop the operation; no file is blindly replaced. Legacy
servicing commits are children of the initial release cut and never enter
candidate or future-lane ancestry. Automatic stabilization changes no release
source bytes after the approved integration.
candidate or future-lane ancestry. Creating the real release ref changes no
source bytes after the reviewed servicing merge.
Future inflight content is never included in the release already cut.

The SR2 ref was originally seeded at patch10 and has been explicitly corrected
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<EssentialsAIPreviewVersionIteration>1</EssentialsAIPreviewVersionIteration>
<!-- Servicing builds have different characteristics for the way dependencies, baselines, and versions are handled. -->
<IsServicingBuild Condition=" '$(PreReleaseVersionLabel)' == 'servicing' ">true</IsServicingBuild>
<!-- SR source refs with servicing branding default to stable packages; explicit overrides still win. -->
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">$([System.Text.RegularExpressions.Regex]::IsMatch('$(PreReleaseVersionLabel):$(BUILD_SOURCEBRANCH)', '\Aservicing:refs/heads/release/[1-9][0-9]*\.0\.[1-9][0-9]*xx-sr[1-9][0-9]*\z').ToString().ToLowerInvariant())</StabilizePackageVersion>
<!-- Stable packages are enabled explicitly by the reviewed servicing configuration. -->
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>
<WorkloadVersionSuffix Condition="'$(DotNetFinalVersionKind)' != 'release' and '$(PreReleaseVersionIteration)' == ''">-$(PreReleaseVersionLabel)</WorkloadVersionSuffix>
<WorkloadVersionSuffix Condition="'$(WorkloadVersionSuffix)' == '' and '$(DotNetFinalVersionKind)' != 'release'">-$(PreReleaseVersionLabel).$(PreReleaseVersionIteration)</WorkloadVersionSuffix>
Expand Down
Loading