Recover queued delivery when background requests stall #306

Merged
timmy merged 1 commits from timmy/305-background-request-deadlines into main 2026-08-08 13:48:07 +00:00
Owner

Summary

  • bound background identity, CSRF, and mutation requests with abortable deadlines
  • release durable claims for idempotent retry and cancel active drains during device purge
  • prevent late mutations after shared CSRF cancellation and refresh the offline shell

Verification

  • RED observed for stalled mutation retry, batch purge cancellation, and shared CSRF cancellation
  • python3 -m pytest tests/test_background_issue_sync.py tests/test_service_worker.py -q (43 passed)
  • python3 -m pytest tests/ -q (542 passed)
  • node --check frontend/background-issue-sync.js
  • node --check frontend/service-worker.js

Closes #305

## Summary - bound background identity, CSRF, and mutation requests with abortable deadlines - release durable claims for idempotent retry and cancel active drains during device purge - prevent late mutations after shared CSRF cancellation and refresh the offline shell ## Verification - RED observed for stalled mutation retry, batch purge cancellation, and shared CSRF cancellation - `python3 -m pytest tests/test_background_issue_sync.py tests/test_service_worker.py -q` (43 passed) - `python3 -m pytest tests/ -q` (542 passed) - `node --check frontend/background-issue-sync.js` - `node --check frontend/service-worker.js` Closes #305
timmy added 1 commit 2026-08-08 13:47:08 +00:00
fix: recover stalled background delivery (#305)
All checks were successful
CI / lint (pull_request) Successful in 30s
CI / build-frontend (pull_request) Successful in 4s
add45365ab
timmy merged commit bd5e66b4e5 into main 2026-08-08 13:48:07 +00:00
timmy deleted branch timmy/305-background-request-deadlines 2026-08-08 13:48:07 +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#306
No description provided.