Keep authentication database writes off the event loop #312

Merged
timmy merged 1 commits from timmy/311-auth-db-off-event-loop into main 2026-08-08 14:58:00 +00:00
Owner

Closes #311

Moves every SQLite-backed operation in sign-in and single-device sign-out onto worker threads, preserving status, cookie, and fail-closed semantics.

Tests: pytest -q tests/test_dashboard_auth.py (28 passed); pytest -q (553 passed).

Closes #311 Moves every SQLite-backed operation in sign-in and single-device sign-out onto worker threads, preserving status, cookie, and fail-closed semantics. Tests: `pytest -q tests/test_dashboard_auth.py` (28 passed); `pytest -q` (553 passed).
timmy added 1 commit 2026-08-08 14:57:05 +00:00
perf: isolate authentication database work (#311)
All checks were successful
CI / lint (pull_request) Successful in 31s
CI / build-frontend (pull_request) Successful in 4s
d026bbd400
timmy merged commit c0b42b71cf into main 2026-08-08 14:58:00 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
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: stackchain/stackchain-dashboard#312
No description provided.