Open wilzbach opened 6 years ago
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.
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.
Maybe dlang-bot is too fast and it just needs to wait a bit before responding to GH?