Skip to content

Fix discussion gates in PR attention queue - #69492

Merged
PureWeen merged 4 commits into
mainfrom
pureween-fix-pr-attention-queue
Oct 1, 2026
Merged

PureWeen merged 4 commits into
mainfrom
pureween-fix-pr-attention-queue

Conversation

@PureWeen

@PureWeen PureWeen commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • classify only exact single-line /review and /azp run top-level comments as coordination-only evidence, without treating submitted review bodies the same way
  • clear older top-level feedback for ordinary review dispatch only when the chronologically latest author top-level response is a recognized whole-response completion or handoff
  • fail closed when a newer acknowledgement, coordination command, outstanding-work statement, or mixed tied-timestamp response follows an older completion; a newer recognized completion restores the handoff
  • preserve strict merge discussion assessment, later-feedback gating, unresolved-thread gating, and incomplete-evidence gating
  • document the behavior and add deterministic coordination, author-response, sequencing, response-evidence, and merge regressions

Validation

  • pwsh .github\skills\pr-attention-queue\tests\Test-PRAttentionQueue.ps1
    • All merge eligibility cases passed.
    • Merge state refresh: 17/17 passed; 0 failed.
    • All PR attention queue tests passed.
  • git -c core.longpaths=true diff --check
  • git -c core.longpaths=true diff --check -- .github\skills\pr-attention-queue

Red/green verification through the real queue path recorded four false clears at the prior head (Fixed. followed by outstanding work, Thanks!, /azp run, or a mixed tied-timestamp response). At this head all six sequencing rows pass, including completion-only and renewed-completion positive controls; every merge row remains verification-needed.

Copilot AI lite review requested due to automatic review settings September 24, 2026 13:42
@PureWeen
PureWeen requested review from a team and wtgodbe as code owners September 24, 2026 13:42

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 review overview

🔵 Needs a closer look

Two moderate response-heuristic issues remain around branch-update and hedged completion detection.

Review effort: Lite
Findings: None

What changed in this PR

Fixes PR discussion gates by separating coordination comments from substantive feedback and tightening author-response handling.

Changes:

  • Adds strict /review and /azp run coordination detection.
  • Adds conservative author-completion heuristics.
  • Expands documentation, fixtures, and regression tests.
File Summary
.github/​skills/​pr-attention-queue/​tests/​Test-PRAttentionQueue.ps1 Adds coordination and author-response regressions.
.github/​skills/​pr-attention-queue/​tests/​Test-MergeEligibility.ps1 Adds merge coordination coverage.
.github/​skills/​pr-attention-queue/​tests/​fixtures/​discussion-pull-requests.json Adds discussion fixtures.
.github/​skills/​pr-attention-queue/​SKILL.md Documents updated gating behavior.
.github/​skills/​pr-attention-queue/​scripts/​PRAttentionQueue.psm1 Implements discussion classification and response heuristics.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@PureWeen
PureWeen merged commit 15f25b3 into main Oct 1, 2026
17 checks passed
@PureWeen
PureWeen deleted the pureween-fix-pr-attention-queue branch October 1, 2026 14:46
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 2, 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