Repository navigation
fix(db): prepare deletion catalogs for mention groups - #9587
LordMelkor wants to merge 1 commit into
Conversation
Co-authored-by: Sigil <06114f072cf21e50fcd4133ab21346cdb1f74ee16d853a9729995fa6c03a251c@buzz.block.builderlab.xyz> Signed-off-by: Krish Ray <kray@block.xyz>
🔐 Codex Security Review
|
joahg
left a comment
There was a problem hiding this comment.
🤖 Approving. Registering mention_groups and mention_group_commands in both PENDING_SCOPED_TABLES and APPROVAL_FORWARD_TABLES before the feature migration lands follows the same expand-first pattern as the identity_retirement_* entries, and it changes no schema. Entries stay sorted.
The ordering note in the description matters: this has to be deployed to every relay, deletion executor and operator tool before the Mention Groups migration runs. It would help to restate that in the feature PR so whoever merges it checks.
🤖 Withdrawing this automated approval. Contributions from outside the core maintainers need a review from a human maintainer, so this approval should not count toward merging.
Summary
Community deletion rejects tenant tables that are absent from its approved catalog. Register the two forthcoming Mention Groups tables before the feature migration introduces them, so deletion and approval forwarding keep working during the rollout.
Adds
mention_groupsandmention_group_commandsto both pending scoped tables and approval-forward tables. This change creates no tables and changes no schema. Deploy it to every serving relay, deletion executor and operator tool before installing the feature migration.Related issue
Preparation for relay-owned Mention Groups. Duplicate search found #2791 and #8819; the subsequent feature PR will explain the replacement contract. This PR only prepares the database compatibility catalogs.
Testing
All 216 buzz-db unit tests passed, as did the real PostgreSQL compatibility journey covering optional tables, approved expansion, tenant purge and bystander preservation. Mandatory push hooks passed, including Rust tests and Desktop Tauri checks. Independent agent review found no blockers.
A broader
just cirun stopped at mobile formatting outside this change; human acceptance and fleet deployment remain pending.Merge order
This PR is first in the mention-groups chain. Merge and deploy it first.
This PR depends on no other open PR.