Skip to content

chore: Review for the next CRAN release - #625

Draft
krlmlr wants to merge 6 commits into
mainfrom
claude/release-review
Draft

krlmlr wants to merge 6 commits 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 RPostgres. Each decision is a question comment below.

Release 1.5.0: resubmitted to CRAN on 2026-12-01

Resubmitted commit: f336d37c9643e62767b3c62b3844a040410f389b

  • Resubmitted unattended at 04:01 UTC on 2026-12-01, as Kirill decided, dated 2026-12-01, with DBI (>= 1.4.0) and every fixable finding of the release gate fixed (submission run, checklist chore: Resubmit RPostgres 1.5.0 #684). The gate, rcc, R-hub and the dry run were green on that head; macbuilder was down all night; win-builder's results go to the maintainer by email.
  • CRAN mails the maintainer a confirmation link; the resubmission counts once it is followed.

Release 1.5.0: first submission on 2026-11-30

Submitted commit: c324cdb125f10b751240be53472583d5f908847d

Driven by https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89.

Related PRs

Findings (checked 2026-11-28)

Release toolkit adoption

R-CMD-check.yaml is identical to RSQLite's, so the cran-submission input and the tarball build job are already in place. NEWS.md headings all carry dates, _pkgdown.yml has cran_dates: false, and VignetteBuilder lists knitr and rmarkdown (#622).

Open PRs

Open issues (27)

None blocks a release: none is a regression, a CRAN problem or a crash in released code.

https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc


Generated by Claude Code

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Question: Is a release warranted now, and with what content?

CRAN's 1.4.10 is clean on all 13 flavors and has no deadline. None of the 111 commits since then is user-facing: they cover CI, chores and docs. A release now would ship only a condensed NEWS section that says "internal changes", unless something user-facing lands first. The candidates are the low-risk PRs (#585 cleanup, #583 docs, #553 message, #607/#608 README) and the one substantive feature, #581 (SQLSTATE on errors, requested in #579).

This is the maintainer's call. If nobody decides, nothing is released and the review stays on this PR.


Generated by Claude Code

krlmlr commented Nov 28, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: When should RPostgres adopt the release workflows?

The handbook wants the release tooling on main, with one complete dry run, before release day. RPostgres has the template's tarball job in R-CMD-check.yaml, but it lacks release-gate.yaml, cran-submission.yaml, release-status.yaml and builders.yaml. These are thin callers of krlmlr/r-release-actions@main, as in r-dbi/RSQLite#908, with the repository name changed. release-status.yaml adds a nightly schedule, which does nothing while there is no draft release. The fledge marker comes off at the cut either way.

  • Open a PR now that adds the four caller workflows copied from RSQLite, independent of the release date (recommended)
  • Add them only when the release is cut
  • Wait until r-release-actions is tagged, and pin the callers to a tag instead of @main

Answer, relayed from Kirill's instruction on 2026-11-28: "bring in the release workflows and … update workflows from cynkratemplate". Both go in as separate PRs against main, which are linked from this PR's body.


Generated by Claude Code

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Question: Does #581 (SQLSTATE and diagnostic fields on errors) go into the next release?

#581 by an external contributor implements #579.

  • What it changes: the C++ error path (src/PqResultImpl.cpp, src/DbConnection.cpp) and new R files that rethrow the errors as RPostgres_error_<SQLSTATE> conditions with the diagnostic fields. It also moves rlang from Suggests to Imports.
  • Review status: the review asked for rlang errors and snapshot tests, and both are done. The question of how the R→C++→R rethrow survives, and what the call stack looks like, is unanswered. There has been no re-review since 2026-06-10.
  • State: the PR is 74 commits behind main, and its CI runs are old.

It is the only substantive user-facing change on offer.

  • Defer to a later release. Keep it open and ask the contributor to merge main and answer the open review question (recommended)
  • Include it: re-review now, merge main, re-run CI, and release with it
  • Include it only if the rlang Imports dependency is dropped

If nobody decides, it stays deferred.


Generated by Claude Code

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Question: Which low-risk PRs land before the cut?

Each line is a separate decision. Ticking a line means "land it before the cut", and an unticked line means it is deferred.

The others (#539, #414) are deferred, and #581 has its own question. If nobody decides, only already-merged work ships.


Generated by Claude Code

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Question: Should the stale PRs and support-type issues be closed?

Closing an item means a comment on a thread that other people watch, so this session does it only on an explicit ask. Each close would get a comment that says why and links what supersedes it.

The candidates:

The options:

  • Close the two PRs, and leave the issues as they are (recommended)
  • Close the two PRs and the listed issues
  • Close nothing

If nobody decides, nothing is closed. None of these affects the release.


Generated by Claude Code

@krlmlr krlmlr mentioned this pull request Nov 29, 2026
3 of 9 tasks

krlmlr commented Nov 29, 2026 •

Copy link
Copy Markdown
Member Author

Resolved: Apply the new "keep Kirill's issues closed" rule to the 17 open issues already opened under his account?

The rule added today (issues by Kirill in repositories he maintains are closed as "not planned" right away, with their open work tracked by the label status: open) says to ask before applying it to issues opened earlier. These are the open issues authored by krlmlr on r-dbi/RPostgres (search API, 2026-11-29 19:15 UTC); 15 were filed today by sessions, mostly from the native Arrow work and today's reviews:

Applying it means, for each: add the label status: open (creating it in this repository, as in r-dbi/RMariaDB), close it as "not planned" with a short comment saying the work stays tracked by the label, and leave its content and links unchanged. Open PRs may still reference them with closing keywords. Closing notifies everyone who commented on an issue; for today's issues that is mostly nobody else, #552 and #397 may have other participants.

Kirill decided in the session to apply the rule to all 17.


Generated by Claude Code

krlmlr commented Nov 29, 2026

Copy link
Copy Markdown
Member Author

Handover (2026-11-29, session archived)

The session https://claude.ai/code/session_01Hr1rd6e5NcxC9GSrNJDokc is archived at Kirill's request. Everything it worked on is on GitHub; nothing is unpushed.

Waiting on Kirill:

Not done: a stray clean-review session from an earlier subagent, session_01Hr1rd43bQjHZvoyrxKjs67, may still be open.


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

2 participants