fix(tools): bound internal request serialization - #7639
fix(tools): bound internal request serialization#7639BillLeoutsakosvl346 wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
The PR appears safe to merge, with a non-blocking observability regression in the oversized internal-request path. Findings
|
| try { | ||
| stringifyRequestWithinLimit(operationInput, MAX_REQUEST_BODY_SIZE_BYTES) | ||
| } catch (error) { | ||
| if (isPayloadSizeLimitError(error)) throw new Error(BODY_SIZE_LIMIT_ERROR_MESSAGE) | ||
| throw error |
There was a problem hiding this comment.
Oversized internal-operation inputs now skip the structured log fields that recorded the observed body size and configured limit. The generic execution error is still logged, but without these measurements, request-limit incidents are harder to diagnose and quantify. Please preserve equivalent size-limit telemetry in the new bounded serialization path.
Knowledge Base Used: Integrations, connectors, and tools
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
Validation
Four scoped files changed; no generated artifacts or authentication changes.