build-cran-binaries/local
Repository files (latest commit first)
Filename Latest commit message Latest commit date
pat-s 3618168572
Some checks failed
ci/crow/cron/process-updates/2 Pipeline was successful
ci/crow/cron/process-updates/11 Pipeline was successful
ci/crow/cron/process-updates/9 Pipeline was successful
ci/crow/cron/process-updates/16 Pipeline was successful
ci/crow/cron/process-updates/15 Pipeline was successful
ci/crow/cron/process-updates/8 Pipeline was successful
ci/crow/cron/process-updates/13 Pipeline was successful
ci/crow/cron/process-updates/12 Pipeline was successful
ci/crow/cron/process-updates/10 Pipeline was successful
ci/crow/cron/process-updates/14 Pipeline was successful
ci/crow/cron/process-updates/4 Pipeline was successful
ci/crow/cron/auto-apply-patches Pipeline failed
ci/crow/cron/weekly-audit-missing/1 Pipeline was successful
ci/crow/cron/weekly-audit-missing/2 Pipeline was successful
ci/crow/cron/weekly-audit-missing/4 Pipeline was successful
ci/crow/cron/weekly-audit-missing/5 Pipeline was successful
ci/crow/cron/weekly-audit-missing/6 Pipeline was successful
ci/crow/cron/process-updates/3 Pipeline was successful
ci/crow/cron/process-updates/5 Pipeline was successful
ci/crow/cron/process-updates/7 Pipeline was successful
ci/crow/cron/process-updates/6 Pipeline failed
ci/crow/cron/process-updates/1 Pipeline failed
fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234)
Step 1 of rpkgs/bincraft#211: pass the metadata database explicitly so bincraft can drop its implicit production defaults.

## Changes

- Pass `metadata_db_*` explicitly to every per-minor `upload_package_index()` call in `reindex.yaml`, `process-updates.yaml`, `weekly-rebuild-reindex.yaml`, `build-all-versions.yaml` and `prune-stale-flat-binaries.yaml`.
- Replace `|| true` in those per-minor loops with a list of failed minors: every minor is still attempted, then the step exits 1 naming the ones that failed.
- Give the "Upload package indexes" step of `build-all-versions.yaml` the `PGPASS` secret. It never had it, so its per-minor reindexes always aborted and `|| true` hid that.
- Run the CDN purge in `process-updates.yaml` and `prune-stale-flat-binaries.yaml` even when a reindex failed, as `reindex.yaml` and `weekly-rebuild-reindex.yaml` already do, because the generic index was still replaced.
- `local/repair-built-stamp.R` passes the database too, and fails once all minors are tried instead of only printing the error.

The generic (non-per-minor) calls are unchanged: they never read the database.

## Behaviour change

A per-minor reindex that fails now turns the pipeline red instead of passing silently.
Expect build-all-versions runs to start reindexing per-minor slots for real, since they now have the password.

## Ordering

Merge this before rpkgs/bincraft's companion PR is released: `local/install-bincraft.R` installs the latest bincraft tag, and the explicit arguments work with both the current and the next release.

Reviewed-on: #234
2026-10-17 07:46:09 +00:00
..
patches fix(patches): cover every RcppParallel 6.x release with the bundled-TBB patch (#228) 2026-10-04 07:35:01 +00:00
tests fix(build): build packages requiring newer R on compatible minors (#216) 2026-09-13 09:35:50 +00:00
archive-missed-pkgs.R feat: R-minor-sensitive binary builds (full + iterative) (#84) 2026-06-14 08:04:40 +00:00
backfill-abi-classification.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
backfill-flat-safety.R fix(abi): inspect flat objects of packages CRAN has removed (#212) 2026-09-09 18:35:33 +00:00
build-all.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
build-newer-r.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
build-one.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
check-cdn-cache.sh add alpine321 to scripts 2024-12-29 10:18:55 +01:00
check-NA.R feat: R-minor-sensitive binary builds (full + iterative) (#84) 2026-06-14 08:04:40 +00:00
check-slots.R feat(slots): add a retirement workflow and a drift check (#214) 2026-09-11 13:14:17 +00:00
debug-packages-writing.R feat: R-minor-sensitive binary builds (full + iterative) (#84) 2026-06-14 08:04:40 +00:00
dedupe-audit-issue.R fix(audit): replace arch subsection in place instead of appending duplicates (#138) 2026-07-21 08:51:23 +00:00
detect-duplicates.R feat: R-minor-sensitive binary builds (full + iterative) (#84) 2026-06-14 08:04:40 +00:00
excluded-packages.json feat: R-minor-sensitive binary builds (full + iterative) (#84) 2026-06-14 08:04:40 +00:00
failing-builds-classify.R feat(local): aggregate blocked-on-dependency reporting by dependency (#131) 2026-07-16 21:24:03 +00:00
failing-builds-report.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
fetch-rebuild-packages-from-issue.R fix(audit): replace arch subsection in place instead of appending duplicates (#138) 2026-07-21 08:51:23 +00:00
find-R-api-packages.sh chore(local): add S3 migration and CRAN-source helper scripts 2026-06-14 13:02:48 +02:00
install-bincraft.R refactor: migrate package installation from pak to uvr (#147) 2026-07-31 12:19:26 +00:00
label-removed-cran-packages.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
last-processed-by-platform.R feat: R-minor-sensitive binary builds (full + iterative) (#84) 2026-06-14 08:04:40 +00:00
list-unsafe-flat-objects.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
migrate-s3-hetzner-to-backblaze.sh chore(local): add S3 migration and CRAN-source helper scripts 2026-06-14 13:02:48 +02:00
missing-cran-packages-db.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
missing-cran-packages.R feat: R-minor-sensitive binary builds (full + iterative) (#84) 2026-06-14 08:04:40 +00:00
missing-packages-in-index.R feat: R-minor-sensitive binary builds (full + iterative) (#84) 2026-06-14 08:04:40 +00:00
newer-r-helpers.R fix(build): build packages requiring newer R on compatible minors (#216) 2026-09-13 09:35:50 +00:00
packages-to-build.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
packages-without-any-binary.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
proposal-tracking-lib.R feat(local): aggregate blocked-on-dependency reporting by dependency (#131) 2026-07-16 21:24:03 +00:00
proposal-tracking.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
propose-patches.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
prune-stale-flat-binaries.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
query-pkgs-without-old-versions.R chore(local): add S3 migration and CRAN-source helper scripts 2026-06-14 13:02:48 +02:00
r-minor-helpers.R refactor: migrate package installation from pak to uvr (#147) 2026-07-31 12:19:26 +00:00
rebuild-missing-helpers.R feat(rebuild): shard the weekly rebuild and make each shard resumable (#163) 2026-08-12 08:30:29 +00:00
rebuild-missing.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
repair-built-stamp.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00
retire-slot.R feat(slots): add a retirement workflow and a drift check (#214) 2026-09-11 13:14:17 +00:00
test-package-loading.R refactor: migrate package installation from pak to uvr (#147) 2026-07-31 12:19:26 +00:00
trial-build-patch.R fix(local): make trial-build-patch.R detect non-throwing build failures (#134) 2026-07-18 08:37:04 +00:00
trial-build-registry.R fix(local): make the trial-build gate detect non-throwing build failures (#130) 2026-07-16 08:24:03 +00:00
uvr-install.sh chore(deps): update dependency nbafrank/uvr to v0.4.7 2026-10-11 00:32:41 +00:00
validate-patches.R feat(local): auto-propose registry patches and track the feedback loop (#117) 2026-07-14 15:03:24 +00:00
verify-repo-routing.R fix(ci): do not print a missing timing as "NAs" (#210) 2026-09-09 15:01:29 +00:00
weekly-missing-binaries-audit.R fix(ci): pass the metadata DB to per-minor reindexes and fail on errors (#234) 2026-10-17 07:46:09 +00:00