mirror of
https://github.com/block/buzz.git
synced 2026-11-11 20:01:09 +00:00
Address review on the single-table guard writers: - Require deletion_state = 'active' on every non-lifecycle communities UPDATE and conflict upsert; add it to archive/unarchive UPDATEs, which already lock an active row. - Require the inventory and destructive-storage one-way freeze predicates on every request UPDATE that assigns those columns. - Pin abort's generation increment with a trigger-disabled PG test covering quiescing/fenced and archived/unarchived communities. - Parse ON CONFLICT DO UPDATE SET, tuple SET, and column-less community inserts; require AND deleted_at IS NULL on the manifest stamp. - Assert exact production rule-hit sets so a parser that stops matching fails. - Correct the lifecycle lock doc comment and format the fence body. Signed-off-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>