Skip to content

ci: Sync the workflows with cynkra/cynkratemplate - #578

Merged
krlmlr merged 1 commit into
mainfrom
claude/sync-cynkratemplate
Nov 29, 2026
Merged

krlmlr merged 1 commit into
mainfrom
claude/sync-cynkratemplate

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

This brings the template-owned workflows in .github/workflows/ up to cynkra/cynkratemplate main at e0f88d3130c78c433a29887740069675ddc21304. It replays the five template changes since the last sync (#574, which ended at cynkra/cynkratemplate@2069798): cynkra/cynkratemplate#176, #178, #179, #177 and #172.

Review class: identical forward. Each changed file on main was exactly the template's version at an earlier commit: R-CMD-check.yaml and R-CMD-check-dev.yaml at 2069798 (#174), and revdep2.yaml and revdep4.yaml at 57432b7 (#171). After this PR all four are byte-identical to the template's main, and every other template workflow file was already identical.

Files changed:

  • .github/workflows/revdep2.yaml, .github/workflows/revdep4.yaml: reverse dependencies are checked including Suggests by default (CRAN release v1.0.10 #176). The run now takes a commit input: the report is committed back to the checked ref in a separate job that holds the only contents: write permission, and it is skipped when the workflow is dispatched with commit: false. The release pull request also gets a comment that points at the run (dbFetch returns mismatched result #178). On top of that, revdep4.yaml builds the dev binary through ccache (#172).
  • .github/workflows/R-CMD-check-dev.yaml: dev dependencies are installed from the universe-wide r-universe repository. This drops the r-lib/remotes@f-618-universe branch (Add protocol as argument in dbConnect() #179).
  • .github/workflows/R-CMD-check.yaml: curl and jsonlite are installed explicitly for the versions-matrix action, which now retries the R versions lookup and has a fallback (Error Code: 2013. Lost connection to MySQL server during query, when deleting initid->ptr #177).

The composite actions under .github/actions/ are not copied into this repository. The workflows use them as cynkra/cynkratemplate/.github/actions/...@main, so they are already current.

Kept as they are: .github/workflows/custom/ (the before-install and after-install hooks), Config/gha/filter in DESCRIPTION, and the other repository files in .github/ (versions-matrix.R, move.yml, the contributing and security documents). This PR does not add the release workflows (release-gate, builders, cran-submission, release-status); #579 does.

A clean review found nothing above Low: Accepted limitations.

Review tracker: #577
Session: https://claude.ai/code/session_01Hr1rd5deoKNru8psvRoyYR

🤖 Generated with Claude Code

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Accepted limitations

The clean review found nothing above Low. All four files are byte-identical to cynkra/cynkratemplate@e0f88d3, and RMariaDB's custom hooks, Config/gha/filter and the required rcc check are untouched. The items below come with the template and are fixed there, not here.

  • revdep2.yaml#L91: the default which changes from strong to most, so revdep runs check Suggests too and take longer. This is intended upstream (cynkratemplate#176). Relevance low, confidence high.
  • revdep4.yaml#L426: the new ccache step uses actions/cache@v5 and a key with run_id, so every run saves a fresh cache. Relevance low, confidence high.
  • R-CMD-check-dev.yaml#L153: the inline r-universe installer handles only org/pkg Remotes. RMariaDB has no Remotes, so this has no effect here. Relevance low, confidence medium.
  • The new revdep-commit-report@main and revdep-release-comment@main actions run with write tokens, unpinned, following the template's existing pattern. Writes are narrower than before: collect is now contents: read. Relevance low, confidence high.

Generated by Claude Code

@krlmlr
krlmlr marked this pull request as ready for review November 28, 2026 07:27
@krlmlr
krlmlr merged commit 8ca307f into main Nov 29, 2026
9 checks passed
@krlmlr
krlmlr deleted the claude/sync-cynkratemplate branch November 29, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants