Repository navigation
Conversation
DBItest gates its newest specs behind `dbitest_version`, up to 1.8.3.6 for the six specs of requested Arrow schemas, and its own CI runs RSQLite with the context of `helper-DBItest.R`. The development version 1.8.3.9013 passes in the default context and in both contexts with `arrow = TRUE`, with the six schema specs running and the same skips as the released version. DBItest 1.8.3 gates no spec above 1.8.1 and passes unchanged, so `DESCRIPTION` keeps `DBItest (>= 1.8.0)`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
|
Review of this PR at 74da1c7, by a Claude Code reviewer with clean context that read the diff against What holds.
HighNone. Medium1. "1.8.3.9013" opts in to every spec DBItest adds before its next release, not only the six that were checked. This affects DBItest's gates are a counter of their own, separate from its development version numbers. The specs added after 1.8.0 are gated at 1.8.0.1 to 1.8.0.50. r-dbi/DBItest#571 added the six at 1.8.3.1 to 1.8.3.6 while the package was at 1.8.3.9011 (for example The tweak exists to hold back specs a backend has not yet been run against, and 18269a8 in #807 had declared exactly 1.8.3.6. The description calls the value "the development version of DBItest at r-dbi/DBItest@4fd7a6a", which reads like a pin to that commit; it is not one. Suggested fix: declare Low2. The specs run in fewer places than "so that the specs run here and in DBItest's CI" suggests. By reading, except where marked confirmed. RSQLite's 3. The tweak list is declared twice (pre-existing, from #796 and #807). By reading, not tried. 4. #795's accepted limitations still list the old declaration. By reading. The comment still carries the item " Generated by Claude Code |
Accepted limitationsThe clean review of 74da1c70 found one Medium and three Low issues. The Medium (declaring "1.8.3.9013" opts in to every spec DBItest gates at 1.8.3.7 and later, before RSQLite has run them) is fixed in 3ec2a1a, which declares "1.8.3.6", and the duplicated tweak list in 30f327b; #795's limitations list marks the old declaration as addressed here. This remains:
Generated by Claude Code |
…esla-mja103-dbitest Brings in `dbColumnInfo()` answered from the Arrow columns, `POSIXlt` written like `POSIXct`, the CI hook for the large Arrow test, and the comparison helper that can ask `dbColumnInfo()` before each fetch. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
DBItest gates its specs with a counter of its own, 1.8.0.1 to 1.8.0.50 and then 1.8.3.1 to 1.8.3.6, not with its development version numbers. Declaring 1.8.3.9013 would opt in to every spec that DBItest gates at 1.8.3.7 or later before RSQLite has been run against it. 1.8.3.6 enables the same six specs of requested Arrow schemas that RSQLite passes with DBItest 1.8.3.9013, and nothing beyond them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
`arrow_dbitest_context()` repeated every tweak of `helper-DBItest.R`, so that each change of the DBItest version had to edit both helpers. All 21 tweaks of the two contexts were identical, and the Arrow contexts now take them from `DBItest::get_default_context()`, which `helper-DBItest.R` sets before any test file runs. `helper-DBItest.R` still declares its tweaks itself, since DBItest and DBI copy it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
…esla-mja103-dbitest Brings in the busy mark reset through `R_ExecWithCleanup()`, the checks of Arrow parameters, the 64-bit row counter, the UTF-16 text in binary columns, and `dbColumnInfo()` for the types requested with `schema` and `ptype`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
…esla-mja103-dbitest Brings in the bytes of a blob in a `utf8` column kept as they are, also in a UTF-16 database. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
…esla-mja103-dbitest Brings in the state of the Arrow test hooks kept in each result, with the helpers `set_bytes_limits()` and `fetch_with_bytes_limits()` in `helper-arrow.R`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
…esla-mja103-dbitest Brings in Arrow streams read safely on worker threads, with the "Threads" section of `?"sqlite-arrow"`, the coercion warning reported as the stream's error off R's main thread, the scanner tests, and the longjmp tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
…esla-mja103-dbitest Brings in the atomic busy mark that records the thread holding a result, the atomic row count and completion, the parked results closed from the main-thread entry points, NaN tested without R, and the tests that read streams on a thread of their own. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
…esla-mja103-dbitest Brings in the Arrow test fixtures moved into `helper-arrow.R`, with the wrappers of the tests of `schema` renamed to `validated_dbGetQueryArrow()`, `validated_dbReadTableArrow()` and `validated_dbFetchArrowChunk()`, and `is_lazy()` renamed to `is_lazy_strings()`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
|
Marked as a draft, as decided: this pull request is the reference for the reworked Arrow stack, which carries its changes in smaller, separately reviewed pull requests (see the plan). So far: #855, #856, #857, #859 to #867 (GitHub stack 851 on #830 and #850), and #852, #853, #854 and #858 from Generated by Claude Code |
|
Closing: #854 declared DBItest 1.8.3.6 on Generated by Claude Code |
Stacked on #807 (base branch
claude/elegant-tesla-mja103-lazy), which is stacked on #802, #801, #800, #796 and #795. Requested on #795, whose contexts declareddbitest_version = "1.8.1"; #807 carried the declaration until now and reverts it in 4bb6a97, so this layer holds it alone.DBItest gates its newest specs behind the
dbitest_versiontweak with a counter of its own (1.8.0.1 to 1.8.0.50, then 1.8.3.1 to 1.8.3.6), and r-dbi/DBItest#571 gated six specs for requested Arrow schemas at 1.8.3.1 to 1.8.3.6 (arrow_fetch_arrow_schema,arrow_get_query_arrow_schema,arrow_get_query_arrow_schema_zero_rows,arrow_fetch_arrow_chunk_schema,arrow_read_table_arrow_64_bit,arrow_send_query_schema_stable). This PR declaresdbitest_version = "1.8.3.6"intests/testthat/helper-DBItest.R, the highest gate RSQLite has been run against, so that a spec DBItest gates later stays off until RSQLite has been checked against it; the Arrow contexts inhelper-DBItest-arrow.Rnow take their tweaks from that default context instead of repeating them. The specs do not run in this PR's checks: RSQLite'sR-CMD-checkruns on pull requests tomainonly and installs DBItest from CRAN, which does not have them. They run in RSQLite's nightlyrcc devjob, which installs the development DBItest, and in DBItest'sbackendsjob, which clones RSQLite's default branch and runstest-DBItest.R, the default context only, both once the stack is onmain; and in DBItest's and DBI's own checks once their copies of the helper, which still declare 1.8.1, are regenerated.With the development DBItest 1.8.3.9013 installed, the default context passes 8443 expectations in 653 tests, and the contexts with
arrow = TRUEand withlazy_strings = TRUEpass 8142 in 642 tests each, with no failures and the same 60 and 59 skipped tests as with the released version. DBItest 1.8.3 gates no spec above 1.8.1 and passes unchanged (8334 and 8033 expectations), soDESCRIPTIONkeepsDBItest (>= 1.8.0).A clean review found one Medium and three Low issues; the Medium and the duplicated tweak list are fixed in 3ec2a1a and 30f327b, and what remains is listed under Accepted limitations.
https://claude.ai/code/session_01Hr1rd3gjmufoKCWVDBPCgE
Generated by Claude Code