ci(runners): re-own the actions cache recursively — uid-1000 jobs die in checkout #70
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/t_29249bf0-runner-cache-reown"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
All three runners now run as uid 1000 (audit F6 /
cb387a8).fix-data-permsre-owned the PVC butguarded the recursive chown behind a top-level owner check:
/data/.cacheis already1000, so the guard skips it — while the git pack files inside it arestill
root:root 0600from the pre-uid-1000 runner. Every job on that runner then dies inactions/checkout, before any step runs:That is the 3 s red X with zero steps on push (websites run 1430, card t_29249bf0). It was worked
around by hand (
chown -Rinside the pod, ctime 05:55:05 on those packs) — this makes it durable.Change
chown -R 1000:1000over exactly the trees the runner writes —cache/,.cache/,runner.ini—in all three runners.
/data/docker(dind data-root, tens of GB) stays root-owned and unwalked.A few thousand small files, once per pod start.
Also documents the
strategy: Recreateconsequence: a template rollout SIGKILLs in-flight jobcontainers and Forgejo reports the run as a plain failure with the log cut off mid-step
(sirius-growth push run 1422 — 14 min red, log ending at
##[group]Fetching the repository).