Bulk-authorize push devices before notification fan-out #726

Merged
timmy merged 1 commits from timmy/725-bulk-push-authorization into main 2026-08-13 09:31:46 +00:00
Owner

Closes #725

What changed

  • classify all push device sessions with one bounded SQLite query
  • use one fail-closed authorization map for unread and deadline delivery
  • prune idle/revoked/unknown subscriptions while preserving active fan-out
  • retain subscriptions and delivery checkpoints when the registry is unavailable

Verification

  • RED: new store and dispatch tests failed for missing bulk behavior
  • Focused: 68 passed
  • Full suite: 1406 passed in 70.63s
  • git diff --check: clean
Closes #725 ## What changed - classify all push device sessions with one bounded SQLite query - use one fail-closed authorization map for unread and deadline delivery - prune idle/revoked/unknown subscriptions while preserving active fan-out - retain subscriptions and delivery checkpoints when the registry is unavailable ## Verification - RED: new store and dispatch tests failed for missing bulk behavior - Focused: 68 passed - Full suite: 1406 passed in 70.63s - `git diff --check`: clean
timmy added 1 commit 2026-08-13 09:29:44 +00:00
perf: bulk-authorize push devices (Closes #725)
All checks were successful
CI / lint (pull_request) Successful in 1m35s
CI / build-release (pull_request) Successful in 5s
CI / release-candidate (pull_request) Has been skipped
02a472f841
timmy merged commit abf8e23685 into main 2026-08-13 09:31:46 +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#726
No description provided.