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

Offen
#2,056 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@Wikid82 arbeitet bereits daran.

Seit 25.11.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.

Vorherrschende Sprache
Go
Sterne
17
Forks
2
Ø Merge
1 Std. 42 Min.
Gemergte PRs (30 T.)
173

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Wikid82/Charon

Alle Issues in Wikid82/Charon

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.