Docker downloads timing out

Hi,

We’re using GitHub actions for CI builds for our node.js services. Our workflows follow a pretty standard flow of installing dependencies, running a build / test script and then building and pushing a docker image to a registry.

As part of the test process, we’re using testcontainers (GitHub - testcontainers/testcontainers-node: TestContainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.) to spin up infrastructure dependencies (e.g. a mongodb instance) for integration tests to use.

This has been working fine for the last couple of months, however all of a sudden today our builds started failing, and it looks to be timeouts at the stage where the docker dependencies are being pulled / started on the build host.

Not sure whether there is a general issue with GH actions (githubstatus.com shows green for everything) or if there is anything else we can do to mitigate this issue?

[edit] this resolved itself after a couple of hours, but would be good to understand if there is anything we can do to prevent recurrence

Hi Ben;

[edit] this resolved itself after a couple of hours, but would be good to understand if there is anything we can do to prevent recurrence

Time out occurs every time your Actions run or this happened some time?

There is a cache feature for NPM packages, in this way you can cache NPM node_modules and keep it for the next actions running.
I think maybe you can look for about cache feature and check it out, Maybe this can fix your problem.
I hope.

For example:

Best;