Skip to content
Kitbay

hybrid-cloud-outboxes

NOASSERTIONUpdated on Nov 11, 202645,751GitHub stars

A maintainer skill in Sentry's own repository for its outbox system, which keeps data consistent between the control silo and cell silos of Sentry's hybrid cloud.

What the skill teaches

A maintainer skill in Sentry's own repository for its outbox system, which keeps data consistent between the control silo and cell silos of Sentry's hybrid cloud. An outbox row is written in the same database transaction as a model change and processed after commit, firing signals that replicate data, propagate deletions or write audit logs. The skill guides adding replication to a model, creating outbox categories with exactly one scope, writing signal receivers, migrating existing models and backfilling old rows, and stresses idempotent handlers and never draining inside a transaction. It also covers testing with the outbox runner and silo helpers, and maps symptoms such as stuck or piling-up outboxes to causes.

Capabilities

  • Add cross-silo replication to a Sentry model
  • Create outbox categories and signal receivers
  • Backfill outboxes for existing rows
  • Debug stuck or piling-up outboxes