Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FI-2463 large request fix #445

Merged
merged 1 commit into from
Feb 5, 2024
Merged

FI-2463 large request fix #445

merged 1 commit into from
Feb 5, 2024

Conversation

arscan
Copy link
Contributor

@arscan arscan commented Feb 2, 2024

Summary

Large payloads in the body of API calls cause the logger to break due to how puma handles very large payloads differently than smaller payloads when parsing.

Testing Guidance

Ensure that important test kits (e.g. g10) still work properly. Replicating large input payloads do not break is more challenging, ask team for an example.

Copy link

codecov bot commented Feb 2, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (55b224e) 77.32% compared to head (d37cea6) 77.29%.

Files Patch % Lines
lib/inferno/utils/middleware/request_logger.rb 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #445      +/-   ##
==========================================
- Coverage   77.32%   77.29%   -0.03%     
==========================================
  Files         225      225              
  Lines       11211    11215       +4     
  Branches     1052     1053       +1     
==========================================
  Hits         8669     8669              
- Misses       1941     1945       +4     
  Partials      601      601              
Flag Coverage Δ
backend 93.84% <0.00%> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@arscan arscan merged commit fc90518 into main Feb 5, 2024
9 of 10 checks passed
@arscan arscan deleted the fi-2463-large-request-fix branch February 5, 2024 17:22
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.

2 participants