Keep authored actions responsive during ledger contention #249

Merged
timmy merged 1 commits from timmy/248-idempotency-ledger-contention into main 2026-08-08 01:02:39 +00:00
Owner

Closes #248

What changed

  • move durable idempotency reservation and completion off the FastAPI event loop
  • bound SQLite lock admission and return retryable 503 responses
  • fail closed with verification guidance when contention follows an upstream mutation
  • document the lock timeout and retry contract

Validation

  • strict RED/GREEN behavioral tests for reservation responsiveness, completion responsiveness, and real SQLite lock contention
  • pytest -q — 411 passed
Closes #248 ## What changed - move durable idempotency reservation and completion off the FastAPI event loop - bound SQLite lock admission and return retryable 503 responses - fail closed with verification guidance when contention follows an upstream mutation - document the lock timeout and retry contract ## Validation - strict RED/GREEN behavioral tests for reservation responsiveness, completion responsiveness, and real SQLite lock contention - `pytest -q` — 411 passed
timmy added 1 commit 2026-08-08 01:01:54 +00:00
fix: keep authored actions responsive under ledger contention (#248)
All checks were successful
CI / lint (pull_request) Successful in 22s
CI / build-frontend (pull_request) Successful in 5s
b3c76dcd69
timmy merged commit 5f3f0176f1 into main 2026-08-08 01:02:39 +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#249
No description provided.