docs(ci): harden pacman -Sy comment against future -Syu regressions

Explicit warning in the workflow so nobody reintroduces the -Syu that
took the Gitea host down on 2026-04-20.
This commit is contained in:
nevaforget 2026-04-20 11:26:01 +02:00
parent 8d1dacd6fa
commit 30f8c4100f

View File

@ -29,8 +29,12 @@ jobs:
echo "Changed packages: $CHANGED"
# Sync pacman DB so -s can pull current versions (Arch rolling).
# -Sy only: full -Syu overwhelms the shared runner host with I/O.
# Sync pacman DB so makepkg -s can resolve current deps.
# NEVER change this to -Syu. The runner shares I/O with the host
# (act_runner runs in network-host mode on the Gitea server). A full
# system upgrade here took the host down on 2026-04-20 and required
# a hard reboot + Contabo abuse-block recovery. -Sy syncs the DB
# only; -s picks targeted makedepends via pacman.
sudo pacman -Sy --noconfirm
for pkg in $CHANGED; do