Skip to content

feat: use warn_log_format for discarded messages (backport #21053)#21546

Merged
nchamo merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/d7859f91b737f065-2
Mar 13, 2026
Merged

feat: use warn_log_format for discarded messages (backport #21053)#21546
nchamo merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/d7859f91b737f065-2

Conversation

@AztecBot
Copy link
Collaborator

Summary

Backport of #21053 to v4-next.

Changes aztecnr_debug_log_format to aztecnr_warn_log_format for unknown message type IDs in process_message.nr. Users should be warned (not just debug-logged) when messages are discarded.

Note: the decrypt failure path (line 43) already uses aztecnr_warn_log_format on this branch, so only the unknown msg type path needed updating.

Supersedes #21545 (which had unintended changes to unrelated files).

Original author: @nchamo

ClaudeBox log: https://claudebox.work/s/d7859f91b737f065?run=2

Change aztecnr_debug_log_format to aztecnr_warn_log_format for unknown message
type IDs, so users are properly warned about discarded messages.
@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 13, 2026
@nchamo nchamo marked this pull request as ready for review March 13, 2026 18:20
@nchamo nchamo requested a review from nventuro as a code owner March 13, 2026 18:20
@nchamo nchamo enabled auto-merge (squash) March 13, 2026 18:21
@nchamo nchamo self-assigned this Mar 13, 2026
@nchamo nchamo merged commit 80714a0 into backport-to-v4-next-staging Mar 13, 2026
21 checks passed
@nchamo nchamo deleted the claudebox/d7859f91b737f065-2 branch March 13, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants