Skip to content

chore: Review for the next CRAN release - #585

Draft
krlmlr wants to merge 1 commit into
mainfrom
claude/release-review
Draft

krlmlr wants to merge 1 commit into
mainfrom
claude/release-review

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Pre-release review for the next CRAN release of DBItest. No code changes: this PR holds the review and the decisions. DBItest 1.9.0 was submitted to CRAN on 2026-11-28 from claude/release-1.9.0 (commit 5230549), and the release PR #595 is merged. The development bump is #597. Acceptance is pending. The next release is 1.9.0 (decided).

Status

Release toolkit adoption

Compared with RSQLite (r-dbi/RSQLite#908 adopted the workflows; r-dbi/RSQLite#893 released 3.54.1 with them).

Already in place:

  • the tarball job in R-CMD-check.yaml, byte-identical to RSQLite's;
  • VignetteBuilder: knitr, rmarkdown;
  • cran_dates: false in _pkgdown.yml;
  • dated NEWS headings (not every old heading was checked against CRAN's archive);
  • no cran-* branch special cases left in the workflow triggers.

Missing:

  • release-gate.yaml, builders.yaml, cran-submission.yaml and release-status.yaml: added in ci: Add the release workflows from r-release-actions #586, merged (decided), mirroring RSQLite and calling krlmlr/r-release-actions@main. They need no secrets or variables. A dry run on main is due before the cut.
  • The workflow sync from cynkra/cynkratemplate: ci: Sync the workflows with cynkra/cynkratemplate #591, merged (template e0f88d3). It brings the revdep commit input, the which: most default and a fix for R-CMD-check-dev's missing resolute binaries.
  • fledge's marker is dropped from NEWS.md ahead of the cut in chore: Drop the fledge marker from NEWS.md #592 (merged), which switches fledge's daily bumps off.
  • revdep2.yaml still commits its report to the checked ref unless vars.REVDEP2_COMMIT_REPORT == 'false'.
  • At the release itself: write a curated release section from the dev sections plus the merges since 1.8.3.9015 (fledge no longer writes entries), and update cran-comments.md (it still describes 1.8.3).

Open pull requests

Open issues

No issue blocks the release: none is a regression or reported by CRAN, and none has a milestone.

Decisions

Questions for the maintainer are posted as separate comments below. Still open:

Session: https://claude.ai/code/session_01Hr1rd7ccM8Y4Gr9rgiWjgH
Coordinator session: https://claude.ai/code/session_01Hr1rd6znpbaJUu6TJLjgQC

https://claude.ai/code/session_01Hr1rd7ccM8Y4Gr9rgiWjgH


Generated by Claude Code

krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: Version number of the next release

Since 1.8.3, main has gained one feature: six new Arrow schema specs (#571). They are gated with skip_if_not_dbitest() at 1.8.3.1 to 1.8.3.6, so a backend only runs them once it raises its dbitest_version tweak. Everything else is lint-driven test-code fixes, docs, and CI.

New specs are what backends pin against with dbitest_version, so a minor bump signals them more clearly than a patch release would. A patch release undersells the new specs, but it costs nothing else. Either choice is the maintainer's. If nobody decides, the cut waits, since the release commit needs the number.

  • 1.9.0 (recommended): new specs, a minor bump
  • 1.8.4: a maintenance release

Generated by Claude Code

krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: Small fixes to land on main before the cut

No open issue blocks the release. Four small ones can be fixed in a few lines each, and none makes a test stricter, so no backend suite can start failing because of them. Each would be its own PR into main, reviewed before the cut.

  • #310: the vignette (vignettes/DBItest.Rmd line 180) says test_some() integrates dblog by default, which it no longer does. Docs only.
  • #409: wording of the fetch_no_return_value spec; the thread has a ready diff. Docs only.
  • #293: expect_all_args_have_default_values() (R/expectations.R lines 13–20) treats a "" default as missing. The fix only removes false failures.
  • #400: rows[1L, i] assumes drop = TRUE; rows[[i]][[1L]] loosens it. This is optional and related to #401.

Tick every one that should go in. If nobody decides, the release ships without them, and they stay open for later.


Generated by Claude Code

krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member Author

Question: Which open PRs to merge before the cut

None of the open PRs is needed for the release. Three are safe for backends:

  • #564 states the goals and non-goals. It is README only and merges cleanly. Its CI failures came from a local action that was missing at the time, so it needs a branch update and a rerun.
  • #565 derives README.md from README.Rmd. It is stacked on docs: State the goals and non-goals #564 and green.
  • #401, by MichaelChirico, casts to data.frame in get_query_good_after_bad_n. It only loosens a check, but it means the spec deliberately accepts data.frame subclasses such as tibbles. It also misses a third identical spot (line 81 of R/spec-result-fetch.R).

#532, by LeonidasZhak, fixes #308. It is not ready: it calls purrr::map() without purrr in DESCRIPTION, which would error in backend suites. It also adds an unneeded Additional_repositories and conflicts in DESCRIPTION. Asking for those changes means commenting there, which notifies the author.

If nobody decides, nothing is merged and the release ships main as it is.


Generated by Claude Code

krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: Close stale PRs and resolved issues

Several items are stale or already resolved. Each would be closed with a comment that says why, links what supersedes it, and sets the matching state_reason. Closing one where someone else commented notifies them, as noted below.

  • PRs:
    • #507: the fledge pre-release 1.8.99.9900 never went to CRAN and is superseded by 1.8.3. No other watchers.
    • #537: the triage roadmap doc, superseded by this review. No other watchers.
    • #333: WIP inline test_select(), 284 commits behind. No other watchers.
    • #267: use_dbitest(), 760 commits behind with conflicts. nbenn is a requested reviewer.
    • #424: the inline script, dev tooling, stale. No other watchers.
  • Issues:
    • #429: testthat edition 3 is set in DESCRIPTION. No other watchers.
    • #430: the workflow it refers to no longer exists. No other watchers.
    • #170: the compliance test already requires the DBI subclasses. No other watchers.
    • #308: the mangling no longer reproduces, and the remainder is fix: compare integer64 logical tweaks by value #532. nbenn watches.

Closing is housekeeping and does not affect the tarball. If nobody decides, everything stays open.


Generated by Claude Code

krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: Adopt the r-release-actions workflows before this release

DBItest does not yet have release-gate.yaml, builders.yaml, cran-submission.yaml or release-status.yaml. In RSQLite these are thin callers of krlmlr/r-release-actions, added in r-dbi/RSQLite#908 and used to release 3.54.1 in r-dbi/RSQLite#893. The tarball job in R-CMD-check.yaml, VignetteBuilder and cran_dates: false are already in place here.

What remains:

  • the four caller files;
  • stopping revdep2.yaml from committing its report to the checked ref, through the REVDEP2_COMMIT_REPORT variable or the template change;
  • one complete dry run of the toolkit on main before the day of the release.

The release tooling must be on main and dry-run tested before release day, never written on that day. The alternative is a manual devtools::submit_cran() from the release branch. If nobody decides, the cut waits for this decision.

  • Adopt in a separate PR now, mirroring RSQLite, and dry-run it before the cut (recommended)
  • Release manually this time, and adopt the toolkit afterwards

Generated by Claude Code

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Question: Get backend signal before the cut

Backends run DBItest in their own test suites, but CI here only exercises RSQLite and RKazam (backends.yaml) and MySQL (odbc.yaml). RMariaDB, RPostgres, duckdb and adbi are not covered. No revdep workflow has ever run in this repository, and revdep/ dates from 1.8.0.

Two CI problems also hide signal:

  • R-CMD-check-dev has failed daily since 2026-11-16 (example). r-universe has no binary index for Ubuntu 26.04 resolute, so every "Install dev version" step fails.
  • The head of main, fc7c801, was merged by the bot token and never checked.

The release's own revdep check (depth 1, which: most) would still run on the release branch. An early run on main surfaces backend breakage while it is still cheap to fix. It takes a few hours of runner time and commits nothing, if REVDEP2_COMMIT_REPORT is false. If nobody decides, the first revdep signal comes only at the release's Check step.

  • Dispatch a revdep run on main now, and fix R-CMD-check-dev's resolute path in the template separately (recommended)
  • Dispatch a revdep run now; leave R-CMD-check-dev for later
  • Wait for the release's own revdep check

Generated by Claude Code

krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: Sync the workflows from cynkra/cynkratemplate in a separate PR

The plan is to sync .github/ from cynkra/cynkratemplate's main in its own PR, modeled on r-dbi/RSQLite#907 and #912. That brings the revdep commit input and the release comment from cynkra/cynkratemplate#178, and possibly a fix for R-CMD-check-dev's missing Ubuntu 26.04 resolute binaries. The sync would keep DBItest's own workflows (backends.yaml, odbc.yaml, the revdep-dev setup), which an earlier sync deleted by mistake (#574).

This session's permission check refused to start that work when the request came relayed from another session, as possibly destructive, since a sync can overwrite or delete workflow files. The release workflows PR, which only adds four new files, is going ahead. If nobody decides, the sync waits, and the revdep check keeps committing its report unless REVDEP2_COMMIT_REPORT is set to false.

  • Go ahead with the sync PR, keeping the repo-specific workflows (recommended)
  • Skip the sync for this release
  • Go ahead: decided by the maintainer in the session (2026-11-28)

Generated by Claude Code

This branch has not been deployed

No deployments
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.

Cannot use bit64::integer64() as logical values

2 participants