From 8d1dacd6fadac09bc6707d84d0a11f4b32fa5939 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Mon, 20 Apr 2026 10:04:34 +0200 Subject: [PATCH] fix(ci): use pacman -Sy instead of -Syu to avoid host I/O overload Previous -Syu triggered a full system upgrade inside the runner container, which together with the concurrent Rust build saturated the shared host and took Gitea down. -Sy just refreshes the package DB, which is all makepkg -s actually needs to resolve current deps. --- .gitea/workflows/build-and-publish.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index 814c52f..3b5bc2b 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -29,8 +29,9 @@ jobs: echo "Changed packages: $CHANGED" - # Sync pacman DB so -s can pull current versions (Arch rolling) - sudo pacman -Syu --noconfirm + # Sync pacman DB so -s can pull current versions (Arch rolling). + # -Sy only: full -Syu overwhelms the shared runner host with I/O. + sudo pacman -Sy --noconfirm for pkg in $CHANGED; do echo "==> Building $pkg"