Skip to content

feat: reserved outbox + unique sequence stream for delivery webhooks #1636

Description

@mkostromin-sigma

Parent

Parent: #1606

Blocked by

Scope

  • Alembic migration: UNIQUE (tenant_id, media_buy_id, task_type, sequence_number) on webhook_delivery_log
  • Status reserved (plus existing success/failed/retrying)
  • DeliveryRepository.reserve_next_sequence(...) + mark_delivery_result(...)
  • Repository integration tests only; no scheduler behavior change yet

Spec grounding

UC-004 monotonic sequence_number — docs/test-obligations/UC-004-deliver-media-buy-metrics.md; AdCP 3.1.0-beta.3 reporting webhook. Lifecycle-final ungraded.

Metadata

Metadata

Type

No type

Projects

Status
Blocked

Relationships

None yet

Development

No branches or pull requests

Issue actions