Github gateway timeout

Since about 2 days, we’re experiencing frequent failures to pull code from github, with the 504: Gateway timeout error code.
Where does such a failure happen ? Is it Github itself that responds with the 504, or is it the Builder environment that is using too short timeout values ? Or anything else ?

It is making building impossible. With about 10-15 peices of code pulled from Github, there’s always at least one that fails.

Can builder build in more resilience ? Retrying to pull should be a step because it’s clear that the chances of succeeding is about 1 in 3.

Are you seeing long delays every time it gets a 504? This does imply they are being returned by github itself…