feat(reminders): add delivery queue primitives #206

Merged
barrettruth merged 1 commit from feat/reminder-dispatch into main 2026-04-06 21:36:30 +00:00
barrettruth commented 2026-04-06 21:30:47 +00:00

Summary

  • add reminder delivery queue primitives with stable dedupe keys and idempotent enqueueing
  • add dispatch state transitions for claim, send, fail, suppress, and retry/dead handling
  • enqueue due task reminders from reminder rules with task completion suppression and retry/backoff coverage

Test plan

  • nix develop . -c biome check --write src/core/reminders/deliveries.ts tests/core/reminders/deliveries.test.ts
  • pnpm typecheck
  • pnpm exec vitest run tests/core/reminders/deliveries.test.ts tests/core/reminders/rules.test.ts tests/core/reminders/endpoints.test.ts tests/core/reminders/schedule.test.ts
  • pnpm test
## Summary - add reminder delivery queue primitives with stable dedupe keys and idempotent enqueueing - add dispatch state transitions for claim, send, fail, suppress, and retry/dead handling - enqueue due task reminders from reminder rules with task completion suppression and retry/backoff coverage #### Test plan - [x] `nix develop . -c biome check --write src/core/reminders/deliveries.ts tests/core/reminders/deliveries.test.ts` - [x] `pnpm typecheck` - [x] `pnpm exec vitest run tests/core/reminders/deliveries.test.ts tests/core/reminders/rules.test.ts tests/core/reminders/endpoints.test.ts tests/core/reminders/schedule.test.ts` - [x] `pnpm test`
Sign in to join this conversation.
No description provided.