Skip to content

encoding: add support for compressor options in Compress methods

6d65379
Select commit
Loading
Failed to load commit list.
Open

encoding: add compressor options in UseCompressor and SetSendCompressor #9036

encoding: add support for compressor options in Compress methods
6d65379
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 22, 2026 in 0s

82.25% (-0.77%) compared to 2b8b708

View this Pull Request on Codecov

82.25% (-0.77%) compared to 2b8b708

Details

Codecov Report

❌ Patch coverage is 57.69231% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.25%. Comparing base (2b8b708) to head (6d65379).
⚠️ Report is 31 commits behind head on master.

Files with missing lines Patch % Lines
stream.go 55.55% 2 Missing and 2 partials ⚠️
rpc_util.go 57.14% 2 Missing and 1 partial ⚠️
server.go 60.00% 0 Missing and 2 partials ⚠️
encoding/gzip/gzip.go 0.00% 0 Missing and 1 partial ⚠️
internal/transport/server_stream.go 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9036      +/-   ##
==========================================
- Coverage   83.01%   82.25%   -0.77%     
==========================================
  Files         413      413              
  Lines       33054    33315     +261     
==========================================
- Hits        27441    27403      -38     
- Misses       4205     4254      +49     
- Partials     1408     1658     +250     
Files with missing lines Coverage Δ
encoding/encoding.go 68.96% <ø> (-6.90%) ⬇️
encoding/gzip/gzip.go 60.00% <0.00%> (-2.50%) ⬇️
internal/transport/server_stream.go 83.87% <75.00%> (-12.74%) ⬇️
server.go 82.03% <60.00%> (-0.93%) ⬇️
rpc_util.go 62.43% <57.14%> (-20.55%) ⬇️
stream.go 62.91% <55.55%> (-19.42%) ⬇️

... and 40 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.