feat(rebuild): allow rebuilding for an explicit R minor #182
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/rebuild-r-version"
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?
Motivation
weekly-rebuild-missingpinsR_VERSIONper matrix row — 30 rows at 4.4.3, 24 at 4.5.3, none at 4.6.0. The weekly cron therefore only ever rebuilds each slot's primary minor.Non-primary minors are filled in incidentally:
process-cran-updatesloops the installed interpreters, but only for packages that are new or updated. Older packages accumulate a backlog in those minors and nothing ever works it off.That is the root cause of the live
SETLENGTHcrash.rlangis built for 4.4 and 4.5 onamd64/resolutebut never for 4.6, so an R 4.6.1 client is served the generic 4.5.3 binary. 2709 records across the 16 slots are in that state, concentrated on non-primary minors of the R 4.5-built distros.rpkgs/bincraft#116 stops those from being served. This is what fills them in.
Change
Adds a
rebuild_r_versionvariable selecting the interpreter the rebuild runs under.rebuild-missing.Rderives its target slot from the R it runs under, so that is the entire mechanism.matrix(the default) keeps today's behaviour exactly. An R minor absent from the image fails the step with the available list, rather than silently rebuilding the wrong slot.Resolving
RVin one command and using it in later ones follows the existing pattern in this step, which already setsXVFB=that way.Verification
crow lint .crow/weekly-rebuild-missing.yamlpasses.Pull request closed