ccbf82cc

By: Michael Lynch <git@mtlynch.io>

Fix import cycle between handlers and store/sqlite in dev builds

handlers/db_dev.go previously imported store/sqlite directly, while
store/sqlite imports handlers, forming a cycle. Break it by replacing
the direct sqlite.New call with an injected factory function
(SetSessionDBFactory), wired up via a new cmd/app/main_dev.go init().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish
Config 2m09s 1s 1s 2m11s
Eval 2m11s 35s 35s 2m47s
Build 10m57s 2m43s 1m31s 12m29s
Test - - - -
Deploy - - - -
Suite 2m09s 3m20s 10m19s 12m29s

Timeline

0s2m10s2m20s2m30s2m40s11m11m10s11m20s11m30s11m40s11m50s12m12m10s12m20s