Skip to content

Validate Arcade publishing support before release channel rotation - #15425

Open
JanProvaznik wants to merge 3 commits into
dotnet:mainfrom
JanProvaznik:users/JanProvaznik/validate-arcade-release-channel
Open

JanProvaznik wants to merge 3 commits into
dotnet:mainfrom
JanProvaznik:users/JanProvaznik/validate-arcade-release-channel

Conversation

@JanProvaznik

@JanProvaznik JanProvaznik commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Check Arcade publishing readiness when rotating main to the next VS channel, without making readiness an automatic gate.

  • Add Phase 1.2e to record channel configuration and support in the published SDK pinned by Arcade main.
  • Leave rotation timing to the maintainer: proceeding while publishing support is pending can preserve correct codeflow, whereas retaining the release channel risks consumers picking up the wrong bits.
  • Track missing support with First Responders, encourage preparing future channels ahead of time, and mirror the guidance in the release skill.

Adapted to the current main checklist phase ordering. Related publisher fix: dotnet/arcade#17745.

Documentation-only change; git diff --check passes.

Check the destination channel configuration and the promotion pipeline SDK pin before switching main to a new channel.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: b3bb9dd4-08e3-4881-a1c3-6498a9fc42b3
Copilot AI balanced review requested due to automatic review settings October 30, 2026 09:22
@JanProvaznik
JanProvaznik requested a review from a team as a code owner October 30, 2026 09:22
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🔍 Skill Validator Results

⚠️ Warnings or advisories found

Scope Checked
Skills 1
Agents 0
Total 1
Severity Count
--- ---:
❌ Errors 0
⚠️ Warnings 1
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ Found 1 skill(s)
ℹ️ [release] 📊 release: 4,500 BPE tokens [chars/4: 4,699] (standard ~), 15 sections, 1 code blocks
ℹ️ [release] ⚠ Skill is 4,500 BPE tokens (chars/4 estimate: 4,699) — approaching "comprehensive" range where gains diminish.
ℹ️ ✅ All checks passed (1 skill(s))
Full validator output ```text Found 1 skill(s) [release] 📊 release: 4,500 BPE tokens [chars/4: 4,699] (standard ~), 15 sections, 1 code blocks [release] ⚠ Skill is 4,500 BPE tokens (chars/4 estimate: 4,699) — approaching "comprehensive" range where gains diminish. ✅ All checks passed (1 skill(s)) ```

@ViktorHofer

ViktorHofer commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Require Arcade publishing readiness before moving main to the next VS channel.

Gating on that would mean that main and i.e. vs18.14 could publish to the same channel (until the channel is added) and the wrong bits might be picked up on the consumption side. I see that as a worse option than failing builds until the newer channel exists.

Also, as mentioned offline, this shouldn't be the norm. I don't know why we don't just avoid this by already adding future channels, i.e. vs18.14 - vs18.24. We did so in the past: dotnet/arcade@e385506 With "we", I don't mean the MSBuild team - but the .NET team. All the tooling repos that use the channels.

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.

🟢 Approval recommended

No active review issues block the release-checklist and skill updates adding the Arcade publishing prerequisite.

No open issues 🎉

What changed in this PR

Adds an Arcade publishing readiness gate to MSBuild’s release process before moving main to the next Visual Studio channel.

Changes:

  • Adds step 1.2e to verify channel configuration and its inclusion in the published SDK pinned by Arcade main.
  • Makes that verification a prerequisite for Phase 2 channel reassignment and records any required Arcade PR in Release Output.
  • Mirrors the prerequisite in the release skill.
File Description
documentation/​release-checklist.md Adds publishing verification, the Phase 2 gate, and Arcade PR tracking.
.github/​skills/​release/​SKILL.md Documents the publishing prerequisite and coordination required when support is missing.

Review effort: Balanced

@JanProvaznik
JanProvaznik requested a review from VolPlita October 30, 2026 09:42
Treat Arcade publishing readiness as an informed maintainer decision rather than a gate. Document the risk of routing main and release builds to the same channel and the option to accept publishing failures while support is pending.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: b3bb9dd4-08e3-4881-a1c3-6498a9fc42b3
@JanProvaznik

Copy link
Copy Markdown
Member Author

Updated per this feedback: publishing readiness is now a check for an informed maintainer decision, not a gate. The checklist and skill explicitly allow rotating while Arcade support is pending and accepting publishing failures to preserve correct codeflow, and explain the risk of main and the release branch sharing a channel. Also added guidance to prepare future channels ahead of time with the .NET tooling maintainers.

@ViktorHofer

Copy link
Copy Markdown
Member

I would make sure that whenever we add a subscription for a servicing branch, we batch that together with updating the default channel for main. That will prevent two builds from different branches getting published into the same channel.

Hopefully, that's already the case today. I would expect that all darc changes can be batched into one single ADO PR.

Record SDK publication, the landed self-dependency pin update, and actual promotion consumption. Distinguish new-SDK validation from final promotion while preserving maintainer control of channel-rotation timing.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: c524f695-b551-44b6-8928-410035934441
### Arcade publishing readiness

In checklist step **1.2e**, check the destination channel ID (`darc get-channels`), its configuration in [Arcade's `PublishingConstants.ChannelInfos`](https://github.com/dotnet/arcade/blob/main/src/Microsoft.DotNet.Build.Tasks.Feed/src/model/PublishingConstants.cs), and support in the published SDK pinned by [Arcade main's `global.json`](https://github.com/dotnet/arcade/blob/main/global.json). Maestro ingestion and a merged Arcade source change alone do not update the publisher.
In checklist step **1.2e**, check the destination channel ID (`darc get-channels`) and its configuration in [Arcade's `PublishingConstants.ChannelInfos`](https://github.com/dotnet/arcade/blob/main/src/Microsoft.DotNet.Build.Tasks.Feed/src/model/PublishingConstants.cs). Then verify SDK publication **and Arcade's self-bootstrap**: a published SDK containing the entry must be consumed by a merged self-dependency/pin update in `msbuild-sdks.Microsoft.DotNet.Arcade.Sdk` in [Arcade main's `global.json`](https://github.com/dotnet/arcade/blob/main/global.json). If that pin already contains the change, verify the existing version rather than creating a redundant update.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@mmitche / @premun is there another way ideally via darc to verify that a channel can be published to?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Unfortunately no - Maestro does not know about the Publishing Constants. I think we should move publishing constants to the maestro-configuration repo, ingest it with Maestro and serve it to Arcade's publishing CI from the API

@ViktorHofer ViktorHofer Nov 3, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is Maestro the only consumer? Moving those somewhere else, ideally close to the channel definitions sounds right to me.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maestro is not a consumer technically. Only the Arcade SDK (the publishing tasks) care about it - they push stuff to wherever and Maestro does not care too much (apart from asset locations).

There were 2 ideas:

  • Move this off-branch so that it's not part of Arcade because technically it does not belong there.
  • Move the whole publishing out of Arcade and make Maestro do the publishing E2E so that we don't have to queue Maestro Build Promotion every time

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The other bit for now...pre-create a vast swath of channels and publishing prior to them being needed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, we did that with dotnet/arcade@c4681eb

This branch had an error being deployed

1 failed (outdated) deployment
copilot-pat-pool — b649ad0c Deployed Oct 30, 2026 by JanProvaznik via conclusion #1086
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.

5 participants