Skip to content

pr-finisher: resolve Copilot-answered review threads before re-engaging copilot-review - #49111

Merged
pelikhan merged 2 commits into
mainfrom
copilot/update-pr-finisher-resolve-comments
Jul 30, 2026
Merged

pr-finisher: resolve Copilot-answered review threads before re-engaging copilot-review#49111
pelikhan merged 2 commits into
mainfrom
copilot/update-pr-finisher-resolve-comments

Conversation

Copilot AI commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

The pr-finisher skill had no explicit handling for review threads that Copilot already answered but never resolved — those would get re-delegated to copilot-review unnecessarily.

Changes

  • SKILL.md — Step 2 split into 2a/2b:
    • 2a (new): Before delegating to copilot-review, find unresolved threads where Copilot has already left a substantive reply and resolve them immediately. Uses jq filter on the existing $PR_SNAPSHOT — no extra API calls.
    • 2b: Former step 2 — delegate remaining truly-unresolved threads to copilot-review.
  • Conditions table: Updated Reviews row to state Copilot-answered threads must be resolved before copilot-review delegation.
  • Completion standard: Added requirement that step 2a ran before step 2b.

Copilot AI and others added 2 commits July 30, 2026 10:12
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Update pr-finisher: resolve Copilot-answered review threads pr-finisher: resolve Copilot-answered review threads before re-engaging copilot-review Jul 30, 2026
Copilot AI requested a review from pelikhan July 30, 2026 10:13
@pelikhan
pelikhan marked this pull request as ready for review July 30, 2026 10:17
Copilot AI review requested due to automatic review settings July 30, 2026 10:17
@pelikhan
pelikhan merged commit 874225a into main Jul 30, 2026
@pelikhan
pelikhan deleted the copilot/update-pr-finisher-resolve-comments branch July 30, 2026 10:18

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

Adds pre-delegation handling for Copilot-answered review threads in pr-finisher.

Changes:

  • Adds step 2a to identify and resolve answered threads.
  • Updates review conditions and completion criteria.
  • Includes unrelated skill-index and generated workflow lock-file changes.
Show a summary per file
File Description
.github/skills/pr-finisher/SKILL.md Adds Copilot-answer thread handling.
.github/skills/agentic-workflows/SKILL.md Adds unrelated reference entries.
.github/workflows/*.lock.yml Propagates an unrelated cache-miss output across generated workflows.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 244/244 changed files
  • Comments generated: 2
  • Review effort level: Medium


```bash
# Identify unresolved threads that already have a Copilot reply
jq '.reviewThreads[]? | select(.isResolved==false) | select(any(.comments[]?; .author.login == "app/github-copilot" or (.author.login | test("copilot"; "i"))))' "$PR_SNAPSHOT"
http_400_response_error: ${{ steps.detect-agent-errors.outputs.http_400_response_error || 'false' }}
inference_access_error: ${{ steps.detect-agent-errors.outputs.inference_access_error || 'false' }}
invocation_cap_exceeded: ${{ steps.detect-agent-errors.outputs.invocation_cap_exceeded || 'false' }}
max_cache_misses_exceeded: ${{ steps.detect-agent-errors.outputs.max_cache_misses_exceeded || 'false' }}
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.1

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