Skip to content

Update net11.0 merge-flow target to release/11.0.1xx-preview6 - #36188

Merged
PureWeen merged 1 commit into
mainfrom
pureween-diagnose-net11-to-release-merge
Jun 27, 2026
Merged

Update net11.0 merge-flow target to release/11.0.1xx-preview6#36188
PureWeen merged 1 commit into
mainfrom
pureween-diagnose-net11-to-release-merge

Conversation

@PureWeen

Copy link
Copy Markdown
Member

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!

Description

Fixes the broken net11.0 → release down-merge automation. The Merge net11.0 to next release workflow (.github/workflows/merge-net11-to-release.yml) delegates to the shared arcade inter-branch-merge-base.yml, which reads its merge-flow configuration from the default branch (main) — the configuration_file_branch input defaults to 'main'.

On main, github-merge-flow-release-11.jsonc still pointed at the stale release/11.0.1xx-preview4. The bump to preview6 (#36110) was applied only to the copy on the net11.0 branch, which the workflow never reads. As a result the workflow targeted preview4, tried to update the leftover stale merge/net11.0-to-release/11.0.1xx-preview4 branch, hit a non-fast-forward push rejection, and exited 1 on every push-from-net11.0 run — so no preview6 down-merge PR was ever created.

This one-line change updates the main copy to release/11.0.1xx-preview6 so the automation targets the current preview release branch.

Evidence

  • Run 28241084988 Merge step: read-configuration.ps1 -ConfigurationFileBranch main … github-merge-flow-release-11.jsonc[MergeToBranch, release/11.0.1xx-preview4], then non-fast-forward push rejection → WARNING: Failed to update existing PR → exit code 1.
  • git show origin/main:github-merge-flow-release-11.jsoncpreview4; git show origin/net11.0:…preview6 (unread by the workflow).
  • release/11.0.1xx-preview6 exists on origin, so this was a stale-config issue, not a missing-branch issue.

Follow-up (not in this PR)

Stale leftover branches merge/net11.0-to-release/11.0.1xx-preview4 and …preview3 (and stale PR #34875) can be cleaned up separately. The misleading comments in merge-net11-to-release.yml (claiming the config is read from net11.0, and that the daily schedule works from net11.0) are also worth revisiting, since scheduled workflows and config reads both happen from the default branch.

The arcade inter-branch merge workflow reads github-merge-flow-release-11.jsonc
from the default branch (main), where MergeToBranch was still pointing at the
stale release/11.0.1xx-preview4. The earlier bump to preview6 (#36110) only
landed on the net11.0 branch, which the workflow never reads, so the
net11.0 -> release down-merge PR was never generated for preview6.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 27, 2026 20:46
@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 -- 36188

Or

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

@PureWeen
PureWeen merged commit fced761 into main Jun 27, 2026
5 of 7 checks passed
@PureWeen
PureWeen deleted the pureween-diagnose-net11-to-release-merge branch June 27, 2026 20:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the net11.0 merge-flow configuration so the Merge net11.0 to next release automation targets the current preview release branch (release/11.0.1xx-preview6) instead of the stale preview4 branch.

Changes:

  • Bump MergeToBranch in github-merge-flow-release-11.jsonc from release/11.0.1xx-preview4 to release/11.0.1xx-preview6.
Show a summary per file
File Description
github-merge-flow-release-11.jsonc Updates merge-flow target branch for net11.0 down-merge automation to release/11.0.1xx-preview6.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@github-actions github-actions Bot added this to the .NET 10 SR9 milestone Jun 27, 2026
@github-actions github-actions Bot added the area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions label Jun 27, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants