From 362e1ac8f10f2e4c54c87284f04aea7d6e96b3ed Mon Sep 17 00:00:00 2001 From: Gin <> Date: Sat, 17 Oct 2026 11:57:43 -0700 Subject: [PATCH] CI: stop running apt upgrade on Ubuntu runners `sudo apt upgrade` upgraded every preinstalled package on the runner image (apache2, firefox, snapd, ssh, curl, tzdata, ...), none of which the build uses. The firefox upgrade installs a snap, so the job depended on api.snapcraft.io being reachable. An HTTP 408 from it failed the Ubuntu clang build on main (run 39057056406) before compiling anything. `apt install` still upgrades any dependency that the installed packages need, so dropping the blanket upgrade only skips unrelated packages and saves about a minute per Ubuntu job. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/cpp-ci-serial-programs-base.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/cpp-ci-serial-programs-base.yml b/.github/workflows/cpp-ci-serial-programs-base.yml index 102c2203f6..91a41fda9c 100644 --- a/.github/workflows/cpp-ci-serial-programs-base.yml +++ b/.github/workflows/cpp-ci-serial-programs-base.yml @@ -77,7 +77,6 @@ jobs: run: | cd Arduino-Source sudo apt update - sudo apt upgrade sudo apt install clang-tools libopencv-dev libsystemd-dev sudo apt install ./3rdPartyBinaries/libdpp-10.1.5-linux-x64.deb