Make Web Push pagination-complete and reconcile unread delivery state #574

Merged
timmy merged 1 commits from timmy/573-complete-push-snapshot into main 2026-08-11 14:34:40 +00:00
Owner

Closes #573

What changed

  • Load a complete unread Gitea snapshot with bounded page concurrency, total deadline, identity validation, and scan cap.
  • Baseline every unread thread revision when a device subscribes, including threads beyond page one.
  • Atomically prune stale delivery and digest checkpoints only after a complete snapshot.
  • Fail closed on partial or inconsistent snapshots.

Verification

  • Focused push and Gitea notification tests: 40 passed.
  • Full suite: 1190 passed.
  • compileall and git diff --check: clean.
Closes #573 ## What changed - Load a complete unread Gitea snapshot with bounded page concurrency, total deadline, identity validation, and scan cap. - Baseline every unread thread revision when a device subscribes, including threads beyond page one. - Atomically prune stale delivery and digest checkpoints only after a complete snapshot. - Fail closed on partial or inconsistent snapshots. ## Verification - Focused push and Gitea notification tests: 40 passed. - Full suite: 1190 passed. - `compileall` and `git diff --check`: clean.
timmy added 1 commit 2026-08-11 14:32:40 +00:00
feat: complete unread push snapshots (Closes #573)
All checks were successful
CI / lint (pull_request) Successful in 1m23s
CI / build-release (pull_request) Successful in 6s
CI / release-candidate (pull_request) Has been skipped
27fff15da4
timmy merged commit 43f5833f7f into main 2026-08-11 14:34:40 +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#574
No description provided.