Repository navigation
Conversation
<!-- 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 --> Make PR routing discoverable before contributors or agents start work, and repair trusted release preparation after #39913. This coordinated infrastructure/documentation follow-up targets `main`, where the release tooling is deployed. It contains the publication repair plus the user-directed routing and protected-housekeeping follow-up, in one PR. **Contributor and agent routing** Expose `main` for new features, API changes and .NET 12 work, including .NET 12 fixes; use literal `net11` for initial .NET 11 servicing review. Add visible guidance to README, the contribution guide and PR template, add root `AGENTS.md`, and correct the contradictory SDK/branch guidance in Copilot instructions. Resolve current roles from `eng/release-rollover.json`, not the highest retained `netN.0` branch or a copied inflight SR number. The selected branch's `global.json` remains authoritative for its actual SDK. After .NET 11 review, only a maintainer retargets to the active inflight lane and merges after CI validates that final base. Agents must not retarget or merge PRs; individual fixes do not land directly in `net11`. Older servicing and coordinated release/infrastructure/documentation changes retain their designated targets. **Protected post-cut housekeeping** Replace the direct protected-net11 ref update with a draft normalization PR from `automation/normalization/<band>-srN`, containing the pinned next-cycle CI child. Preserve the exact create-once release cut while waiting for human review and required CI. The normalizer requires **Create a merge commit**, not squash/rebase, so the pinned child remains in the integration ancestry. While approval is pending, report `waiting-for-normalization-approval`, keep the current tracking SR, set `nextLanesReady=false`, and withhold next-lane activation and forward-flow preparation. The trusted same-repository normalization-merge trigger resumes reconciliation; recovery verifies the pinned source/ancestry and refuses duplicate, mismatched or unmanaged PR routes. Reuse the existing post-cut PR helper for legacy servicing and normalization without granting a bypass, changing protections or auto-merging. Update the related release documentation and the existing business fixture for the literal housekeeping base. **Publication startup repair** The [first publication run](https://github.com/dotnet/maui/actions/runs/42472795988), at `9fb91b464aabc5d77c87b8c02a98aafe4492d045`, concluded `startup_failure` with zero jobs and zero check runs. Its YAML passes actionlint, but the live repository selected-action policy excludes `azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6`. It was the only excluded action in the deployed workflow. The existing [Azure dispatch documentation](https://github.com/dotnet/maui/blob/9fb91b464aabc5d77c87b8c02a98aafe4492d045/.github/docs/trigger-azdo-pipeline-setup.md) documents this same pre-job restriction; no credential or signing failure was established by the run. Remove the blocked action and exchange GitHub OIDC directly inside the trusted dispatcher, following the existing CI-fix dispatch pattern. Reuse `AZDO_TRIGGER_CLIENT_ID` and `AZDO_TRIGGER_TENANT_ID`, mask the temporary tokens, and keep them in-process rather than in an Azure CLI cache or workflow output. Authentication remains lazy: an empty sweep or `-PlanOnly` does not authenticate or queue builds. Trusted `main` checkout, exact human-approved source and internal-mirror checks, create-once dispatch intents, `pushPackages=false`, and public approval gates are unchanged. The related release documentation now distinguishes workflow activation from federation and signing acceptance. **Validation** - `actionlint -oneline .github/workflows/release-tracking-prs.yml .github/workflows/release-publishing.yml` -- passed. - `git diff --check HEAD~2 HEAD` -- passed. - Combined existing NextLanes and Publishing business tests using the command below -- **25/25 passed**, with no skipped or unrun tests. No pipeline/YAML tests were added. - PowerShell AST parsing of both dispatchers, `MauiReleaseConfiguration.psm1` and both business fixtures -- passed. - Comparing the exact deployed and repaired YAML against the live selected-action policy -- the baseline excludes only `azure/login`; the repair has no excluded actions. - Running `Sync-ReleasePublishing.ps1` with `-PlanOnly` and a local session-artifact output directory -- passed, returning `releases=[]` and `publicPublicationRequested=false`. ```powershell pwsh -NoProfile -Command 'Import-Module Pester -RequiredVersion 5.9.0; $configuration=New-PesterConfiguration; $configuration.Run.Path=@(".github/scripts/ReleaseNextLanes.Tests.ps1", ".github/scripts/ReleasePublishing.Tests.ps1"); $configuration.Run.Exit=$true; $configuration.TestResult.Enabled=$false; $configuration.Output.Verbosity="Detailed"; Invoke-Pester -Configuration $configuration' ``` **Hosted CI is not fully green** The [current-head Pester run](https://github.com/dotnet/maui/actions/runs/42481235105) reports 2,669 passed and two failed. Both release business fixtures pass there. The failures are the existing Catalyst screenshot-cropping source/patch checks; both reproduce when running those unchanged fixtures against files archived from exact `main` baseline `9fb91b464aabc5d77c87b8c02a98aafe4492d045`. This PR changes neither that test, the harness nor its patch. The [current-head spellcheck run](https://github.com/dotnet/maui/actions/runs/42481235125) reports the same seven unknown words in three unchanged documents as the [exact-main baseline run](https://github.com/dotnet/maui/actions/runs/42472696861). No unrelated spelling or harness changes are included. Other required CI remains separate from the local validation and release-deployment gates. **External prerequisites are not certified by this fix** Read-only inspection confirmed both secret names and the default GitHub OIDC subject settings. The actual federation record and the secret-bound identity's internal membership, mirror-read access and queue permissions remain unverified; secret values were not read. A successful public validator that skipped dispatch is not authentication evidence. Existing internal signing definition1095 and canonical preparation definition1445 match the expected MAUI mirror and YAML paths. Internal `main` was at public commit `1c4f8b1f68c4a85699be7ce7324725faa451e3f6`; its pinned publisher YAML matches the reviewed source and retains no-push and approval gates. Neither the public nor internal SR1 release ref, nor a production release-lane receipt, existed during inspection, so there is no approved cut whose exact mirroring can yet be certified. Hosted activation remains pending integration. No production release workflow was dispatched because it could mutate release refs or queue signed work. Validation did not synchronize mirrors, change protections or canonical release state, cut release refs, queue signed/preparation builds, or publish/promote packages. The expanded PR includes the protected-housekeeping correction, but executing its production route remains an owner-controlled deployment/acceptance gate. ### 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 -- coordinated contributor-routing and release-infrastructure follow-up, including the evidenced workflow startup failure linked above. Relates to #39913. <!-- Verify the target branch follows the release workflow in docs/ReleaseBranchWorkflow.md. Infrastructure and documentation changes should target the branch where they apply. --> ---------
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:53 — 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 -- 40054Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 40054" |
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:53 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
MauiBot
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:54 — with
GitHub Actions
Inactive
MauiBot
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:54 — with
GitHub Actions
Inactive
MauiBot
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:54 — with
GitHub Actions
Inactive
MauiBot
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:54 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:54 — with
GitHub Actions
Inactive
MauiBot
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:54 — with
GitHub Actions
Inactive
Contributor
Author
|
@dalexsoto stamp |
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:55 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:55 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:55 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:55 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:55 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:55 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:56 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:56 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:57 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:57 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:57 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:57 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 15:57 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:19 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:20 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:20 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:20 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:20 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:20 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:21 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:21 — with
GitHub Actions
Inactive
MauiBot
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:22 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:23 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:23 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:24 — with
GitHub Actions
Inactive
oroztocil
had a problem deploying
to
copilot-pat-pool
November 8, 2026 16:24 — with
GitHub Actions
Failure
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:24 — with
GitHub Actions
Inactive
oroztocil
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:24 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
mattleibow
temporarily deployed
to
copilot-pat-pool
November 8, 2026 16:36 — with
GitHub Actions
Inactive
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
Carry the already-reviewed .NET 11 infrastructure from merged #40049 into literal
net11beforemainbecomes .NET 12. This is explicitly coordinated infrastructure integration, not an individual servicing fix or a candidate/release cut. Keep this PR targetingnet11.Pinned source and ancestry
caa07471781346f7e2c31e50123de220424f1a1e(#40049).net11cutoff/base before this PR:9fb91b464aabc5d77c87b8c02a98aafe4492d045, the source commit's exact parent.kubaflo-net11-infrastructure-integration. It was fast-forwarded to the pinned source; no cherry-pick, squash, rebase, empty commit, or additional implementation commit was created.c3b2c13e11af670ba03f792e07c3b35944027948. The complete feature tree equals the reviewed source, with all historicalnet11ancestry retained, including original pre-transition cutofff3b45e183ce6d9bdb28b3e090d849ddfdbc37eb0.The 13-file source delta carries contributor/agent PR routing, protected post-cut normalization through a reviewed PR rather than direct protected-ref writes, and the direct GitHub OIDC publication-startup repair. It is copied unchanged from the reviewed source; there is no .NET 12 payload.
Merge with Create a merge commit. Do not squash or rebase. This preserves the pinned reviewed source in
net11ancestry. Protected refs will change only when a maintainer reviews and merges the appropriate integration PR; this PR does not approve, merge, retarget, or grant bypass permissions.Preserved release state and metadata
MajorVersion=11,MinorVersion=0,PatchVersion=10,SdkBandVersion=11.0.100, and the source SDK pin11.0.100-rtm.26514.118are unchanged.global.json,eng/Versions.props,eng/release-rollover.json, and the bug-template version options are byte-identical to the originalnet11cutoff.Canonical roles remain
releaseBand=11.0.1xx,currentSr=1,fixBranch=net11,featureBranch=main,candidate/11.0.1xx-sr1, andinflight/11.0.1xx-sr2.nightlyMode=legacystill selectsinflight/current. Existing SR1/SR2 lane metadata and protections are not rewritten by this feature-branch integration. The candidate/inflight infrastructure PRs are separate coordinated work.No pushes to
net11,main, candidate, or inflight refs; no protection/grant/mirror/state changes; no release cut, rollover, version bump, signing, package promotion/publication, or queued signed/preparation build.Validation — exact commands and results
All checks below ran against exact feature head
caa07471781346f7e2c31e50123de220424f1a1ebefore publishing it.Existing release business fixtures — 25 passed, 0 failed, 0 skipped, 0 inconclusive, 0 not run:
env -u GH_TOKEN -u GITHUB_TOKEN -u COPILOT_GITHUB_TOKEN pwsh -NoProfile -Command 'Import-Module Pester -RequiredVersion 5.9.0; $configuration=New-PesterConfiguration; $configuration.Run.Path=@(".github/scripts/ReleaseNextLanes.Tests.ps1", ".github/scripts/ReleasePublishing.Tests.ps1"); $configuration.Run.Exit=$true; $configuration.TestResult.Enabled=$false; $configuration.Output.Verbosity="Detailed"; Invoke-Pester -Configuration $configuration'Workflow syntax — passed; no new pipeline/YAML tests were written:
PowerShell AST validation — all five passed:
pwsh -NoProfile -Command '$ErrorActionPreference="Stop"; $paths=@("eng/scripts/Sync-ReleaseNextLanes.ps1","eng/scripts/Sync-ReleasePublishing.ps1","eng/scripts/MauiReleaseConfiguration.psm1",".github/scripts/ReleaseNextLanes.Tests.ps1",".github/scripts/ReleasePublishing.Tests.ps1"); foreach($path in $paths){$tokens=$null; $errors=$null; $null=[Management.Automation.Language.Parser]::ParseFile((Join-Path (Get-Location) $path),[ref]$tokens,[ref]$errors); if($errors.Count){throw ($errors | Out-String)}; "AST PASS: $path"}'Actual MSBuild property evaluation, without restore/build — passed:
11 / 0 / 10 / 11.0.100,ci.main, non-stable onnet11:Branch-label/stabilization evaluation — 13/13 passed, retaining
major11/minor0/patch10/SDKband11.0.100in every evaluation:env -u GH_TOKEN -u GITHUB_TOKEN -u COPILOT_GITHUB_TOKEN pwsh -NoProfile -Command '$ErrorActionPreference="Stop"; $cases=@(@("net11","refs/heads/net11","ci.main","false","",@()),@("main","refs/heads/main","ci.main","false","",@()),@("candidate SR1","refs/heads/candidate/11.0.1xx-sr1","ci.main","false","",@()),@("inflight SR2","refs/heads/inflight/11.0.1xx-sr2","ci.inflight","false","",@()),@("legacy inflight","refs/heads/inflight/current","ci.inflight","false","",@()),@("release SR1","refs/heads/release/11.0.1xx-sr1","servicing","true","release",@()),@("release SR2","refs/heads/release/11.0.1xx-sr2","servicing","true","release",@()),@("preview ref","refs/heads/release/11.0.1xx-preview1","ci.main","false","",@()),@("malformed SR ref","refs/heads/release/11.0.1xx-sr1-extra","ci.main","false","",@()),@("preview override","refs/heads/release/11.0.1xx-sr1","preview","false","",@("-p:PreReleaseVersionLabel=preview")),@("RC override","refs/heads/release/11.0.1xx-sr1","rc","false","",@("-p:PreReleaseVersionLabel=rc")),@("PR override","refs/heads/release/11.0.1xx-sr1","pr.123","false","",@("-p:PreReleaseVersionLabel=pr.123")),@("explicit nonstable","refs/heads/release/11.0.1xx-sr1","servicing","false","",@("-p:StabilizePackageVersion=false"))); $rows=foreach($case in $cases){$arguments=@("msbuild","eng/Versions.props","-nologo","-p:BUILD_SOURCEBRANCH=$($case[1])","-getProperty:MajorVersion,MinorVersion,PatchVersion,SdkBandVersion,PreReleaseVersionLabel,StabilizePackageVersion,DotNetFinalVersionKind")+@($case[5]); $output=& dotnet @arguments; if($LASTEXITCODE -ne 0){throw "MSBuild failed: $($case[0])"}; $p=($output -join "`n" | ConvertFrom-Json).Properties; if($p.MajorVersion -cne "11" -or $p.MinorVersion -cne "0" -or $p.PatchVersion -cne "10" -or $p.SdkBandVersion -cne "11.0.100" -or $p.PreReleaseVersionLabel -cne $case[2] -or $p.StabilizePackageVersion -cne $case[3] -or $p.DotNetFinalVersionKind -cne $case[4]){throw "Unexpected evaluated metadata for $($case[0]): $($p | ConvertTo-Json -Compress)"}; [pscustomobject]@{Case=$case[0]; Label=$p.PreReleaseVersionLabel; Stable=$p.StabilizePackageVersion; FinalKind=$p.DotNetFinalVersionKind}}; $rows | Format-Table -AutoSize; "PASS: $($rows.Count) property evaluations retain major11/minor0/patch10/SDKband11.0.100"'Development/candidate refs evaluate
ci.main/non-stable; current/versioned inflight refs evaluateci.inflight/non-stable; strict SR1/SR2 release refs evaluateservicing/stable/release. Preview, malformed SR refs, explicit Preview/RC/PR labels, and the explicit non-stable override remain non-stable. These are standalone props evaluations using the locally available .NET SDK11.0.100-preview.6.26359.118, not full SDK-pinned compilation or platform certification.Canonical release roles — passed, with state SHA256
2cb4c123e02d4a6e36f6307433f7b8d9b8ba1d2619456e52fb352e42cda9351eand the unchanged roles above:Exact source tree, preserved version/state bytes, ancestry, and whitespace — all passed:
Live selected-action configuration — passed:
github_owned_allowed=true, and both changed workflows use onlyactions/checkout@v4andactions/upload-artifact@v4, with no excludedazure/loginaction:Live
net11was verified protected and still at9fb91b464aabc5d77c87b8c02a98aafe4492d045before PR creation; the published feature head was independently verified at the pinned source. Opennet11PRs were checked immediately before creation: no existing same-source infrastructure integration PR.Full platform validation, signed/preparation builds, and production release workflows were not run, as scoped. Local validation does not claim hosted CI is green, deployment/federation acceptance, or merge readiness. Maintainer review and required CI remain separate gates.
Issues Fixed
N/A — coordinated integration of already-reviewed infrastructure, with no new bug fix or closing issue reference.
Relates to #40049 and #39913.