Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 731 Bytes

File metadata and controls

15 lines (12 loc) · 731 Bytes

TODO

  • Read authoritative outbox lifecycle states/transitions from code (types/schema/emitter/repository/publisher)

  • Read webhook DLQ store implementation for cross-linking (postgresDlqStore)

  • Update src/db/outbox/README.md with:

    • Emit-in-transaction contract
    • Publisher leasing/claim loop
    • Retry/backoff logic + exact formula used
    • DLQ routing on exhaustion (outbox dead_letter) and cross-link webhook webhook_dlq
    • Mermaid sequence diagram (emit → claim/lease → publish → ack/markPublished OR markFailed → dead_letter)
    • State diagram with exact status names
    • Metrics list with exact metric names/labels
  • Run npm run lint and npm run build