Skip to content

Add actionable SR backport, version-transition, and ship-Assessment feed guidance - #36497

Merged
PureWeen merged 29 commits into
mainfrom
fix/release-readiness-backport-guidance
Jul 23, 2026
Merged

PureWeen merged 29 commits into
mainfrom
fix/release-readiness-backport-guidance

Conversation

@kubaflo

@kubaflo kubaflo commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

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!

Summary

Release-readiness reports identified the right blockers, but did not always provide enough precise, safe instructions for a release captain or future agent to complete them. This PR makes the SR transition workflows explicit and test-backed.

  • Require a fix PR to be merged and verified on main before recommending /backport to release/....
  • Document the Arcade backport path and the manual git cherry-pick -x conflict fallback.
  • Document and detect the SR servicing flip: preserve PatchVersion, set PreReleaseVersionLabel=servicing, and enable stable package versions only on the release branch.
  • Teach the next-cycle main bump as a separate one-file, one-line PR, including the exact title and XML edit. For SR9 → SR10 this is Update PatchVersion from 90 to 100 and <PatchVersion>90</PatchVersion> → <PatchVersion>100</PatchVersion>.
  • Preserve SdkBandVersion, PreReleaseVersionLabel=ci.main, and StabilizePackageVersion=false on main, matching the SR7/SR8/SR9 precedent.
  • Surface the per-build validation feed for the ship Assessment. When a promoted BAR build exists for SR HEAD, Get-MaestroOperationalChecks now derives and emits the darc-pub-dotnet-maui-<sha8> NuGet feed URL (the Ship Assessment validation feed check) to paste into the DevDiv ship Assessment, plus the darc get-asset confirm command. It reports WATCH when the build isn't promoted — no default channel → no promotion → no feed → the Assessment has nothing to link (the SR9 miss).
  • Add focused coverage for backport recommendations, servicing transitions, the triple-digit SR9 → SR10 bump, promoted/unpromoted feed cases, and the valid post-ship/no-in-flight transition before the next SR branch is cut.
  • Keep preview readiness available when GitHub's GraphQL PR-list endpoint is unhealthy by falling back to bounded REST queries with conservative field mapping and complete merged-PR pagination.

Release workflow captured

Operation Target Required behavior
Source fix backport Merged source PR on main Post /backport to release/<branch> only after main ancestry is verified
SR stabilization release/<major>.0.1xx-sr<N> Keep its PatchVersion; switch to servicing and stable packages after the final backport
Next-cycle preparation main Change only PatchVersion to (N+1)*10; keep SDK-band and CI prerelease settings unchanged
Ship Assessment feed release/<major>.0.1xx-sr<N> build Add default channel → promote the build → link the per-build darc-pub-dotnet-maui-<sha8> feed in the DevDiv Assessment so CSI/customers can validate the exact candidate packages

What not to do

  • Do not recommend a backport command for a fix that exists only on inflight/current.
  • Do not combine the main next-cycle bump with the release branch servicing flip.
  • Do not change SdkBandVersion or copy servicing settings onto main.
  • Do not create the ship Assessment without the per-build validation feed — if the SR branch has no BAR default channel the build is never promoted and no darc-pub-dotnet-maui-<sha8> feed exists to link.
  • Do not let the report mutate release or main refs, or create channels / promote builds / edit the Assessment; the skill remains report-only (it only derives and surfaces the feed URL).

Validation

  • The added and affected release-readiness assertions pass, including the exact SR9 → SR10 title/XML guidance, promoted (READY) / unpromoted (WATCH) feed cases, common-ancestry main-revert detection, the shipped-SR + next-candidate state with no in-flight SR, and GraphQL→REST PR-discovery fallback pagination.
  • The complete release-readiness harness reports 1069 passing assertions and 0 failures.
  • A live preview-readiness smoke-run completed successfully through REST fallback while GitHub's GraphQL endpoint was returning HTTP 502.

Guide merged mainline fixes through the repository backport automation and require non-main fixes to flow to main first.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: cf5a6299-1e58-4157-b7fd-b85efaa14755
Copilot AI review requested due to automatic review settings July 10, 2026 10:32
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool July 10, 2026 10:32 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 36497

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 36497"

@github-actions

github-actions Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Skill Validation Results

@kubaflo — new skill validation results are available based on this last commit: 386651d.
To request a fresh validation after new comments or commits, comment /evaluate-skills.

Overall Passed Static Passed LLM Skipped Skills 20 Agents 6

✅ Skill Validation Results — 386651d · Add actionable SR backport, version-transition, and ship-Assessment feed guidance · 2026-07-23T18:54:37Z

✅ Static Checks Passed

Skills: 20 | Eval specs linted: 7

Full lint output
── .github/skills/agentic-labeler/tests/eval.vally.yaml
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
✔ .github/skills/agentic-labeler/tests/eval.vally.yaml is valid
── .github/skills/code-review/tests/eval.capability.vally.yaml
✔ .github/skills/code-review/tests/eval.capability.vally.yaml is valid
── .github/skills/code-review/tests/eval.vally.yaml
✔ .github/skills/code-review/tests/eval.vally.yaml is valid
── .github/skills/code-review/tests/hermeticity.vally.yaml
✔ .github/skills/code-review/tests/hermeticity.vally.yaml is valid
── .github/skills/evaluate-pr-tests/tests/eval.vally.yaml
✔ .github/skills/evaluate-pr-tests/tests/eval.vally.yaml is valid
── .github/skills/try-fix/tests/eval.vally.yaml
✔ .github/skills/try-fix/tests/eval.vally.yaml is valid
── .github/skills/verify-tests-fail-without-fix/tests/eval.vally.yaml
✔ .github/skills/verify-tests-fail-without-fix/tests/eval.vally.yaml is valid

⏭️ LLM Evaluation: Skipped

No changed skills with eval specs found.

🔍 Full results and investigation steps

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool July 10, 2026 10:33 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool July 10, 2026 10:34 — with GitHub Actions Inactive

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

This PR updates the release-readiness skill documentation and tests to clarify the mainline-to-SR backport workflow, including when to recommend the /backport to release/... command and how to handle non-main PRs and automation conflicts.

Changes:

  • Documented an explicit SR backport handoff workflow (automation path + manual cherry-pick fallback) in the skill docs and methodology reference.
  • Updated regression-candidate classification to treat open non-main PRs as needs-human-review (not backport-ready).
  • Strengthened unit tests and markdown rendering assertions to require emitting the exact /backport to ... command for mainline-ready cases.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/skills/release-readiness/tests/Test-ReleaseReadiness.ps1 Adds coverage for exact backport-command recommendations and for open non-main PR classification.
.github/skills/release-readiness/SKILL.md Documents the SR backport handoff rules and expands the “gotchas” list to include the backport workflow.
.github/skills/release-readiness/scripts/Get-ReleaseReadiness.ps1 Adjusts open-PR classification logic and updates recommended actions / markdown output to reference the /backport command.
.github/skills/release-readiness/references/methodology.md Adds “Gotcha #4” describing the source-to-SR backport workflow and conflict fallback steps.

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool July 10, 2026 10:35 — with GitHub Actions Inactive
@github-actions github-actions Bot added the area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions label Jul 10, 2026
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool July 10, 2026 10:36 — with GitHub Actions Inactive
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: cf5a6299-1e58-4157-b7fd-b85efaa14755
Copilot AI review requested due to automatic review settings July 10, 2026 14:07
@kubaflo kubaflo changed the title Clarify release readiness backport workflow Document SR backport and servicing workflows Jul 10, 2026

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 04bf990b-a216-41df-aa75-08f62a1ecaf0
Copilot AI review requested due to automatic review settings July 10, 2026 15:19
@kubaflo kubaflo changed the title Document SR backport and servicing workflows Add actionable SR backport and version-transition guidance Jul 10, 2026

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

@kubaflo kubaflo added the area-ai-agents Copilot CLI agents, agent skills, AI-assisted development label Jul 11, 2026
An SR branch needs a BAR default-channel mapping so its build is promoted
and generates the per-build darc-pub NuGet feed (darc-pub-dotnet-maui-<sha8>).
The DevDiv ship Assessment must link that feed so CSI/customers can validate
the exact candidate packages. Without the mapping + promotion the feed never
exists and the Assessment ships incomplete — the SR9 miss.

Get-MaestroOperationalChecks now emits a "Ship Assessment validation feed"
check that derives and surfaces the feed URL (READY when the build is promoted,
WATCH when it isn't) plus the `darc get-asset` confirm command. Adds Gotcha #7
to methodology + a SKILL.md checks-table row, and extends the maestro unit
tests (Scenario 2 feed assertions + new Scenario 14 for the unpromoted build).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 136770fc-91e0-451c-8a4d-ea6a176f30e8
Copilot AI review requested due to automatic review settings July 13, 2026 16:35
@kubaflo kubaflo changed the title Add actionable SR backport and version-transition guidance Add actionable SR backport, version-transition, and ship-Assessment feed guidance Jul 13, 2026

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

@PureWeen PureWeen left a comment

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.

Adversarial review — current head e147c6f

Findings

  • ❌ Logic — Invoke-DarcJson treats darc's generic exit code 42 as a unique no-build result, so authentication, argument, network, and BAR failures are mislabeled as a benign WATCH/wait-for-CI state. (1/3 reviewers + repo domain specialist)
  • ❌ Regression — darc get-asset --output-format json returns locations as URL strings, but the parser and fixtures expect object-shaped locations. The new Assessment-feed READY path is therefore unreachable against real darc output. (3/3 reviewers after dispute)

Methodology: 3 independent reviewers with adversarial consensus + repo domain specialist. External behavior was verified against the authoritative dotnet/arcade-services darc implementation.

Test coverage: The harness replaces Invoke-DarcJson and supplies fabricated response shapes, so it cannot catch either contract mismatch. Add cases for a generic exit-42 failure that remains UNKNOWN and the real locations: ["https://..."] asset payload.

Prior review status: All 50 existing inline threads are resolved, and earlier findings were reconciled rather than duplicated.

Verdict: NEEDS_CHANGES

Both defects are in the new operational safeguard: one hides real darc failures, and the other prevents a published validation feed from ever being recognized.

…36497 review)

Addresses PureWeen re-review 4758597655 (NEEDS_CHANGES):

G1 — Invoke-DarcJson treated darc exit code 42 as a unique "no matching
build". Exit 42 is darc's generic Constants.ErrorCode, returned for
no-match, invalid arguments, auth failures, and unhandled exceptions
alike (verified in dotnet/arcade-services GetBuildOperation). Deriving
NoMatch from it made every real darc failure surface as a reassuring
WATCH ("wait for CI") during auth/network/BAR outages. Removed the
NoMatch derivation; any darc failure now surfaces as UNKNOWN, with the
message calling out that exit 42 is generic (could be no-build-yet,
auth, or network) and may be transient. The genuine empty-but-successful
case (exit 0, no builds) still maps to WATCH.

G2 — the ship-Assessment feed check parsed `darc get-asset
--output-format json` `locations` as `{ type, location }` objects with a
fallback top-level `NugetFeed` property. The real payload projects
locations to a flat array of URL strings
(GetAssetOperation: `locations = ...Select(l => l.Location)`), so every
lookup returned null and the feed READY path was unreachable even when
the per-build feed was published. Now collect the NuGet v3 feed URLs
from the location strings and prefer the per-build darc-pub feed.

Tests: added a direct Invoke-DarcJson exit-42 contract test, a
string-URL get-asset locations scenario, and updated the exit-42 build
scenario to assert UNKNOWN; refreshed all asset fixtures to the real
string-URL shape. 960/0 green; the 6 new/updated asserts fail without
their fix.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d00747b7-96f3-4e7a-8dfb-e3a48db04b2d
Copilot AI review requested due to automatic review settings July 22, 2026 21:10
@kubaflo

kubaflo commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

@PureWeen — both findings from the re-review are fixed in 81e3eb8:

  • darc exit-42 semantics — confirmed against dotnet/arcade-services: exit 42 is darc's generic Constants.ErrorCode, not a unique no-match. Invoke-DarcJson no longer derives NoMatch from it, and the get-build consumer now reports UNKNOWN (calling out the ambiguity) instead of a reassuring WATCH during auth/network/BAR failures. Genuine exit-0-empty still maps to WATCH.
  • darc get-asset locations shape — confirmed the JSON branch projects locations to a flat array of URL strings (...Select(l => l.Location)); the parser now reads the string URLs and prefers the per-build darc-pub feed, so the Assessment-feed READY path is reachable again.

Tests: 960/0 green, including a direct Invoke-DarcJson exit-42 contract test and a string-URL get-asset scenario; the 6 new/updated asserts fail without their fix. Both threads resolved. Ready for another look.

🔍 AI-generated summary on @kubaflo's behalf.

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@PureWeen PureWeen left a comment

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.

Adversarial review — current head 81e3eb8

Finding

  • ❌ Logic — The new string-location parser falls back to any NuGet-v3 URL when the required per-build public darc-pub feed is absent. A durable, shared, internal, or wrong-SHA feed can therefore make the Assessment check READY and be linked as if it contained only the exact candidate packages. (3/3 reviewers after dispute)

What looks right: The same self-correction correctly stops treating generic darc exit code 42 as a unique no-build signal and now parses the real locations: string[] payload shape.

Methodology: 3 independent reviewers with adversarial consensus + repo domain specialist. The feed-location behavior was verified against dotnet/arcade and dotnet/arcade-services publishing source.

Test coverage: The new fixtures prove string-URL parsing and darc-pub preference, but do not cover a payload containing only a shared/internal feed or a darc-pub URL for the wrong SHA. Those cases should remain WATCH.

Prior review status: All 52 earlier inline threads are resolved. This finding is a distinct regression introduced by the 81e3eb8 self-correction, not a duplicate of the prior object-shape finding.

Verdict: NEEDS_CHANGES

The report can still green-light the ship Assessment with a feed that is not the required public per-build validation feed.

…36497 review)

PureWeen adversarial finding (3634079346): the get-asset feed check treated ANY
NuGet-v3 location as satisfying the required public per-build validation feed. It
preferred a substring 'darc-pub' match (accepting a darc-pub feed for a DIFFERENT
build's SHA) and, failing that, fell back to the first NuGet-v3 feed of any kind
(shared/durable/internal). Both paths marked the row READY and told the release
captain to link a feed that cannot prove CSI/customers validated the exact
candidate packages (wrong-SHA feeds mix builds; internal feeds require auth).

Fix: gate READY strictly on the already-computed expected feed name
`darc-pub-dotnet-maui-<buildSha8>` (SHA-exact, case-insensitive). If that exact
feed is not among the asset's locations, stay WATCH and note that any other
returned feeds are shared/durable/wrong-SHA and are not linked.

Tests: add scenario 2d (shared dotnet-eng + internal darc-int-<sha> feeds → WATCH,
regression for the "any NuGet v3 feed" fallback) and 2e (darc-pub feed for the
WRONG sha → WATCH, regression for the loose 'darc-pub' substring match); update
scenarios 2/2b for the new wording. Harness: 967/0; without the script fix exactly
7 asserts fail (incl. both new WATCH-vs-READY status checks).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d00747b7-96f3-4e7a-8dfb-e3a48db04b2d
Copilot AI review requested due to automatic review settings July 22, 2026 22:31
@kubaflo

kubaflo commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

@PureWeen addressed the latest finding in 2e9f548a12a5 — the ship-Assessment feed check now gates READY on the exact per-build darc-pub-dotnet-maui-<buildSha8> URL (SHA-exact), so shared/durable/internal or wrong-SHA feeds no longer produce a false READY; they stay WATCH. Added regression scenarios 2d (shared/internal-only) and 2e (wrong-SHA darc-pub). Harness 967/0; 7 asserts fail without the fix. Ready for re-review — thanks!

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

Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.

@PureWeen PureWeen left a comment

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.

Adversarial review — current head 2e9f548a

Finding

  • ❌ Logic — A failed darc get-asset call on a promoted build leaves $feedCandidates and $expectedFeedToken unset, but the new WATCH path reads both under StrictMode. The exception aborts the entire readiness report instead of degrading the feed check. (3/3 reviewers)

What looks right: The SHA-matched per-build feed gate and its shared/internal/wrong-SHA negative fixtures correctly address the previous review finding.

Methodology: 3 independent reviewers with adversarial consensus + repo domain specialist.

Test coverage: The harness already exposes -AssetAuthFail, but no scenario invokes it. Add a promoted-build asset-failure case that proves the report does not throw and emits a non-READY feed row.

Prior review status: All 53 earlier inline threads are resolved. This is a distinct regression introduced by the 2e9f548a self-correction.

Verdict: NEEDS_CHANGES

A transient asset lookup failure currently prevents any release-readiness report from being produced.

The SHA-exact feed gating added in 2e9f548 initialized $feedCandidates and
$expectedFeedToken only inside the `if ($asset.Success)` block. When
`darc get-asset` fails (auth/network, or the asset isn't published yet), the
else/WATCH branch reads both variables — under Set-StrictMode -Version Latest
that throws on the unset variables and aborts the entire readiness report.

Initialize $feedCandidates and $expectedFeedToken (plus an $assetLookupOk flag)
before the success check, and give the WATCH branch a dedicated failed-lookup
case that reports the lookup "did not return a usable result" instead of
implying the feed was checked and absent. Adds regression scenario 2f
(-AssetAuthFail) asserting the feed check degrades to WATCH and the report
still completes (build check emitted) rather than aborting.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d00747b7-96f3-4e7a-8dfb-e3a48db04b2d
Copilot AI review requested due to automatic review settings July 23, 2026 00:28
@kubaflo

kubaflo commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

@PureWeen — addressed your latest finding in fe15bb2c565. The darc get-asset failure path no longer aborts the readiness report under Set-StrictMode -Version Latest: $feedCandidates/$expectedFeedToken are initialized before the success check, the WATCH branch handles the failed lookup explicitly ("did not return a usable result"), and regression scenario 2f (-AssetAuthFail) locks it in (fails 4/4 without the fix, harness 971/0 with). Ready for another look.

🔍 AI-generated summary on @kubaflo's behalf.

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

Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.

@PureWeen PureWeen left a comment

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.

Adversarial review — current head fe15bb2c

No new findings survived adversarial consensus.

What looks right: The promoted-build get-asset failure path now initializes all WATCH-path state before the success gate, degrades safely to WATCH, and preserves the rest of the readiness report.

Methodology: 3 independent reviewers with adversarial consensus + repo domain specialist.

Test coverage: Scenario 2f exercises the real failure branch through -AssetAuthFail and independently proves no throw, WATCH status, accurate failure detail, and continued build-check output. Earlier exact-feed, wrong-SHA, JSON-shape, and exit-42 cases remain covered.

Prior review status: All 54 existing inline threads are resolved; the latest self-correction addresses the prior unanimous finding without reintroducing earlier issues.

Verdict: NO NEW FINDINGS

@PureWeen

Copy link
Copy Markdown
Member

I think this should be fixed in this PR rather than deferred. The failing Validate (PR) assertion is not random flakiness: the live E2E currently assumes an in-flight SR always exists, but the valid ship-to-next-cut state can contain only the highest shipped SR plus the next candidate (currently SR9 shipped + SR10 candidate).

Recommended change in .github/skills/release-readiness/tests/Test-ReleaseReadiness.ps1:

  • Replace the hard failure at no in-flight SR to anchor candidate numbering with a numbering anchor that prefers the highest in-flight SR, then falls back to the highest shipped refresh tracker.
  • Assert candidate.srNumber == anchor.srNumber + 1 and candidate.priorSrBranch == anchor.branchName for either state.
  • Update the nearby comments to explicitly allow the ship-to-next-cut gap.
  • Add a deterministic synthetic shipped+candidate/no-in-flight fixture so this transition remains covered after the live repository advances.

The current detector output already demonstrates the valid shape: shipped SR9, no in-flight SR, candidate SR10 with priorSrBranch=release/10.0.1xx-sr9. The failing assertion is unchanged from the PR base, but this PR already updates the same E2E harness for drift-proof release transitions, so fixing it here is tightly coupled and avoids leaving the directly relevant validation check red.

Copilot AI added 2 commits July 23, 2026 11:41
Allow candidate numbering to anchor on the highest shipped refresh SR when no in-flight SR exists between a ship and the next branch cut. Add a deterministic synthetic detector fixture for the shipped-plus-candidate state.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4c228cec-8795-4bd5-a86c-c3fede46d534
Bound main-side revert scanning from the prior release baseline instead of the current SR tip, preserving reverts inherited into both main and the SR. Keep the post-ship detector fixture offline and add a synthetic common-ancestry git graph regression test.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4c228cec-8795-4bd5-a86c-c3fede46d534

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.

Copilot's findings

  • Files reviewed: 4/5 changed files
  • Comments generated: 2

Comment on lines 5618 to +5621
$script:_origGetContent = Get-Command Get-ContentFromRepo -CommandType Function -ErrorAction SilentlyContinue
$script:_mockVdText = $fixtureVd
function global:Get-ContentFromRepo {
$script:OrigGetContentFromRepoForPins = ${function:Get-ContentFromRepo}
function Get-ContentFromRepo {
Comment on lines +306 to +307
4. Confirm the feed location with `darc get-asset --name
Microsoft.Maui.Controls --build <BAR id>` (prints the `NugetFeed` location).

@PureWeen PureWeen left a comment

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.

Adversarial review — current head b016b54bce9

No new findings survived adversarial consensus.

What looks right: The live SR E2E now accepts the valid shipped-plus-candidate/no-in-flight window while retaining candidate-number and priorSrBranch assertions. Its synthetic fixture exercises the real detector without network access. The main-revert scan now uses the prior release baseline, preserving common-ancestry reverts without returning to an all-history scan.

Methodology: 3 independent reviewers with adversarial consensus + repo domain specialist. Two initial findings were fixed and re-reviewed clean by all reviewers.

Test coverage: The complete local harness reports 1057/0. New deterministic coverage proves the post-ship transition and a real fix→revert git graph where the old current-SR bound loses the revert.

Prior review status: All 54 existing inline threads are resolved.

Verdict: NO NEW FINDINGS

Scope: code review only. CI/check status and merge readiness are assessed separately.

Copilot AI added 2 commits July 23, 2026 13:42
Preserve preview PR discovery during GitHub GraphQL 502 and rate-limit failures by projecting REST pull-request responses into the existing report shape. Improve retry diagnostics and cover open/merged fallback behavior.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4c228cec-8795-4bd5-a86c-c3fede46d534
Continue through REST closed-PR pages until 100 actual merges are collected, and fail to the existing unavailable-history path if a bounded scan cannot reach the end. Add page-two displacement coverage.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4c228cec-8795-4bd5-a86c-c3fede46d534

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.

Copilot's findings

  • Files reviewed: 5/6 changed files
  • Comments generated: 0 new

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-ai-agents Copilot CLI agents, agent skills, AI-assisted development area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants