Repository navigation
fix: Add a cleanup script that removes src/Makevars and configure.log - #585
Merged
Merged
Conversation
purrr, add cleanup script, fix Docker cache)cleanup script, fix Docker cache)
The development version of `DBItest` (installed from r-universe in the `rcc dev` workflow) calls `purrr::` functions directly (e.g. in `stream_frame()`), so `DBItest::test_all()` aborts with "there is no package called 'purrr'" unless `purrr` is available in the check library. Declaring it in Suggests guarantees it is installed, matching the fix applied to RMariaDB. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_016BRYo2D5L4wpgaTFTHH2B7
`configure` writes `configure.log` at the top level and generates
`src/Makevars` from `src/Makevars.in`. On R-devel, `R CMD check` runs
the package's `cleanup` script and then flags these leftover files as
NOTEs ("Non-standard file/directory found at top level: 'configure.log'"
and "Package has both 'src/Makevars.in' and 'src/Makevars'"), which fail
the check because `error-on` is `"note"`. Ship a `cleanup` script that
removes both files, matching RMariaDB. Stop ignoring `cleanup` in
`.Rbuildignore`/`.gitignore` so it is tracked and included in the
tarball.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_016BRYo2D5L4wpgaTFTHH2B7
The `cache-from` expression used `||` where `&&` was intended, so the condition was always true and every build imported `type=gha`. On the nightly scheduled runs this repeatedly failed with "404 BlobNotFound" when the cache manifest referenced an evicted blob. Use `&&` so scheduled and manual (`workflow_dispatch`) builds skip the cache import and build fresh, while push builds still benefit from it. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_016BRYo2D5L4wpgaTFTHH2B7
…verse The "Install dev version" step installed the dev package via remotes::install_runiverse(..., linux_distro = "noble") without its dependencies, so a dev package that added a new hard dependency (e.g. dev DBItest adding purrr to Imports) left that dependency uninstalled and the check failed. Replace the single install call with a three-phase install: pull only the dev package (no deps) from r-universe as a binary, install any newly declared hard deps from P3M as released binaries, then re-install the dev package with deps satisfied. This fixes the failure at its source in the workflow, so the coincidental purrr-in-Suggests workaround is reverted. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_016BRYo2D5L4wpgaTFTHH2B7
krlmlr
force-pushed
the
claude/fix-cicd-failures-63v5pe
branch
from
July 22, 2026 21:03
e3f4895 to
ddfa280
Compare
cleanup script, fix Docker cache)cleanup script for R-devel check NOTEs and fix Docker cache import
This was referenced Nov 28, 2026
Take main's version of every conflicting file: the branch carried a long stretch of old history that main has since superseded. Drop .github/workflows/ghcr.yaml, which main no longer has, together with the branch's cache-import fix to it. Keep the `cleanup` script and its removal from .Rbuildignore and .gitignore on top of main. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc
cleanup script for R-devel check NOTEs and fix Docker cache importcleanup script that removes src/Makevars and configure.log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
cleanupscript so the R-devel check job no longer fails on NOTEs about configure-generated files. (Thercc devdev-package install issue this branch originally also touched is now handled upstream by the Resolute migration + DBItest droppingpurrr, so that workflow change was dropped when rebasing onto currentmain.)rcc(R-devel job): add acleanupscriptconfigurewritesconfigure.logat the top level and generatessrc/Makevarsfromsrc/Makevars.in. On R-devel,R CMD checkflags these as two NOTEs (Non-standard file … 'configure.log';Package has both 'src/Makevars.in' and 'src/Makevars'), and the check runs witherror-on: "note", so the job fails. Added an executablecleanupscript (rm -f src/Makevars configure.log, byte-identical to RMariaDB's) and stopped ignoring it in.Rbuildignore/.gitignoreso it ships in the tarball and runs during check.Dropped: Docker image GHA cache import fix
This PR also changed
cache-fromin.github/workflows/ghcr.yamlfrom||to&&, so that scheduled and manual builds skip thetype=ghacache import.mainno longer hasghcr.yaml, so that change was dropped when merging currentmain, and the branch now takesmain's version of every other file.https://claude.ai/code/session_016BRYo2D5L4wpgaTFTHH2B7
Generated by Claude Code