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

オープン
#2,056 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Wikid82 がすでに取り組んでいます。

2026年11月25日 から。

評価

この issue はまだ評価されていません。

説明

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.

主要言語
Go
スター
17
フォーク
2
平均マージ
1時間 42分
マージ済み PR(30日)
173

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Wikid82/Charon のほかの issue

Wikid82/Charon の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。