• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

archetech / archon / 33279378932
87%

Build:
DEFAULT BRANCH: main
Ran 29 Aug 2026 10:50PM UTC
Jobs 1
Files 92
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Aug 2026 10:45PM UTC coverage: 92.487%. Remained the same
33279378932

push

github

web-flow
refactor(db): Replace both sqlite drivers with node:sqlite (#963)

* refactor(db): Replace both sqlite drivers with node:sqlite

Six manifests depended on `sqlite3`, split across two majors that nobody
chose -- each service took whatever `npm install` resolved on the day it
was added, either side of 6.0.1's release, and dependabot later moved one
straggler and left three. Herald selects `sqlite` too, but on
`better-sqlite3`, so the repo carried two different native sqlite drivers.

`node:sqlite` removes the question rather than answering it: there is no
driver left to pick a version for. The API the adapters need is all
present -- multi-statement `exec`, `BEGIN IMMEDIATE`, `changes` as a plain
number -- and every bind site was already a JSON string or a small number.

Herald's adapter was the proof this fits: it used better-sqlite3
synchronously through exactly prepare/exec/run/get/all/close, which is
node:sqlite's surface, so a public HTTP service has been serving from a
synchronous sqlite driver all along.

What this deletes: seven dependency entries, the sqlite3 prebuild seeding
and its `local_prebuilds` env var across 24 Dockerfiles, and -- for
Herald's tree -- node-gyp, prebuild-install and tar, the chain
SECURITY_AUDIT.md flags for a critical advisory. It also removes the
unseeded-prebuild defect Herald had: better-sqlite3 was fetched over the
network with no retry, into an image with no toolchain to fall back on.

The trade is that the SQLite engine now ships with Node instead of being
pinned in a lockfile. Every image and CI job pins one exact Node version,
so it can only change through a visible bump; tests/ci/sqlite-runtime.test.ts
holds that arrangement in place and floors the engine version.

The two published packages now declare `engines: node >=22.5.0`, which
they need for node:sqlite and previously declared not at all.

Closes #962

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G... (continued)

3881 of 4464 branches covered (86.94%)

Branch coverage included in aggregate %.

48 of 49 new or added lines in 2 files covered. (97.96%)

8528 of 8953 relevant lines covered (95.25%)

717.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
88.31
0.05% packages/gatekeeper/src/db/sqlite.ts
Jobs
ID Job ID Ran Files Coverage
1 33279378932.1 29 Aug 2026 10:50PM UTC 184
93.57
GitHub Action Run
Source Files on build 33279378932
  • Tree
  • List 92
  • Changed 78
  • Source Changed 2
  • Coverage Changed 78
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33279378932
  • 5670aafb on github
  • Prev Build on main (#33271007751)
  • Next Build on main (#33284153996)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc