dlang-bot icon indicating copy to clipboard operation
dlang-bot copied to clipboard

dlang-bot is hitting a lot of 404's lately

Open wilzbach opened this issue 7 years ago • 2 comments
trafficstars

[github/pull_request](dlang/phobos#6370): action=opened
GET https://api.github.com/repos/dlang/phobos/pulls/6370/commits failed; Not Found 404.

Maybe dlang-bot is too fast and it just needs to wait a bit before responding to GH?

wilzbach avatar Mar 28 '18 22:03 wilzbach

Assuming that this breaks dlang-bot functionality. Quite sloppy of github to not persist all data before sending off hooks. Can we confirm that this is an actual GH issue and that waiting would help? Maybe we need some kind of a job queue that allows retry on temporary failures, though 404 is a bit tricky.

MartinNowak avatar Apr 06 '18 14:04 MartinNowak

Can we confirm that this is an actual GH issue and that waiting would help?

I haven't looked into the logs lately, so I can't really confirm, but it doesn't appear all to often so the only explanation for these rare 404 is that GitHub uses some CDN or distributed database (maybe mongo :P) that doesn't support full consistency.

Maybe we need some kind of a job queue that allows retry on temporary failures, though 404 is a bit tricky.

We also sometimes get 401s when the API limit is exhausted, so a queue might help there too.

wilzbach avatar Apr 06 '18 14:04 wilzbach