Skip to content

Commit 895e30e

Browse files
AdamDonnacodex
andcommitted
Fix scheduled concurrency test lint and clarify rollout baseline
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Adam Donaghy <adonaghy@squareup.com>
1 parent 7514d7a commit 895e30e

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎crates/buzz-relay/src/handlers/membership_notice_postgres_tests.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ async fn scheduled_delivery_holds_membership_through_channel_insert() {
582582
}
583583
});
584584

585-
let (_, removal) = at_receipt(&mut barrier, async |_| {
585+
let (_, (removal,)) = at_receipt(&mut barrier, async |_| {
586586
// A role update and a removal must both wait for the same final relay
587587
// membership check. KEY SHARE, for example, lets role updates through.
588588
let error = sqlx::query(
@@ -618,7 +618,7 @@ async fn scheduled_delivery_holds_membership_through_channel_insert() {
618618
}
619619
});
620620
wait_for_membership_lock(&state, &tenant, &channel.to_string(), &removal).await;
621-
removal
621+
(removal,)
622622
})
623623
.await;
624624
assert_eq!(delivery.await.unwrap(), 1);

‎docs/scheduled-messages.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ ingest authorization reads use another.
4747
executor and operator CLI** before applying the expansion. That release lists
4848
`scheduled_messages` in both `PENDING_SCOPED_TABLES` and
4949
`APPROVAL_FORWARD_TABLES` and is the minimum rollback version after expansion.
50+
Build that release from current main so it also recognizes all tenant tables
51+
already deployed, including the search tables; an older compatibility branch
52+
snapshot is not a supported rollback binary.
5053
2. Apply migrations 0109 and 0110 or their matching desired-state table and indexes.
5154
Migration 0110 verifies an existing exact expiry index before accepting it.
5255
For an out-of-band build that needs to keep writers active, prebuild

0 commit comments

Comments
 (0)