4 Commits
Author SHA1 Message Date
Jordan Harband 0a6e489837 [actions] WSL: cap jobs at 10 minutes, since a frozen runner otherwise holds one for 45; don't wait on Ubuntu's mirror
About 1.4% of WSL jobs freeze the runner while setup-wsl starts WSL2
(actions/runner-images#14938):
no step ever finishes, no step timeout fires,
and GitHub drops the job as "lost communication" after 45 minutes,
holding up nearly every run.
A job-level `timeout-minutes` is enforced by the server, so it still applies.

Ubuntu's images already ship bash, git, curl, wget and ca-certificates,
so its apt step only upgrades them,
and a slow `archive.ubuntu.com` has stretched that to 30 minutes.
When they are present, give the upgrade a minute and carry on without it;
otherwise retry 3 times with short delays instead of 8 over 10 minutes.
2026-11-23 14:47:07 -08:00
Jordan Harband 077156e88f [actions] never let an apt install wait on a prompt
Moving WSL package installs out of `setup-wsl`'s `additional-packages` lost its non-interactive setup:
on Ubuntu 18.04, upgrading `libssl1.1` asks whether to restart services,
and the job waited on that dialog until it was cancelled.
Set `DEBIAN_FRONTEND=noninteractive`,
keep existing config files without asking, and give apt no stdin.
2026-10-08 11:10:27 -07:00
Jordan Harband 50e73c4cd5 [actions] retry apt package installs through Ubuntu mirror outages
Mirror outages have outlasted the existing retries,
which covered only `apt-get update` (and not the WSL `additional-packages` install).
Installs now go through `.github/scripts/apt-install.sh`,
which retries each request within apt and retries the whole update+install with backoff for about 10 minutes.
2026-10-07 15:10:36 -07:00
Jordan Harband 3bfc2b4a9a [actions] rename windows-npm workflow to windows-nvm, since it tests nvm install 2026-09-30 15:25:38 +09:00