Files
buzz/crates/buzz-relay
Will Pfleger 8d613ce0e8 test(relay): refresh the author's membership cache after the stray-h private channel insert (#9640)
Fixes
`handlers::ingest::postgres_tests::reaction_and_deletion_h_must_name_the_target_channel`,
which fails on main in the PostgreSQL Tests jobs.

The test creates its private channel directly in the database after the
author has already published, so the per-user membership cache
(`is_member_cached`) still holds the author's snapshot from before that
channel existed. The author's post to the new channel is then refused
with `restricted: not a channel member`. The test now drops the author's
cached membership after the insert, so the channel's owner is seen as a
member. The test's assertions are unchanged.

Signed-off-by: Will Pfleger <wpfleger@block.xyz>
Co-authored-by: Duncan <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@buzz.block.builderlab.xyz>
2026-11-18 14:14:09 -05:00
..