Skip to content

Instantly share code, notes, and snippets.

@malfet
Last active March 25, 2022 01:17
Show Gist options
  • Save malfet/9b93bc7eeddeaf1d84546efc4f0c577f to your computer and use it in GitHub Desktop.
Save malfet/9b93bc7eeddeaf1d84546efc4f0c577f to your computer and use it in GitHub Desktop.
GraphQL query causing HTTP/502
query {
repository(owner: "pytorch", name: "pytorch") {
pullRequest(number: 68111) {
closed
isCrossRepository
author {
login
}
title
body
headRefName
headRepository {
nameWithOwner
}
baseRefName
baseRepository {
nameWithOwner
isPrivate
defaultBranchRef {
name
}
}
mergeCommit {
oid
}
commits(first: 100) {
nodes {
commit {
author {
user {
login
}
email
name
}
oid
checkSuites(first: 50) {
nodes {
app {
name
databaseId
}
workflowRun {
workflow {
name
}
}
checkRuns(first: 10) {
nodes {
name
conclusion
}
pageInfo {
endCursor
hasNextPage
}
}
conclusion
}
pageInfo {
endCursor
hasNextPage
}
}
}
}
totalCount
}
changedFiles
files(first: 100) {
nodes {
path
}
pageInfo {
endCursor
hasNextPage
}
}
reviews(last: 100) {
nodes {
author {
login
}
state
}
totalCount
}
comments(last: 5) {
nodes {
bodyText
author {
login
}
authorAssociation
editor {
login
}
databaseId
}
pageInfo {
startCursor
hasPreviousPage
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment