Unable to query releases of some repositories


#1

I am using the following query since early this year without any issues (on a daily basis). It stopped working about 2 days ago.

GraphQL request:

{
  viewer {
    starredRepositories(first: 100, ownedByViewer: false) {
      edges {
        node {
          releases(last: 1) {
            nodes {
              tag {
                name
              }
              name
              description
              publishedAt
            }
          }
          stargazers {
            totalCount
          }
          owner {
            avatarUrl(size: 256)
            login
            path
          }
          primaryLanguage {
            name
            color
          }
          parent {
            path
          }
          id
          name
          path
          createdAt
          pushedAt
          description
          homepageUrl
          updatedAt
        }
        starredAt
      }
      pageInfo {
        endCursor
        hasNextPage
      }
    }
  }
}

GraphQL response JSON:

{
  "data": null,
    "errors": [{
      "message": "Cannot return null for non-nullable field Release.name"
    }]
}

Node.js is one of the repository that cause this error.

GraphQL request:

{
  repository(owner: "nodejs", name: "node") {
    releases(last: 1) {
      edges {
        node {
          tag {
            name
          }
          name
          description
          publishedAt
        }
      }
    }
  }
}

GraphQL response JSON:

{
  "data": null,
  "errors": [
    {
      "message": "Something went wrong while executing your query. This is most likely a GitHub bug. Please include \"C678:219A8:AAA93A8:D8AC998:5917A4E1\" when reporting this issue."
    }
  ]
}

#2

Getting the releases of Node.js (and most of the repositories) is working again! Thanks for the fix :slight_smile:

I’m still unable to run my first query, though. so-fancy/diff-so-fancy still raise that same error.

GraphQL request

{
  repository(owner: "so-fancy", name: "diff-so-fancy") {
    releases(last: 1) {
      edges {
        node {
          tag {
            name
          }
          name
          description
          publishedAt
        }
      }
    }
  }
}

GraphQL response

{
  "data": null,
  "errors": [
    {
      "message": "Cannot return null for non-nullable field Release.name"
    }
  ]
}

#3

Ah, this should be a quick fix. I’ll let you know when it’s been deployed.


#4

This has been fixed!