plugin-kit 0.3.1 — the SQLite reader that made this plugin find nothing #2

Merged
enricobuehler merged 1 commits from chore/plugin-kit-0.3.1 into main 2026-08-06 19:05:31 +00:00
1 Commits
Author SHA1 Message Date
enricobuehler 4f9744db23 chore: plugin-kit 0.3.1 — the SQLite reader that made this plugin find nothing
CI / build (pull_request) Successful in 36s
CI / publish (pull_request) Skipped
The kit's `openReadOnly` built a `file:<path>?immutable=1` URI but opened it with
`{ readonly: true }`, which does not enable SQLite's URI filename parsing. On
Linux — Bun's bundled SQLite, unlike macOS's system one — that open always threw,
and every layer degrades an open failure to "this launcher isn't installed". So
this plugin reported 0 games on every box it has ever run on, while `detect`
happily said "present" (it only stats the file).

Nothing here was wrong; the parsing and the ids were right all along. Fixed in
punktfunk#78, published as plugin-kit 0.3.1.

The caret range already allowed it, but bun.lock pinned 0.3.0 exactly, so CI kept
testing against the broken reader.

Parity, run on .21 against a live host with the PUBLISHED 0.3.1 (not a patched
copy) — the gate that caught this in the first place:

    scan:   present: 1 games, 1 launcher entries   (was 0 games)
    parity: OK — 1 entries identical               (was: FAILED — 1 missing)

Gates: biome clean, tsc clean, 5/5 tests, bundle builds.
2026-08-06 20:28:54 +02:00