-
Notifications
You must be signed in to change notification settings - Fork 438
impl(v3): remove forwarding headers #15907
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: prepare-for-v3.0.0
Are you sure you want to change the base?
impl(v3): remove forwarding headers #15907
Conversation
Summary of ChangesHello @scotthart, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on cleaning up and modernizing the client library by eliminating deprecated forwarding headers. This change simplifies the overall architecture, reduces maintenance overhead, and encourages direct usage of versioned API headers, leading to a more explicit and robust dependency structure for client applications. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
Code Review
This pull request is a large-scale refactoring to remove deprecated forwarding headers. The changes are extensive, touching generator logic, build configurations, documentation, and removing a significant number of header files. This is a valuable cleanup that improves the maintainability of the codebase by removing a layer of backward compatibility. The changes appear to be systematic and correct. I have one suggestion to improve the completeness of the migration guide.
| - google/cloud/accessapproval | ||
| - google/cloud/accesscontextmanager | ||
| - google/cloud/apigateway | ||
| - google/cloud/apigeeconnect | ||
| - google/cloud/apikeys | ||
| - google/cloud/appengine | ||
| - google/cloud/artifactregistry | ||
| - google/cloud/asset | ||
| - google/cloud/assuredworkloads | ||
| - google/cloud/automl | ||
| - google/cloud/baremetalsolution | ||
| - google/cloud/batch | ||
| - google/cloud/beyondcorp | ||
| - google/cloud/bigquery | ||
| - google/cloud/billing | ||
| - google/cloud/binaryauthorization | ||
| - google/cloud/certificatemanager | ||
| - google/cloud/channel | ||
| - google/cloud/cloudbuild | ||
| - google/cloud/composer | ||
| - google/cloud/connectors | ||
| - google/cloud/contactcenterinsights | ||
| - google/cloud/container | ||
| - google/cloud/containeranalysis | ||
| - google/cloud/datacatalog | ||
| - google/cloud/datamigration | ||
| - google/cloud/dataplex | ||
| - google/cloud/dataproc | ||
| - google/cloud/datastream | ||
| - google/cloud/deploy | ||
| - google/cloud/dlp | ||
| - google/cloud/documentai | ||
| - google/cloud/edgecontainer | ||
| - google/cloud/eventarc | ||
| - google/cloud/filestore | ||
| - google/cloud/functions | ||
| - google/cloud/gkehub | ||
| - google/cloud/iam | ||
| - google/cloud/iap | ||
| - google/cloud/ids | ||
| - google/cloud/kms | ||
| - google/cloud/language | ||
| - google/cloud/logging | ||
| - google/cloud/managedidentities | ||
| - google/cloud/memcache | ||
| - google/cloud/monitoring | ||
| - google/cloud/networkconnectivity | ||
| - google/cloud/networkmanagement | ||
| - google/cloud/notebooks | ||
| - google/cloud/optimization | ||
| - google/cloud/orgpolicy | ||
| - google/cloud/osconfig | ||
| - google/cloud/oslogin | ||
| - google/cloud/policytroubleshooter | ||
| - google/cloud/privateca | ||
| - google/cloud/profiler | ||
| - google/cloud/recommender | ||
| - google/cloud/redis | ||
| - google/cloud/resourcemanager | ||
| - google/cloud/retail | ||
| - google/cloud/run | ||
| - google/cloud/scheduler | ||
| - google/cloud/secretmanager | ||
| - google/cloud/securitycenter | ||
| - google/cloud/servicecontrol | ||
| - google/cloud/servicedirectory | ||
| - google/cloud/servicemanagement | ||
| - google/cloud/serviceusage | ||
| - google/cloud/shell | ||
| - google/cloud/speech | ||
| - google/cloud/storagetransfer | ||
| - google/cloud/talent | ||
| - google/cloud/tasks | ||
| - google/cloud/texttospeech | ||
| - google/cloud/tpu | ||
| - google/cloud/trace | ||
| - google/cloud/translate | ||
| - google/cloud/video | ||
| - google/cloud/videointelligence | ||
| - google/cloud/vision | ||
| - google/cloud/vmmigration | ||
| - google/cloud/vpcaccess | ||
| - google/cloud/webrisk | ||
| - google/cloud/websecurityscanner | ||
| - google/cloud/workflows |
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.
The list of libraries with removed forwarding headers appears to be missing google/cloud/cloudquotas. The changes in google/cloud/cloudquotas/CMakeLists.txt indicate that it also had forwarding headers removed in this PR. For completeness of this migration guide, please consider adding it to the list.
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.
cloudquotas does not have forwarding headers, but it did have an unnecessary service dir in its CMakeLists.txt file.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## prepare-for-v3.0.0 #15907 +/- ##
======================================================
+ Coverage 92.83% 92.87% +0.04%
======================================================
Files 2354 2343 -11
Lines 216298 216117 -181
======================================================
- Hits 200794 200719 -75
+ Misses 15504 15398 -106 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
384ca88 to
9ed3105
Compare
No description provided.