Keep operator session validation off the event loop #276

Merged
timmy merged 1 commits from timmy/275-nonblocking-session-validation into main 2026-08-08 07:16:55 +00:00
Owner

Closes #275

Moves durable session lookups to a worker thread, makes validation SQL read-only, skips public-route lookups, and reuses middleware validation for session status. Durable revocation and fail-closed registry errors remain intact.

Verification

  • Strict RED/GREEN cycles for read-only validation, public-route bypass, single lookup, and event-loop heartbeat
  • pytest -q → 485 passed
  • python3 -m compileall -q src tests
Closes #275 Moves durable session lookups to a worker thread, makes validation SQL read-only, skips public-route lookups, and reuses middleware validation for session status. Durable revocation and fail-closed registry errors remain intact. ## Verification - Strict RED/GREEN cycles for read-only validation, public-route bypass, single lookup, and event-loop heartbeat - `pytest -q` → 485 passed - `python3 -m compileall -q src tests`
timmy added 1 commit 2026-08-08 07:16:04 +00:00
perf: keep session validation off event loop (#275)
All checks were successful
CI / lint (pull_request) Successful in 26s
CI / build-frontend (pull_request) Successful in 4s
0ac1277479
timmy merged commit e0543b2007 into main 2026-08-08 07:16:55 +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#276
No description provided.