fix(buzz-relay): log missing relay_member row before kind:9033 auth gate - #4995
Open
santhiprakash wants to merge 1 commit into
Open
fix(buzz-relay): log missing relay_member row before kind:9033 auth gate#4995santhiprakash wants to merge 1 commit into
santhiprakash wants to merge 1 commit into
Conversation
When `get_relay_member` returns `None` for a `kind:9033` workspace profile event, emit a `tracing::debug!` log capturing the sender pubkey, community, and event kind before `may_set_workspace_profile` denies the request. This makes format-mismatch failures in the `relay_members.pubkey` column (e.g. `\x`-prefixed hex) observable server-side for operators. Fixes block#4982 Signed-off-by: Santhi Prakash <b.santhiprakash@gmail.com>
santhiprakash
force-pushed
the
fix/est-1867-relay-admin-9033-log
branch
from
August 6, 2026 17:43
880220b to
3ea63f1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
tracing::debug!log incrates/buzz-relay/src/handlers/relay_admin.rswhenget_relay_memberreturnsNonefor akind:9033workspace profile event. The log captures the sender pubkey, community, and event kind beforemay_set_workspace_profiledenies the request, making format-mismatch failures inrelay_members.pubkeyobservable server-side.Fixes #4982.
Test plan
cargo fmt -p buzz-relay -- --checkcargo clippy -p buzz-relaycargo test -p buzz-relay --lib -- relay_admin(24 passed; Postgres-backed integration tests ignored)