mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
the checkpoint removed the pre-lease fence assert from ingest_event_inner without a replacement, leaving the shared ws/http persistent-event seam unfenced during community deletion. restore it as a fail-closed is_serving_active pre-check: inactive communities reject with the same restricted: wire text as the ephemeral path, and a fence-lookup outage maps to internal/500 instead of admitting the write or blaming the client. regressions: unit tests pin the three mapping arms, and an ignored postgres test drives the real deletion lifecycle (submit, freeze inventory, approve, claim, fence) and proves the exact predicate ingest consults flips from admit to refuse. Signed-off-by: Kalvin Chau <kalvin@block.xyz> Co-authored-by: npub122y0pqkertljmedu303rl0aqrj3w8pvu43t6jxm6875lzg6f2pwqegc3xc <5288f082d91aff2de5bc8be23fbfa01ca2e3859cac57a91b7a3fa9f12349505c@buzz.block.builderlab.xyz> Signed-off-by: npub122y0pqkertljmedu303rl0aqrj3w8pvu43t6jxm6875lzg6f2pwqegc3xc <5288f082d91aff2de5bc8be23fbfa01ca2e3859cac57a91b7a3fa9f12349505c@buzz.block.builderlab.xyz>