Skip to content

[Release housekeeping] 11.0.1xx SR3 CI normalization - #40565

Merged
kubaflo merged 1 commit into
net11from
automation/normalization/11.0.1xx-sr2/source-cb744cbefe0ca371b6331e5afb711bd03ce1c37d
Nov 24, 2026
Merged

kubaflo merged 1 commit into
net11from
automation/normalization/11.0.1xx-sr2/source-cb744cbefe0ca371b6331e5afb711bd03ce1c37d

Conversation

@kubaflo

@kubaflo kubaflo commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

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

This PR is for Initial base
New features, API changes, or .NET 12 work (including .NET 12 fixes) main
.NET 11 servicing fixes net11, for review
Older servicing, release integration, infrastructure, or documentation The branch designated for that work

For .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

Restore net11 to the next-cycle CI version after pinning the exact SR2 staging source.

Approved candidate merge: cb744cbefe0ca371b6331e5afb711bd03ce1c37d. Prepared normalization: 084e9e5a4ce38d205bf9f9cdc6933fbddf7c91e7.
This pinned child commit changes only version metadata: patch 30, CI/non-stable settings, and that same plain version in both bug-template dropdowns. SDK band and release contents are unchanged.

A maintainer must review this PR, run required CI and use Create a merge commit. Do not squash or rebase.
The reconciler does not update the protected integration ref, approve, retarget or merge this PR. Next-lane activation and forward-flow preparation wait for the normalization ancestry to be verified.
The automation/release staging ref starts at this candidate source and advances through its separately reviewed servicing PR. A newer maintainer candidate merge supersedes the old generation, never a concurrent unrelated edit. After servicing is merged with Create a merge commit, the real release branch is manually cut at its exact merge. This normalization PR does not authorize signing.

Replaces #40563, which landed the same tree without the pinned commit (squash or rebase merge). This PR may show no remaining file changes; merging it with Create a merge commit records the required ancestry.

Issues Fixed

N/A - staged release configuration.

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 24, 2026 12:25 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 40565

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 40565"

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 24, 2026 12:25 — with GitHub Actions Inactive
@azure-pipelines

This comment has been minimized.

@kubaflo

kubaflo commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

/review expert-review

@kubaflo
kubaflo merged commit 286fa50 into net11 Nov 24, 2026
16 of 26 checks passed
@kubaflo
kubaflo deleted the automation/normalization/11.0.1xx-sr2/source-cb744cbefe0ca371b6331e5afb711bd03ce1c37d branch November 24, 2026 12:43
kubaflo added a commit that referenced this pull request Nov 24, 2026
<!-- Please let the below note in for people that find this PR -->
> [!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](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .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

<!-- Enter description of the fix in this section -->

Release-tracking infrastructure fix. It targets `main` because
`release-tracking-prs.yml` runs the default-branch scripts.

**Problem.** SR2 normalization PR #40563 was squash-merged (`c64da33`).
The tree landed, but the pinned prepared commit `084e9e5` is not an
ancestor of `net11`, and release tracking run
[45391007779](https://github.com/dotnet/maui/actions/runs/45391007779)
failed with a bare `Release Git operation 'merge-base' failed:`. Because
the bare `merge-base` check in `Get-MauiReleaseCompletionPlan` ran
first, the script's own "requires Create a merge commit" guard never
ran. The receipt also could not be resumed: a recreated PR from the same
head would leave two merged matches, which the script refuses.

**Fix**
- `Get-MauiReleaseCompletionPlan` allows `net11` to have advanced from
the approved candidate merge while normalization is pending. It still
refuses history that no longer descends from that merge, and reports
`normalizationIntegrated`. The new `Test-MauiReleaseAncestor` helper
distinguishes "not an ancestor" from Git errors.
- `Sync-StagedReleasePr` (normalization only) ignores squash or rebase
merges with a warning, and reopens a replacement PR from the same pinned
head and marker; its body names the replaced PR. Exactly one real
two-parent merge resumes the receipt. Closed-unmerged PRs are still
refused.
- The final ancestry check now fails with an actionable message.
- Updated `docs/ReleaseBranchWorkflow.md` and
`.github/docs/maui-ci-facts.md`.

**Validation**
- Existing suites `pwsh` → `Invoke-Pester
.github/scripts/ReleaseNextLanes.Tests.ps1, ReleasePublishing.Tests.ps1,
Sync-ServicingForwardPullRequest.Tests.ps1`: 25 passed, 12 failed. The
12 failures are identical on unmodified `main` (stale tests, e.g.
missing `Sync-PostCutServicingPr`).
`eng/scripts/MauiReleaseConfiguration.Tests.ps1` fails identically on
`main` ("Wrong evaluated label on candidate/11.0.1xx-sr1").
- I simulated the change against the real SR2 commits (`cb744cb` merge,
`084e9e5` prepared, `c64da33` squash) and the real #40563 API payload:
- Squashed `net11`: no throw; a replacement PR is created with the same
head and marker.
  - Replacement open: `awaiting-approval`.
- Replacement merged with a two-parent merge: `merged`, and the ancestry
check passes.
  - Closed-unmerged PR: still refused.
  - `net11` at an unrelated commit (inflight SR3): still refused.

**Recovery for SR2:** replacement normalization PR #40565 (same pinned
head `084e9e5`) must be merged with **Create a merge commit**. Once both
PRs are merged, release tracking creates `candidate/11.0.1xx-sr3`,
`inflight/11.0.1xx-sr4` and the state PR.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

N/A - release automation failure in run 45391007779.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 084e9e5a Deployed Nov 24, 2026 by kubaflo via conclusion #3248
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.

1 participant