本文へスキップ
Kitbay
スキル公式

hybrid-cloud-outboxes

NOASSERTION2026年11月11日 更新45,751GitHubスター

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.

スキルの内容

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.

できること

  • 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