Skip to content

Review requests skip the required checks gate #3880

Open

Description

@sentry-junior

Junior asks a person to review a pull request before its required checks pass on three paths. design/attention.md and design/github.md say Junior asks for a review only when the required checks pass.

  • PR opened ready for review: requestPullRequestReviewers in packages/junior-github/src/tools/create-pull-request.ts asks the named reviewers, or else the requester, as soon as draft is false. It reads no check status. Only drafts wait for checks, through the draft-ready guidance in events/pull-request.ts.
  • Change request marked addressed: requestReviewAgain in tools/update-pull-request-feedback.ts checks only that the reviewer's latest review is still CHANGES_REQUESTED.
  • Push after a change request: webhooks/pull-request-action.ts returns { action: "review", rereview: true } once the head moves past the change request commit. So the Inbox shows "Review requested" again with no check gate.

#3867 records these as gaps in design/github.md.

via @BYK.

--

View Session [Sentry]

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions