Skip to content

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

Merged
krlmlr merged 1 commit into
mainfrom
claude/sync-template-workflows
Nov 28, 2026
Merged

krlmlr merged 1 commit into
mainfrom
claude/sync-template-workflows

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Brings the four shared workflows that changed since the last sync (#580) up to cynkra/cynkratemplate@e0f88d3, replaying cynkra/cynkratemplate#176, #177, #178, #179 and #172.
Before this change, all four files matched the template as of cynkra/cynkratemplate@2069798 (the #174 sync), so copying the template's versions brings in exactly those commits and nothing else.

revdep2.yaml and revdep4.yaml (cynkra/cynkratemplate#178) gain a commit input, which defaults to true.
Committing the report moves out of the collect job into a commit job of its own, and a new release-comment job points an open release pull request at the run.
That lets the release process run the revdep check without moving the release branch's head.
cynkra/cynkratemplate#176 changes their default which from strong to most, so reverse dependencies are now checked including Suggests, and cynkra/cynkratemplate#172 adds a ccache cache to revdep4.yaml.

R-CMD-check-dev.yaml (cynkra/cynkratemplate#179) now installs dev versions from the universe-wide r-universe repositories and falls back to source where no binary exists for the runner.
It replaces the remotes::install_runiverse() call from the f-618-universe branch.
That call is what has failed daily since 2026-11-16 (for example https://github.com/r-dbi/DBItest/actions/runs/46019279568): it requested the per-package resolute binary index, got no answer, and stopped at untar().
The fix only shows on the next scheduled run.
R-CMD-check.yaml (cynkra/cynkratemplate#177) asks for curl and jsonlite by name.
The rcc workflow and job names are unchanged.

Kept repo-specific, untouched because the template does not ship them: backends.yaml, odbc.yaml with .github/odbc/, lint.yaml, and the release workflows from #586 (release-gate.yaml, cran-submission.yaml, release-status.yaml, builders.yaml).
No file is deleted.
The composite actions are used from cynkra/cynkratemplate at @main rather than copied, so none are added here.
The other shared workflows, including docs-only/, already match the template.

Context: #585

A clean review found nothing above Low: the four changed files are byte-identical to the template at that commit, and the release workflows' tarball handoff is untouched. The remaining points are listed under Accepted limitations, with one question on committing the revdep report during a release.

https://claude.ai/code/session_01Hr1rd7ccM8Y4Gr9rgiWjgH


Generated by Claude Code

Replays cynkra/cynkratemplate#176, #177, #178, #179 and #172 into the workflows,
from cynkra/cynkratemplate@e0f88d3.
The revdep workflows gain a `commit` input, move committing the report into a job of its own,
and point an open release pull request at the run.
They also check reverse dependencies including Suggests by default and cache the compiler output.
R-CMD-check-dev installs dev versions from the universe-wide r-universe repositories,
falling back to source where no binary for the runner exists.
R-CMD-check asks for curl and jsonlite by name.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd7ccM8Y4Gr9rgiWjgH

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Question: Commit the revdep report during a release?

With this sync, revdep2.yaml and revdep4.yaml have a commit input. It defaults to true, so a dispatch commits the report to the checked ref unless it is turned off. Nothing in DBItest dispatches them with commit: false yet: cran-submission.yaml only says to dispatch the revdep check by hand. A revdep run on the release branch would therefore move the head that the check and the gate approved, unless whoever dispatches it passes -f commit=false.

The clean review rated this Low, because the behavior is the same as before the sync. Changing the default to false would make DBItest differ from the template. If nobody decides, the default stays true, and release-time dispatches pass -f commit=false by hand.

  • Keep the template's default; dispatch with -f commit=false during a release (recommended)
  • Propose false as the default in cynkra/cynkratemplate

Generated by Claude Code

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Accepted limitations

From the clean review of 8c26c91, which found nothing above Low. All four changed files are byte-identical to cynkra/cynkratemplate@e0f88d3.

  • revdep2.yaml and revdep4.yaml: commit defaults to true, so a release-time dispatch needs -f commit=false (question). The behavior is unchanged from before the sync. Low relevance; the reviewer is confident.
  • revdep2.yaml line 990 and revdep4.yaml line 1107: ref is always passed, which bypasses the action's ref-type check. The git ls-remote refs/heads/... check still refuses tags. Low relevance; the reviewer is confident.
  • which now defaults to most, so packages that only suggest DBItest are checked too. This is intended by template typo in has_completed_statement  #176 and gives longer runs. Low relevance; the reviewer is confident.
  • The R-CMD-check-dev fix for the missing resolute binaries is plausible but only confirmed by the next scheduled run after merge. Low relevance; the reviewer is fairly confident.

Generated by Claude Code

@krlmlr
krlmlr merged commit 77a9107 into main Nov 28, 2026
5 checks passed
@krlmlr
krlmlr deleted the claude/sync-template-workflows branch November 28, 2026 08:06
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