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

protoc: Change protoc to include generated call option #6924

Closed
wants to merge 1 commit into from

Conversation

zasweq
Copy link
Contributor

@zasweq zasweq commented Jan 17, 2024

This PR adds a call option in the generated code that can be used by stats handlers to determine whether a call comes from a registered method or not.

RELEASE NOTES:

  • protoc: Change protoc to include generated call option

@zasweq zasweq requested a review from dfawley January 17, 2024 19:30
@zasweq zasweq added the Type: Behavior Change Behavior changes not categorized as bugs label Jan 17, 2024
@zasweq zasweq added this to the 1.61 Release milestone Jan 17, 2024
Copy link

codecov bot commented Jan 17, 2024

Codecov Report

Merging #6924 (37aab13) into master (ddd377f) will increase coverage by 0.20%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6924      +/-   ##
==========================================
+ Coverage   83.51%   83.72%   +0.20%     
==========================================
  Files         287      287              
  Lines       30920    30920              
==========================================
+ Hits        25824    25887      +63     
+ Misses       4020     3975      -45     
+ Partials     1076     1058      -18     

see 24 files with indirect coverage changes

@zasweq
Copy link
Contributor Author

zasweq commented Jan 18, 2024

Discussed offline; closing this as we decided to add an exported call option from gRPC, release it, and use that symbol in generated code.

@zasweq zasweq closed this Jan 18, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 16, 2024
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Behavior Change Behavior changes not categorized as bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants