Skip to content

Request a Copilot review again after a reopen or ready for review - #205

Merged
Jesse Hills (jesserockz) merged 1 commit into
mainfrom
jesserockz-2026-996
Nov 22, 2026
Merged

Jesse Hills (jesserockz) merged 1 commit into
mainfrom
jesserockz-2026-996

Conversation

@jesserockz

Copy link
Copy Markdown
Member

Without every-push, request-copilot-review.cjs skipped a pull request as soon as its timeline held any Copilot review_requested event. The per-repo workflows this replaces ran on pull_request_target for opened, reopened and ready_for_review and always requested a review, so a reopened or re-readied pull request got a fresh one. With the shared workflow it never did. Copilot flagged this on esphome/aioesphomeapi#2028.

A Copilot request now only counts when it comes after the latest reopened, ready_for_review or convert_to_draft event on the timeline. A pull request with none of those events behaves as before, and pushes still reset nothing. The rule is still settled from reads alone, so the hourly sweep writes nothing unless a request is needed. The every-push path is unchanged.

Callers pinned to 2026.11.1 need a new release and a re-pin to pick this up.

Without every-push, any earlier Copilot request made the pull request
skip forever, so a reopened or re-readied pull request never got the
fresh review the per-repo workflows gave it. Only a request made after
the latest reopened, ready_for_review or convert_to_draft event counts
now. Pushes still reset nothing.
@jesserockz
Jesse Hills (jesserockz) marked this pull request as draft November 20, 2026 03:29
@jesserockz
Jesse Hills (jesserockz) marked this pull request as ready for review November 22, 2026 19:45
@jesserockz
Jesse Hills (jesserockz) merged commit 6e7c96f into main Nov 22, 2026
55 checks passed
@jesserockz
Jesse Hills (jesserockz) deleted the jesserockz-2026-996 branch November 22, 2026 19:45
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.

1 participant