Repository navigation
Conversation
Raise the default serialized /v1/responses body limit to 1,048,576 characters and update boundary unit tests. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
🤖 Finished Review · ✅ Success · Started 10:13 AM UTC · Completed 10:30 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.64 |
|
<!-- fullsend:risk-assessment --> DetailsSmall 3-file constant-value change with 58 lines, no protected paths, no security-sensitive files, no dependency or CI changes, good test ratio; moderate multi-author contention on constants.py offset by low churn and no regression history. |
ReviewFindingsLow
Next steps:
|
| assert req.input == "hello" | ||
|
|
||
| def test_request_above_previous_default_accepted(self) -> None: | ||
| """A request above the previous 128 KiB default is accepted.""" |
There was a problem hiding this comment.
[low] doc-style
The docstring for test_request_above_previous_default_accepted claims a request above the previous 128 KiB default is accepted. However, the previous value of RESPONSES_REQUEST_MAX_SIZE was 65,536 (64 KiB), not 131,072 (128 KiB). The test logic is functionally correct but the documented intent is factually wrong.
Suggested fix: Change the docstring to A request above the old 64 KiB limit is accepted or A large request below the 1 MiB limit is accepted.
|
🤖 Finished Retro · ✅ Success · Started 1:15 PM UTC · Completed 1:26 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.20 |
Retro: PR #3288 —
|
Description
Raise the default serialized /v1/responses body limit to 1,048,576 characters and update boundary unit tests.
Type of change
pyproject.toml+uv.lock]requirements.*.txtfor Konflux]Tools used to create PR
Identify any AI code assistants used in this PR (for transparency and review context)
Related Tickets & Documents
Checklist before requesting a review
Testing