Possible bug when including ReviewRequests in a PullRequest search


#1

I ran into an issue with including Review Requests in a Pull Request search. It worked fine when there weren’t actually any review requests, an empty array was returned as expected. After creating a review request, I received the error/bug message.

Query:

{
  search(first: 20, type: ISSUE, query: "is:pr is:open author:brianpattison") {
    edges {
      node {
        ... on PullRequest {
          id
          title
          reviewRequests(first: 20) {
            edges {
              node {
                id
              }
            }
          }
        }
      }
    }
  }
}

Result:

{
  "data": null,
  "errors": [
    {
      "message": "Something went wrong while executing your query. This is most likely a GitHub bug. Please include \"9DE8:1B5A9:268C9E3:3135D5F:58BE1E9E\" when reporting this issue."
    }
  ]
}

#2

This query works now, so it seems the bug has been fixed. Thanks! :slight_smile:


#3