chore: backend unit tests use a different SQLite driver than production

Aperta
#2,056 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Wikid82 ci sta già lavorando.

Dal 25/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

backend database testing

Found while planning PR 36.

Where: unit tests open SQLite with the cgo driver; production uses glebarez/sqlite (pure Go).

Why it matters: connection options such as pragmas are written differently per driver, so behaviour that depends on them can pass in tests and differ in production.

Severity: low.

Suggested approach: open test databases through the same helper production uses, or add a small test that checks the pragmas on a production-style connection.

Lingua principale
Go
Stelle
17
Fork
2
Merge medio
1h 42m
PR unite (30g)
173

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Wikid82/Charon

Tutte le issue di Wikid82/Charon

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.