Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
Assigneeszack

Relationships

#4991 ThemeToggle_test flakes with database is locked reading localStorage during verify-build

Opened by zack · 11/22/2026· Shipped 11/22/2026

In verify-build run d67be076 (commit 1334c42ed on branch issue-4912, a change that touches nothing under packages/), packages/dashboard/src/components/ThemeToggle_test.tsx failed once with 'Error: database is locked', thrown from localStorage.getItem in ThemeToggle.tsx:32 while renderToStaticMarkup rendered the component. A rerun of verify-build on the same commit (run fb5649f0) passed every test. Deno backs localStorage with a SQLite file, so a parallel test shard or a concurrent verification on the same host appears able to hold the lock. Expected: the test does not depend on shared persistent storage (stub localStorage, or render without reading it), so verify-build does not fail on contention.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 6 MOREPR_LINKED+ 2 MORESESSION_SUMMARIZED

Shipped

11/22/2026, 4:45:04 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
zack assigned zack11/22/2026, 4:17:49 PM

Sign in to post a ripple.