-
Notifications
You must be signed in to change notification settings - Fork 114
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
The GraphQL request to GitHub API is failing python.cz build #287
Comments
We should first put there some logging to figure out why it happens to be
500 in the first place.
…On Mon, 17 Sep 2018 at 11:18, Miro Hrončok ***@***.***> wrote:
I see:
ValueError: Unexpected status '500 INTERNAL SERVER ERROR' on URL /zapojse/
Every now and then. I often need to restart the build for the website to
deploy.
Maybe the GitHub API call should have some retrying instead?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#287>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARTMftRbQJzSEZpTcxWC1srm2zVQwwFks5ub2adgaJpZM4WrhGa>
.
|
Official reply from GitHub:
|
The steps to solve this would be:
|
It's not flaky anymore. It is just failing. The last time it passed was a month ago. |
Interestingly, the page already was trying to be resilient, expecting "Zapoj se" to fail, catching and logging the exception while still rendering the page. The problem was, all the time, that the page returned 500 status code and that failed the Elsa build 🤦♂ I hotfixed it here: 93fc670 |
I think that the idea is still useful but the list should contain only easily fixable issues which are the best starting point for a new community member. |
We could implement that with dedicated labels. Then its perhaps just a
matter of rewiring the GraphQL query so it only takes issues with that
label. Theres no real standard (as can be seen in
https://github.com/MunGell/awesome-for-beginners#readme ), we can follow
https://www.firsttimersonly.com/ or invent our own.
…On Thu, 29 Aug 2019 at 10:30, frenzymadness ***@***.***> wrote:
I think that the idea is still useful but the list should contain only
easily fixable issues which are the best starting point for a new community
member.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#287?email_source=notifications&email_token=AACFGMIWUCBGRZFBXG3F6GLQG6CL5A5CNFSM4FVOCGNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5NWNJA#issuecomment-526083748>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACFGMKQWIVLUSZMF25YK63QG6CL5ANCNFSM4FVOCGNA>
.
|
@honzajavorek Could you please explain how it works now? I think that use a dedicated label ( |
From the top of my head: there is a GraphQL query for GitHub v4 GraphQL
API, which is ran for each GitHub organization (currently two, Pyladiescz
and pyvec, but afaik they created sth for pydata on the sprint a few days
ago). It collects issues and PRs from all repos and sorts them by a number
of votes / participants.
…On Thu, 29 Aug 2019 at 11:34, frenzymadness ***@***.***> wrote:
@honzajavorek <https://github.com/honzajavorek> Could you please explain
how it works now? I think that use a dedicated label (zapojse or more
common easyfix) and list all issues with that label from all our
organizations is what we want.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#287?email_source=notifications&email_token=AACFGMKLOASNK25GNBB66ZDQG6JZTA5CNFSM4FVOCGNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5N4C3Y#issuecomment-526106991>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACFGMOHY4MRVRRQ5XQNFMTQG6JZTANCNFSM4FVOCGNA>
.
|
With a query like this:
I can imagine that it might work because the result will be smaller and will contain only issues we marked as good entry points for newcomers on purpose. Then reason I am using IIRC @messa was working with GraphQL so he might be able to help us here. |
A hint for pagination: https://til.simonwillison.net/github/graphql-pagination-python |
I see:
Every now and then. I often need to restart the build for the website to deploy.
Maybe the GitHub API call should have some retrying instead?
The text was updated successfully, but these errors were encountered: