Skip to content

ci: skip node:sqlite adapter tests on Node < 22.13 - #575

Merged
tashfeenahmed merged 1 commit into
mainfrom
ci/skip-node-sqlite-on-node20
Jul 20, 2026
Merged

ci: skip node:sqlite adapter tests on Node < 22.13#575
tashfeenahmed merged 1 commit into
mainfrom
ci/skip-node-sqlite-on-node20

Conversation

@tashfeenahmed

@tashfeenahmed tashfeenahmed commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Fixes the failing CI run on main. The Android-fallback tests added in #573 open a node:sqlite database, but the built-in module only exists in Node 22.13+ — the Node 20 matrix leg failed with ERR_UNKNOWN_BUILTIN_MODULE.

The test file now probes for the module via createRequire and skips the three database-opening tests when it's absent; the factory-selection test still runs on every Node version. Verified locally: 4/4 on Node 24, typecheck clean.

The Android fallback tests open a node:sqlite database, which does not
exist on the Node 20 CI matrix leg (ERR_UNKNOWN_BUILTIN_MODULE). Probe
for the built-in module and skip those tests when absent; the
factory-selection test still runs everywhere.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@tashfeenahmed
tashfeenahmed merged commit edf219d into main Jul 20, 2026
@tashfeenahmed
tashfeenahmed deleted the ci/skip-node-sqlite-on-node20 branch July 20, 2026 18:21
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.

1 participant