Skip to content

ref(rpc): log from _make_rpc_request#116408

Merged
mjq merged 2 commits into
masterfrom
mjq/log-in-single-rpc-request
May 28, 2026
Merged

ref(rpc): log from _make_rpc_request#116408
mjq merged 2 commits into
masterfrom
mjq/log-in-single-rpc-request

Conversation

@mjq
Copy link
Copy Markdown
Member

@mjq mjq commented May 28, 2026

Move the request logging from _make_rpc_requests to _make_rpc_request, which it delegates each individual request to. We were already logging one line per RPC request, and this way we will also log for callers who call _make_rpc_request directly.

🤖: The typing got a little nasty and I used Claude Code (Opus 4.6) to resolve the issues.

Move the request logging from `_make_rpc_requests` to `_make_rpc_request`. It
was already logging one line per request, and this way we can also log for
callers who call `_make_rpc_request` directly.

🤖: The typing got a little nasty and I used Claude Code (Opus 4.6) to resolve
the issues.
@mjq mjq requested a review from wmak May 28, 2026 17:58
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 28, 2026
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 0f296a6. Configure here.

@mjq mjq marked this pull request as ready for review May 28, 2026 18:04
@mjq mjq requested a review from a team as a code owner May 28, 2026 18:04
Copy link
Copy Markdown
Member

@wmak wmak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 lets just wrap the whole thing in a try/except so nothing breaks from logging?

@mjq mjq enabled auto-merge (squash) May 28, 2026 18:20
@mjq mjq merged commit e6d6ba4 into master May 28, 2026
71 checks passed
@mjq mjq deleted the mjq/log-in-single-rpc-request branch May 28, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants