SQLite test suite flaky: random "Database busy" failures #94

Closed
opened 2026-11-28 18:33:32 +00:00 by jfro · 0 comments
Owner

Found in the review of PR #90 (#79) at 428c773, now on main.

On the SQLite build, about half of full mix test runs fail one random test with Exqlite Database busy, always a LiveView or Accounts test on the users insert, even with max_cases: 1. The SQLite CI job will go red at random.

Done when: the SQLite suite passes 10 full runs in a row locally and in CI, without weakening tests (e.g. busy_timeout / journal_mode / pool settings for the test repo, or sandbox config), and Postgres is unaffected.

Found in the review of PR #90 (#79) at 428c773, now on main. On the SQLite build, about half of full `mix test` runs fail one random test with Exqlite `Database busy`, always a LiveView or Accounts test on the users insert, even with `max_cases: 1`. The SQLite CI job will go red at random. Done when: the SQLite suite passes 10 full runs in a row locally and in CI, without weakening tests (e.g. busy_timeout / journal_mode / pool settings for the test repo, or sandbox config), and Postgres is unaffected.
jfro added this to the v1.4 milestone 2026-11-28 18:33:32 +00:00
jfro closed this issue 2026-11-28 19:21:23 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/lamplighter#94
No description provided.