Skip to content

Conversation

@zirain
Copy link
Member

@zirain zirain commented Dec 10, 2025

fixes: #5717

@zirain zirain requested a review from a team as a code owner December 10, 2025 02:35
@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

❌ Patch coverage is 81.25000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.40%. Comparing base (b0e3ced) to head (1d127d4).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/gatewayapi/backendtrafficpolicy.go 75.00% 2 Missing ⚠️
internal/gatewayapi/filters.go 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7711      +/-   ##
==========================================
+ Coverage   72.34%   72.40%   +0.06%     
==========================================
  Files         234      234              
  Lines       34542    34537       -5     
==========================================
+ Hits        24988    25007      +19     
+ Misses       7762     7744      -18     
+ Partials     1792     1786       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

cnvergence
cnvergence previously approved these changes Dec 10, 2025
// If not specified the default is 4096.
//
// +optional
MaxSize *int `json:"maxSize,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

can we solve this w/o an API, based on input length ?

Copy link
Member Author

Choose a reason for hiding this comment

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

that would be dangrous when some referenced a wrong secret by accident.

Copy link
Contributor

Choose a reason for hiding this comment

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

max size of a Secret or ConfigMap is 1MB

Copy link
Member Author

Choose a reason for hiding this comment

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

sounds good.

@zirain zirain force-pushed the direct-response-body-size branch from 33a384f to 33455b5 Compare December 11, 2025 05:35
@zirain zirain changed the title feat: support custom max body size for direct response feat: support direct response limit greater than 4096 Dec 11, 2025
@zirain zirain force-pushed the direct-response-body-size branch from 33455b5 to b5a4e78 Compare December 11, 2025 06:59
@zirain zirain requested review from arkodg and cnvergence December 11, 2025 08:00
Signed-off-by: zirain <[email protected]>
Signed-off-by: zirain <[email protected]>
Signed-off-by: zirain <[email protected]>
Signed-off-by: zirain <[email protected]>
Signed-off-by: zirain <[email protected]>
@zirain zirain force-pushed the direct-response-body-size branch from 622d768 to 1d127d4 Compare December 12, 2025 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support direct response limit greater than 4096

3 participants