Repository navigation
Validate Arcade publishing support before release channel rotation - #15425
JanProvaznik wants to merge 3 commits into
Conversation
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
🔍 Skill Validator Results
Summary
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)) ``` |
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. |
There was a problem hiding this comment.
🟢 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
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
|
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. |
|
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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Is Maestro the only consumer? Moving those somewhere else, ideally close to the channel definitions sounds right to me.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
The other bit for now...pre-create a vast swath of channels and publishing prior to them being needed.
Check Arcade publishing readiness when rotating main to the next VS channel, without making readiness an automatic gate.
Adapted to the current main checklist phase ordering. Related publisher fix: dotnet/arcade#17745.
Documentation-only change; git diff --check passes.