Skip to content

[release/11.0-preview1] Source code updates from dotnet/dotnet#124098

Open
dotnet-maestro[bot] wants to merge 2 commits intorelease/11.0-preview1from
darc-release/11.0-preview1-e243450e-105e-452a-8064-7aa0fcc4ea99
Open

[release/11.0-preview1] Source code updates from dotnet/dotnet#124098
dotnet-maestro[bot] wants to merge 2 commits intorelease/11.0-preview1from
darc-release/11.0-preview1-e243450e-105e-452a-8064-7aa0fcc4ea99

Conversation

@dotnet-maestro
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Feb 6, 2026

Note

This is a codeflow update. It may contain both source code changes from
the VMR
as well as dependency updates. Learn more here.

This pull request brings the following source code changes

From https://github.com/dotnet/dotnet

Updated Dependencies

Associated changes in source repos

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/dotnet:87bc0b04e21d786669142109a5128c95618b75ed..https://github.com/dotnet/runtime:darc-release/11.0-preview1-e243450e-105e-452a-8064-7aa0fcc4ea99

@github-actions github-actions bot added the area-codeflow for labeling automated codeflow label Feb 6, 2026
lewing added a commit that referenced this pull request Feb 7, 2026
## Summary

Adds a new Copilot Agent Skill (`.github/skills/vmr-codeflow-status/`)
that automates analysis of VMR codeflow PR health for dotnet
repositories. Handles both backflow (VMR → product repos) and forward
flow (product repos → VMR).

### What it does

**PR Analysis Mode:**
1. **Parses PR metadata** — Extracts VMR commit, subscription ID, build
info from the PR body
2. **Validates snapshot** — Cross-references PR body commit against
branch "Backflow from" commit messages to detect stale metadata
3. **Checks freshness** — Compares PR's snapshot against the current
source branch HEAD, showing how many commits behind and which repos have
updates
4. **Shows pending forward flow** — For behind backflow PRs, finds open
forward flow PRs that would close part of the freshness gap
5. **Detects staleness & conflicts** — Finds Maestro "codeflow cannot
continue" warnings and "Conflict detected" messages (with conflicting
files and resolve commands)
6. **Analyzes PR commits** — Categorizes commits as auto-updates vs
manual (which would be lost on close/force-trigger)
7. **Traces fixes** (optional) — Checks if a specific fix PR has flowed
through VMR into the codeflow PR
8. **Recommends actions** — Suggests force trigger, close/reopen, merge
as-is, resolve conflicts, or wait, with ready-to-use darc commands

**Missing Backflow Mode:**
- Discovers all branches with backflow subscriptions by examining
recently merged PRs
- Compares VMR branch HEAD against the last merged backflow commit
- Flags branches where the VMR has moved but no new backflow PR exists
- Warns when Maestro may be stuck (>6 hours since last merge with VMR
ahead)

### Example Prompts

- "check the codeflow status of dotnet/sdk#52727"
- "is #124098 up to date with the VMR?"
- "has the runtime revert in #123974 reached the codeflow
PR dotnet/sdk#52727?"
- "why is this codeflow PR blocked?"
- "are there any missing backflow PRs for dotnet/roslyn?"
- "report on the codeflow status for dotnet/aspnetcore"
- "what forward flow PRs are pending for the preview1 VMR branch?"

### Motivation

Investigating stale codeflow PRs is a common and tedious task — checking
VMR freshness, finding staleness warnings, tracing whether specific
fixes have flowed through. This skill automates the entire workflow and
provides actionable darc commands.

Tested against 10+ codeflow PRs across dotnet/sdk, dotnet/runtime,
dotnet/roslyn, dotnet/aspnetcore, and dotnet/dotnet on multiple branches
(main, preview1, release/10.0.x).

### Files

- `SKILL.md` — Skill definition with frontmatter (matching existing
skills in this repo)
- `scripts/Get-CodeflowStatus.ps1` — Main analysis script (~750 lines)
- `references/vmr-codeflow-reference.md` — Reference docs (VMR concepts,
darc CLI, API endpoints)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-codeflow for labeling automated codeflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants