[WIP] Add support for Thrift 0.23.0#6762
Conversation
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
b3f76a0 to
0c0c618
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6762 +/- ##
============================================
- Coverage 74.46% 73.65% -0.81%
- Complexity 22234 24304 +2070
============================================
Files 1963 2200 +237
Lines 82437 91628 +9191
Branches 10764 11959 +1195
============================================
+ Hits 61385 67487 +6102
- Misses 15918 18458 +2540
- Partials 5134 5683 +549 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
0c0c618 to
b5c0cee
Compare
b5c0cee to
3211620
Compare
| @Nullable | ||
| @Override | ||
| public TConfiguration getConfiguration() { | ||
| return new TConfiguration(); |
There was a problem hiding this comment.
We're now returning the default configuration instead of null.
I could just update the thrift0.14 module instead, WDYT?
There was a problem hiding this comment.
I prefer to update TByteBufTransport in thrift0.14.
By the way, why do we need to change it? Is it because TConfiguration may be used in TProtocol implementations?
There was a problem hiding this comment.
TProtocol started using it, see apache/thrift#3287
Motivation:
Thrift 0.23.0 has been released, with some breaking changes:
Modifications:
thrift0.23moduleTByteBufTransportto return a defaultTConfiguration, to handle the first breaking changeResult: