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

feat(protocol): implement buffer for brotli #1133

Closed
wants to merge 1 commit into from

Conversation

SkandaBhat
Copy link
Contributor

Fixes #1081

Note: There are two tests I have marked as ignored, because they were testing against hardcoded compressed values. Since we are implementing a buffer, the compressed values will change, and instead we should be testing roundtrip values instead. I have added a test to check random roundtrips, in addition to the existing roundtrip test.

Copy link

codecov bot commented Mar 3, 2025

Codecov Report

Attention: Patch coverage is 70.11494% with 26 lines in your changes missing coverage. Please review.

Project coverage is 92.9%. Comparing base (ace7c89) to head (dcd3c60).
Report is 56 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...otocol/protocol/src/compression/brotli/compress.rs 73.4% 22 Missing ⚠️
...rates/protocol/protocol/src/compression/variant.rs 0.0% 4 Missing ⚠️
Additional details and impacted files

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@clabby
Copy link
Collaborator

clabby commented Mar 6, 2025

Hi - This PR doesn't look to solve the issue noted in the ticket. The hard coded compressed values should still work after this change.

Going to go ahead and close this for now, glad to continue conversation on the ticket if you'd like to pick this back up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feature] Brotli Compression
2 participants