You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/11/01 09:34:16 UTC
[GitHub] [incubator-devlake] likyh opened a new issue, #3635: [Bug][github_graphql] sometimes github is busy and can not deal 100 per page in graphql
likyh opened a new issue, #3635:
URL: https://github.com/apache/incubator-devlake/issues/3635
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened
```graphql
query ($name: String!, $owner: String!, $pageSize: Int!, $skipCursor: String) {
rateLimit {
cost
}
repository(owner: $owner, name: $name) {
pullRequests(first: $pageSize, after: $skipCursor) {
pageInfo {
endCursor
hasNextPage
}
nodes {
databaseId
number
state
title
body
url
labels(first: 100) {
nodes {
id
name
}
}
author {
... on User {
login
databaseId
name
company
email
avatarUrl
url
}
}
assignees(first: 1) {
nodes {
... on User {
login
databaseId
name
company
email
avatarUrl
url
}
}
}
closedAt
mergedAt
updatedAt
createdAt
mergeCommit {
oid
}
headRefName
headRefOid
baseRefName
baseRefOid
commits(first: 100) {
pageInfo {
endCursor
hasNextPage
}
nodes {
commit {
oid
message
author {
name
email
date
user {
... on User {
login
databaseId
name
company
email
avatarUrl
url
}
}
}
committer {
date
email
name
}
}
url
}
totalCount
}
reviews(first: 100) {
totalCount
nodes {
body
author {
... on User {
login
databaseId
name
company
email
avatarUrl
url
}
}
state
databaseId
commit {
oid
}
submittedAt
}
}
}
totalCount
}
}
}
```
input
```
{"name":"pdfbox","owner":"apache","pageSize":100,"skipCursor":null}
```
Result:
![Uploading image.png…]()
### What do you expect to happen
collect success. So let's use 30 per page.
### How to reproduce
use query and input to request github graphql.
### Anything else
_No response_
### Version
main
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh closed issue #3635: [Bug][github_graphql] sometimes github is busy and can not deal 100 per page in graphql
Posted by GitBox <gi...@apache.org>.
klesh closed issue #3635: [Bug][github_graphql] sometimes github is busy and can not deal 100 per page in graphql
URL: https://github.com/apache/incubator-devlake/issues/3635
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org