feat(ci): purge CDN cache after process-updates runs #71

Merged
pat-s merged 1 commit from pr/cdn-purge-process-updates into main 2026-05-28 11:50:05 +00:00
Owner

Summary

  • process_cran_updates() ends with upload_package_index(), refreshing src/contrib/PACKAGES{,.gz,.rds,.db} in S3 — but no CDN purge follows.
  • The CDN was only purged by the daily update-package-index-* chain, so between cron runs the edge kept serving stale indexes. A binary that landed in S3 was effectively invisible to install.packages() until the index-update chain caught up.

Adds the same Purge CDN cache step that update-package-index-* already uses, parameterized per platform/arch. The script and image are unchanged.

## Summary - `process_cran_updates()` ends with `upload_package_index()`, refreshing `src/contrib/PACKAGES{,.gz,.rds,.db}` in S3 — but no CDN purge follows. - The CDN was only purged by the daily `update-package-index-*` chain, so between cron runs the edge kept serving stale indexes. A binary that landed in S3 was effectively invisible to `install.packages()` until the index-update chain caught up. Adds the same `Purge CDN cache` step that `update-package-index-*` already uses, parameterized per platform/arch. The script and image are unchanged.
process_cran_updates uploads fresh PACKAGES* to S3, but the CDN was only
purged by the daily update-package-index-* chain.
Between the two cron runs, edges kept serving the stale index,
so a binary that had just landed in S3 was effectively invisible
until the next index-update purge.

Adds the same purge step that update-package-index-* already uses,
parameterized per platform/arch.
pat-s merged commit 494730be5d into main 2026-05-28 11:50:05 +00:00
pat-s deleted branch pr/cdn-purge-process-updates 2026-05-28 11:50:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
devxy/build-cran-binaries!71
No description provided.