Skip to content

Flow dependencies into release/dnup by resetting only CODEOWNERS - #55103

Merged
nagilson merged 1 commit into
dotnet:mainfrom
nagilson:nagilson-dnup-mergeflow-reset-codeowners-only
Jul 1, 2026
Merged

nagilson merged 1 commit into
dotnet:mainfrom
nagilson:nagilson-dnup-mergeflow-reset-codeowners-only

Conversation

@nagilson

@nagilson nagilson commented Jul 1, 2026 •

Copy link
Copy Markdown
Member

release/dnup has no darc/Maestro subscription, so the automated main -> release/dnup merge is its ONLY path to dependency + toolset updates; resetting the dep/toolset files froze dnup on stale Arcade (and eng/common) and blocked signed get-dotnetup publishing. Since dnup is the same 11.0.1xx band as main, track main's versions instead of resetting.

I chose this over enabling codeflow to avoid creating extra codeflow PRs and engineering effort / cost on the CI runners, since there is not really a reason for dotnetup's sdk source to be managed differently from the main version of the SDK.

We could use an older version of the SDK but we'd like to use the latest version as the SDK is often improving with things like otel/aot which impacts dotnetup.

Context

The reset list was copied verbatim from the standard release-band template (commit 7cd2064 "Add flow from main to release/dnup"); only ";CODEOWNERS" was later appended deliberately (commit 1d0f687 "Desync CodeOwners for dnup merge flow"). The template exists to serve an invariant that does NOT hold for dnup: normal release branches (8.0.1xx -> 8.0.4xx -> ... -> main) are each independently version-managed by their own darc subscriptions, so a code-merge must reset those files to avoid (a) fighting darc and (b) cross-band contamination (e.g. flowing 9.0 versions into an 8.0 branch). release/dnup has NO subscription and is the SAME band as main, so both justifications collapse and the reset only serves to freeze dnup.

Per-file analysis:

File Who normally owns it Standard reason to reset Applies to dnup? Verdict
eng/Version.Details.xml darc Don't let a code-merge fight the target's darc subscription No (no subscription) Un-reset
global.json darc/arcade Band-specific arcade + bootstrap SDK No (same band) Un-reset
eng/common/* arcade toolset Must stay coherent with the branch's Arcade.Sdk pin No (frozen ⇒ stale) Un-reset
eng/Versions.props mixed Holds both darc package versions and repo-owned version band Partly Un-reset (accept main's versions)
NuGet.config repo Band-specific internal feeds (dotnet8 vs dotnet11) Marginal (currently identical) Neutral – safe to un-reset
CODEOWNERS repo (dnup-specific) Avoid review-ping spam on auto-merge PRs Yes – deliberate Keep resetting

Additional per-file detail:

  • eng/Version.Details.xml -- the darc ledger ( + every ). On a subscribed branch, resetting stops code-merges from fighting darc. dnup has no darc, so this auto-merge is the only thing that can advance it; resetting = permanent freeze. It was pinned at VMR 50e862b8 (Arcade 26311.113, ~June 11) -- literally why the signed get-dotnetup aka.ms link could not be created (the arcade link-pattern regex for get-dotnetup.{ps1,sh} had not arrived).

  • global.json -- arcade + bootstrap SDK. Standard branches pin a band-specific arcade and bootstrap dotnet. dnup's arcade (11.0.0-beta.26311.113) is the same band as main, so no cross-band risk. Must move together with Version.Details.xml (see coherence note).

  • eng/common/* -- the Arcade SDK's shipped script folder, NOT a darc dependency. When darc updates Microsoft.DotNet.Arcade.Sdk it overwrites eng/common/* from the new arcade package in the same operation, so eng/common is coupled 1:1 to the Arcade.Sdk pin. Resetting it in a code-merge (on a subscribed branch) prevents a foreign arcade's eng/common from desyncing from the branch pin. For dnup, since arcade itself was frozen, eng/common was frozen at the matching (stale) point -- the likely source of old CI plumbing (e.g. Linux images). Must be un-reset only in lockstep with global.json + Version.Details.xml.

  • eng/Versions.props -- the genuinely mixed file: it holds both darc-managed props AND the repo-owned version band (VersionMajor/Minor/SDKMinor, PreReleaseVersionLabel, PreReleaseVersionIteration). ResetToTargetPaths is path-level, not property-level, so you cannot flow the package versions while freezing the band. Today it is moot -- dnup and main are both 11.0.1 / preview.6 (identical). The only reason to keep resetting would be an independent dnup version band/cadence, which we do not want; if ever needed it should live in a dnup-specific override file, not rely on this reset.

  • NuGet.config -- currently byte-identical between dnup and main (22 feeds, 0 diff). The template resets it because feed lists can be band-specific (a dotnet12 feed appears in main before a release branch wants it). Low-stakes for dnup; un-reset for consistency.

  • CODEOWNERS -- the one deliberate entry. Prevents main's full area-ownership rules from overwriting dnup's minimal CODEOWNERS and spamming reviewers on every auto-merge PR. Rationale is dnup-specific and sound; keep resetting.

Coherence note: eng/Version.Details.xml + global.json + eng/Versions.props + eng/common/* are a single atomic unit and are un-reset together here. Un-resetting only some of them would desync the SHAs from the props, or run a new Arcade.Sdk against old eng/common scripts -- both worse than the status quo.

…erge flow

release/dnup has no darc/Maestro subscription, so the automated main -> release/dnup
merge is its ONLY path to dependency + toolset updates; resetting the dep/toolset files
froze dnup on stale Arcade (and eng/common) and blocked signed get-dotnetup publishing.
Since dnup is the same 11.0.1xx band as main, track main's versions instead of resetting.

Context: the reset list was copied verbatim from the standard release-band template
(commit 7cd2064 "Add flow from main to release/dnup"); only ";CODEOWNERS" was later
appended deliberately (commit 1d0f687 "Desync CodeOwners for dnup merge flow"). The
template exists to serve an invariant that does NOT hold for dnup: normal release
branches (8.0.1xx -> 8.0.4xx -> ... -> main) are each independently version-managed by
their own darc subscriptions, so a code-merge must reset those files to avoid (a) fighting
darc and (b) cross-band contamination (e.g. flowing 9.0 versions into an 8.0 branch).
release/dnup has NO subscription and is the SAME band as main, so both justifications
collapse and the reset only serves to freeze dnup.

Per-file analysis:

| File | Who normally owns it | Standard reason to reset | Applies to dnup? | Verdict |
|---|---|---|---|---|
| eng/Version.Details.xml | darc | Don't let a code-merge fight the target's darc subscription | No (no subscription) | Un-reset |
| global.json | darc/arcade | Band-specific arcade + bootstrap SDK | No (same band) | Un-reset |
| eng/common/* | arcade toolset | Must stay coherent with the branch's Arcade.Sdk pin | No (frozen => stale) | Un-reset |
| eng/Versions.props | mixed | Holds both darc pkg versions and repo-owned version band | Partly | Un-reset (accept main's versions) |
| NuGet.config | repo | Band-specific internal feeds (dotnet8 vs dotnet11) | Marginal (currently identical) | Neutral - safe to un-reset |
| CODEOWNERS | repo (dnup-specific) | Avoid review-ping spam on auto-merge PRs | Yes - deliberate | Keep resetting |

Additional per-file detail:

- eng/Version.Details.xml -- the darc ledger (<Source Sha> + every <Dependency><Sha>).
  On a subscribed branch, resetting stops code-merges from fighting darc. dnup has no
  darc, so this auto-merge is the only thing that can advance it; resetting = permanent
  freeze. It was pinned at VMR 50e862b8 (Arcade 26311.113, ~June 11) -- literally why the
  signed get-dotnetup aka.ms link could not be created (the arcade link-pattern regex for
  get-dotnetup.{ps1,sh} had not arrived).

- global.json -- arcade + bootstrap SDK. Standard branches pin a band-specific arcade and
  bootstrap dotnet. dnup's arcade (11.0.0-beta.26311.113) is the same band as main, so no
  cross-band risk. Must move together with Version.Details.xml (see coherence note).

- eng/common/* -- the Arcade SDK's shipped script folder, NOT a darc dependency. When darc
  updates Microsoft.DotNet.Arcade.Sdk it overwrites eng/common/* from the new arcade package
  in the same operation, so eng/common is coupled 1:1 to the Arcade.Sdk pin. Resetting it in
  a code-merge (on a subscribed branch) prevents a foreign arcade's eng/common from
  desyncing from the branch pin. For dnup, since arcade itself was frozen, eng/common was
  frozen at the matching (stale) point -- the likely source of old CI plumbing (e.g. Linux
  images). Must be un-reset only in lockstep with global.json + Version.Details.xml.

- eng/Versions.props -- the genuinely mixed file: it holds both darc-managed
  <XyzPackageVersion> props AND the repo-owned version band (VersionMajor/Minor/SDKMinor,
  PreReleaseVersionLabel, PreReleaseVersionIteration). ResetToTargetPaths is path-level, not
  property-level, so you cannot flow the package versions while freezing the band. Today it
  is moot -- dnup and main are both 11.0.1 / preview.6 (identical). The only reason to keep
  resetting would be an independent dnup version band/cadence, which we do not want; if ever
  needed it should live in a dnup-specific override file, not rely on this reset.

- NuGet.config -- currently byte-identical between dnup and main (22 feeds, 0 diff). The
  template resets it because feed lists can be band-specific (a dotnet12 feed appears in main
  before a release branch wants it). Low-stakes for dnup; un-reset for consistency.

- CODEOWNERS -- the one deliberate entry. Prevents main's full area-ownership rules from
  overwriting dnup's minimal CODEOWNERS and spamming reviewers on every auto-merge PR.
  Rationale is dnup-specific and sound; keep resetting.

Coherence note: eng/Version.Details.xml + global.json + eng/Versions.props + eng/common/*
are a single atomic unit and are un-reset together here. Un-resetting only some of them
would desync the <Dependency> SHAs from the <PackageVersion> props, or run a new Arcade.Sdk
against old eng/common scripts -- both worse than the status quo.
Copilot AI review requested due to automatic review settings July 1, 2026 17:12
@nagilson
nagilson requested a review from a team July 1, 2026 17:13

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 repo’s merge-flow configuration so that the automated main → release/dnup merge no longer resets dependency/toolset files, allowing release/dnup to continue receiving Arcade/toolset and dependency updates via the merge flow while still keeping its branch-specific CODEOWNERS.

Changes:

  • Change main → release/dnup merge flow to reset only CODEOWNERS (instead of also resetting dependency/toolset files).
  • Add in-file documentation explaining why release/dnup differs from standard release-band flows.

@nagilson
nagilson merged commit 3e886b5 into dotnet:main Jul 1, 2026
9 of 11 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 6, 2026
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.

3 participants