Pular para o conteúdo
Kitbay
SkillOficial

hybrid-cloud-outboxes

NOASSERTIONAtualizado em 11 de nov. de 202645.751Estrelas no GitHub

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.

O que a skill ensina

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.

O que faz

  • 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