-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[Codemod][ThriftAnnotationsFBSource] fbcode/github/ #26585
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
base: master
Are you sure you want to change the base?
Conversation
|
Reviewer's guide (collapsed on small PRs)Reviewer's GuideIntroduces standard Thrift annotation includes and replaces inline annotation parameters on the ExecutionFailureInfo.cause field with explicit @cpp.Ref and @thrift.DeprecatedUnvalidatedAnnotations attributes. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there - I've reviewed your changes - here's some feedback:
- Consolidate identical codemod changes across presto_thrift.thrift and temp_presto_thrift.thrift (or remove the temp file) to avoid duplicated maintenance overhead.
- Consider factoring out the repeated thrift/annotation includes into a common header or including them only where needed to reduce redundancy.
- Plan to migrate drift.recursive_reference out of DeprecatedUnvalidatedAnnotations into a proper validated annotation to avoid future deprecation issues.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consolidate identical codemod changes across presto_thrift.thrift and temp_presto_thrift.thrift (or remove the temp file) to avoid duplicated maintenance overhead.
- Consider factoring out the repeated thrift/annotation includes into a common header or including them only where needed to reduce redundancy.
- Plan to migrate drift.recursive_reference out of DeprecatedUnvalidatedAnnotations into a proper validated annotation to avoid future deprecation issues.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Summary: Pull Request resolved: prestodb#26585 Differential Revision: D86087872
b9c49e8 to
ff9b5b3
Compare
Differential Revision: D86087872