-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Something went wrong while executing your query #8
Comments
That's a bit odd, the query is not too complex. query {
viewer {
createdAt
issues {
totalCount
}
pullRequests {
totalCount
}
contributionsCollection {
contributionYears
}
gists(first: 100) {
totalCount
nodes {
stargazers {
totalCount
}
}
}
repositories(affiliations: OWNER, first: 100) {
totalCount
nodes {
stargazers {
totalCount
}
languages(first: 100) {
edges {
size
node {
color
name
}
}
}
}
}
repositoriesContributedTo {
totalCount
}
}
rateLimit { cost remaining resetAt }
} |
Hello, thanks i got a result that seems not glitchy anymore. {
"data": {
"viewer": {
"createdAt": "2019-01-11T14:05:31Z",
"issues": {
"totalCount": 30
},
"pullRequests": {
"totalCount": 49
},
"contributionsCollection": {
"contributionYears": [
2021,
2020,
2019
]
},
"gists": {
"totalCount": 2,
"nodes": [
{
"stargazers": {
"totalCount": 0
}
},
{
"stargazers": {
"totalCount": 0
}
}
]
},
"repositories": {
"totalCount": 6,
"nodes": [
{
"stargazers": {
"totalCount": 32
},
"languages": {
"edges": [
{
"size": 30434,
"node": {
"color": "#f1e05a",
"name": "JavaScript"
}
}
]
}
},
{
"stargazers": {
"totalCount": 0
},
"languages": {
"edges": []
}
},
{
"stargazers": {
"totalCount": 6
},
"languages": {
"edges": [
{
"size": 37417,
"node": {
"color": "#f1e05a",
"name": "JavaScript"
}
},
{
"size": 171,
"node": {
"color": "#89e051",
"name": "Shell"
}
}
]
}
},
{
"stargazers": {
"totalCount": 4
},
"languages": {
"edges": [
{
"size": 118,
"node": {
"color": "#89e051",
"name": "Shell"
}
},
{
"size": 4421,
"node": {
"color": "#f1e05a",
"name": "JavaScript"
}
}
]
}
},
{
"stargazers": {
"totalCount": 0
},
"languages": {
"edges": []
}
},
{
"stargazers": {
"totalCount": 0
},
"languages": {
"edges": [
{
"size": 1173,
"node": {
"color": "#563d7c",
"name": "CSS"
}
},
{
"size": 564,
"node": {
"color": "#e34c26",
"name": "HTML"
}
},
{
"size": 7912,
"node": {
"color": "#f1e05a",
"name": "JavaScript"
}
},
{
"size": 9570,
"node": {
"color": "#ff3e00",
"name": "Svelte"
}
}
]
}
}
]
},
"repositoriesContributedTo": {
"totalCount": 27
}
},
"rateLimit": {
"cost": 1,
"remaining": 4960,
"resetAt": "2021-05-05T15:34:17Z"
}
}
} |
Can you try the action again? |
I get the same error as before... |
Can you post a link to the action run that failed? |
I noticed that the |
I'm not sure what the issue is. Could you fork the repo and debug the code to see what the issue is? |
I am also getting this error: https://github.com/NikolayIT/NikolayIT/runs/3398331571 |
@NikolayIT can you also try to run the query manually? See #8 (comment) If that works, could you report the issue to github and see what they say? |
@teoxoy I ran the query in the explorer and get a proper response. Where should I report the error to GitHub? |
You can report it here https://support.github.com/contact/bug-report |
@teoxoy That's their answer:
|
Could you ask them which one of the queries triggered the limit? The queries that this action uses should be pretty simple. I don't see how they would run for longer than 10s. |
@teoxoy Here is the response:
|
There are 2 other queries that are dynamically built based on data ( |
This is the response of the main query: Can you build it for me and I will try to run it?
|
{
viewer {
_2021: contributionsCollection(from: "2021-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2020: contributionsCollection(from: "2020-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2019: contributionsCollection(from: "2019-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2018: contributionsCollection(from: "2018-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2017: contributionsCollection(from: "2017-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2016: contributionsCollection(from: "2016-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2015: contributionsCollection(from: "2015-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2014: contributionsCollection(from: "2014-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2013: contributionsCollection(from: "2013-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2012: contributionsCollection(from: "2012-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2011: contributionsCollection(from: "2011-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2010: contributionsCollection(from: "2010-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2009: contributionsCollection(from: "2009-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2008: contributionsCollection(from: "2008-01-01T00:00:00.000Z") {
totalCommitContributions
}
_2007: contributionsCollection(from: "2007-01-01T00:00:00.000Z") {
totalCommitContributions
}
}
} |
I waited 3-4 seconds but I got a response in the GraphQL explorer |
can you try the 2nd one as well? {
viewer {
_2021: contributionsCollection(from: "2021-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2020: contributionsCollection(from: "2020-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2019: contributionsCollection(from: "2019-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2018: contributionsCollection(from: "2018-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2017: contributionsCollection(from: "2017-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2016: contributionsCollection(from: "2016-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2015: contributionsCollection(from: "2015-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2014: contributionsCollection(from: "2014-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2013: contributionsCollection(from: "2013-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2012: contributionsCollection(from: "2012-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2011: contributionsCollection(from: "2011-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2010: contributionsCollection(from: "2010-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2009: contributionsCollection(from: "2009-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2008: contributionsCollection(from: "2008-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
_2007: contributionsCollection(from: "2007-01-01T00:00:00.000Z") {
totalPullRequestReviewContributions
}
}
} |
Again it took 3-4 seconds and then I got the result. Are you running other queries? Or is it slower when ran on GitHub action? |
No, only these 3 queries. It shouldn't run slower because the queries are sent and processed on github's servers. |
@Mr-KayJayDee @NikolayIT are you guys still running into this issue? |
Hello, I got an answer from github with this issue : #6 .
Here is:
How can I split into several queries ?
Thanks for the answer. 🙃
The text was updated successfully, but these errors were encountered: