Skip to content

fix: Fix the release gate's findings for the resubmission of 1.4.0 - #667

Merged
krlmlr merged 8 commits into
v1.4-tidefrom
claude/resubmit-fixes
Nov 30, 2026
Merged

krlmlr merged 8 commits into
v1.4-tidefrom
claude/resubmit-fixes

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Fixes for the resubmission of RMariaDB 1.4.0, on the new release branch v1.4-tide, which was cut at the submitted commit a6e3f9f. Each item below is a finding of the release gate run on that commit, or a change requested for the resubmission.

DBI 1.4.0. DESCRIPTION imports DBI (>= 1.4.0), and the 1.4.0 section of NEWS.md says so in a new "Chore" subsection, as 1.3.5 had; version, heading and date are unchanged. DBI 1.4.0 is submitted but not yet on CRAN, which still has 1.3.0, so CI jobs that install DBI from CRAN may fail to resolve DBI (>= 1.4.0) until CRAN accepts it. That is expected, and there is deliberately no Remotes: field. The parameter docs that two help pages inherit from DBI (mariadb-tables, query) follow DBI 1.4.0's wording after regenerating.

URLs. Cherry-picks the commit of #664: the dead R-SIG-DB link goes from the README and the index, and the IGNORE_SPACE reference points to the current MariaDB docs. The gate reported "urlchecker failed with status 1"; urlchecker::url_check() signals an error by default whenever it finds an invalid URL, so status 1 is the gate's way of showing findings, not a crash. This session's network blocks most of the hosts involved, so the remaining URLs could not be re-checked here.

R CMD check --as-cran: 1 ERROR. The gate has no database server, and the tests that connect failed there: DBItest ran because GITHUB_ACTIONS is "true", and eleven tests guarded only by skip_on_cran() ran because the gate sets NOT_CRAN=true. A new helper, skip_if_no_server() in tests/testthat/helper-server.R, skips those tests when no server is reachable, and DBItest now runs when a server is reachable and NOT_CRAN is "true", no longer whenever GITHUB_ACTIONS is "true". This does not weaken CI: .github/workflows/custom/after-install sets RMARIADB_TEST_SERVER=true once it has started and checked the server, and with that variable set DBItest and the tests guarded by skip_if_no_server() run and fail if they cannot connect, as before. Every R-CMD-check job, including the dev and suggests jobs, runs that action. Tests that connect through mariadbDefault() or skip on a failed connection still skip silently if CI's server breaks, as they did before this PR. The ARM64 Windows filter stays, and its reason in Config/comment/gha/filter now says that CI requires a server there, which cannot be installed.

R CMD check --as-cran: 1 NOTE. The gate's log names no cause for the NOTE. The local check with CRAN's remote incoming checks gives a NOTE only for URLs that this session's network blocks, and CRAN shows a single update in the last six months, so the NOTE was most likely the URLs that #664 fixes. That is not verified.

11 help pages without \value. Every page with a \usage section now has a @return in roxygen, and the .Rd files are regenerated with roxygen2 8.1.1.9000, the version DESCRIPTION names.

Knitting README.Rmd failed. No chunk in README.Rmd is evaluated, so the server is not the cause; the gate installs only rmarkdown, spelling and urlchecker, and the output format cynkratemplate::readme_document was missing. DESCRIPTION now declares Config/Needs/check: cynkra/cynkratemplate, which the gate's dependency step installs. Locally, README.Rmd knits without a server to a README.md identical to the committed one.

Spelling. Adds inst/WORDLIST with the 78 genuine words spelling flagged (names, product names, technical terms), and fixes one typo in an older NEWS entry ("faciliate"). "parameterised" and "Acknowledgements" become the US spellings "parameterized" and "Acknowledgments" in the docs, the README and the index. Two bare links to old mariadb.com/kb pages in ?"Client-flags" and ?dbConnect, which the spell check split into words, are replaced by the names of the MariaDB documentation pages in prose, since their current URLs could not be checked from here.

Not in this PR. The warning that no checklist pull request is open is left to the coordinator, who opens it.

Verification. R CMD build and R CMD check --as-cran --no-manual with _R_CHECK_CRAN_INCOMING_=true, with DBI 1.4.0 installed from its release commit and no database server: Status: OK both with GITHUB_ACTIONS unset and with GITHUB_ACTIONS=true NOT_CRAN=true as in the gate (tests: 0 failures, 97 skips). spelling::spell_check_package() finds no errors.

https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89


Generated by Claude Code

Remove the dead R-SIG-DB mailing list link from the README and the
index, and point the IGNORE_SPACE reference to the new MariaDB docs URL.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
The release gate installs the packages that Config/Needs/check names,
and README.Rmd uses the output format of cynkratemplate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
CI sets RMARIADB_TEST_SERVER after starting its server,
and there these tests and DBItest still run and fail without a connection.
Elsewhere, such as in the release gate, they skip instead of failing,
which replaces the check of GITHUB_ACTIONS for DBItest.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd43pnoHuAnGBgMih89
Adds a \value section to every help page with a \usage section.
The inherited parameter docs follow DBI 1.4.0.

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

krlmlr commented Nov 30, 2026

Copy link
Copy Markdown
Member Author

The smoke test fails because pak cannot resolve the new requirement: "Can't install dependency DBI (>= 1.4.0)" (job log). DBI 1.4.0 was submitted to CRAN on 2026-11-30 and is not yet accepted, so CRAN still serves 1.3.0. This is the expected block noted in the description, not a defect of the PR. CI will be rerun once DBI 1.4.0 is on CRAN, and the resubmission waits for that anyway.


Generated by Claude Code

@krlmlr
krlmlr marked this pull request as ready for review November 30, 2026 06:21
@krlmlr
krlmlr merged commit f9dcd7c into v1.4-tide Nov 30, 2026
7 of 9 checks passed
@krlmlr
krlmlr deleted the claude/resubmit-fixes branch November 30, 2026 22:00
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