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

fix(AIP-136): handle LRO response names #1391

Merged
merged 2 commits into from
May 23, 2024

Conversation

noahdietz
Copy link
Collaborator

The common lint for response message name matching needs to better handle LRO Methods which have their response message encoded in the google.longrunning.operation_info annotation.

This fixes the common lint to properly compare the response_type name instead of the rpc return type in the LRO case, as well as the AIP-136 implementation to warn on the proper spot.

Internal bug b/342434484

cc: @liveFreeOrCode just an fyi - the helper we used had a little bug in it that would let it fall through to the finding logic on valid RPCs using LRO. I should've asked for LRO case in the tests! my bad

@noahdietz noahdietz requested a review from a team as a code owner May 23, 2024 18:58
@pratnala
Copy link

Thank you!

@noahdietz noahdietz merged commit ec79f53 into googleapis:main May 23, 2024
6 checks passed
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.

3 participants