refactor(ci): simplify process-updates cache cleanup #76

Merged
pat-s merged 1 commit from pr/cache-cleanup-magic-string into main 2026-06-12 13:41:54 +00:00

2026-06-12

refactor(ci): simplify process-updates cache cleanup
The cleanup string repeated across 14 process-updates-* files had:
- /mnt/cache/pkgcache/R/pkgcache listed twice (harmless duplicate)
- /mnt/cache/R-pkgs/00LOCK-pak/mnt/cache/R-pkgs/00LOCK-RPostgres
  (missing space, ends up rm'ing a nonsense nested path)

Collapse to the same form weekly-rebuild-missing-* already uses:

    rm -rf /mnt/cache/R-pkgs/00LOCK-* \
      /mnt/cache/R-pkgs/{bincraft,pkgcache} \
      /mnt/cache/pkgcache/R/pkgcache

00LOCK-* covers every stale lock (pak, bincraft, RPostgres,
r-pkg-binaries, ...) without enumerating them.
2026-06-12 15:38:16 +02:00