fix: repair test suite against current Node.js ABI #9

Merged
deco merged 1 commit from deco/test-suite-native-module into main 2026-10-04 02:34:53 +03:00 AGit
Owner

Bumps better-sqlite3 to 12.10.1 and adds an unpinned allowScripts entry so npm rebuild works under npm 12. Resolves the plan 001 regression: 155/155 tests pass and npm run build exits 0.

Bumps better-sqlite3 to 12.10.1 and adds an unpinned allowScripts entry so npm rebuild works under npm 12. Resolves the plan 001 regression: 155/155 tests pass and npm run build exits 0.
fix: repair test suite against current Node.js ABI
All checks were successful
CI / test (pull_request) Successful in 16s
3fb4c2a3e7
The better-sqlite3 native addon kept going stale whenever the active Node.js
version changed, failing 119 of 155 tests on SqliteAdapter construction. Two
things were blocking the documented fix:

- npm 12 refuses to run install scripts unless the package is listed in
  allowScripts, so "npm rebuild better-sqlite3" silently did nothing.
- 12.6.x predates prebuilt binaries for the Node.js versions in use here.

Bump better-sqlite3 to 12.10.1 (which also declares Node 26 support) and add an
unpinned allowScripts entry so rebuilds work for everyone without needing
re-approval on each version bump.
deco merged commit d7ffd7a83a into main 2026-10-04 02:34:53 +03:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
signal-works/gladiator_telegram_bot!9
No description provided.