-
Notifications
You must be signed in to change notification settings - Fork 382
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(compute): shorten paths for Bazel+MSVC #13836
fix(compute): shorten paths for Bazel+MSVC #13836
Conversation
MSVC cannot handle paths over 254 characters. Bazel creates protobuf generated files in (relatively) deep directories that include the name of the proto library, and the path to the proto file (twice in our case). Using a single proto library for all the protos creates shorter paths. We still have a duplicate `google/cloud/compute/${service}`, but at least the target name is short.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13836 +/- ##
==========================================
- Coverage 93.64% 93.04% -0.61%
==========================================
Files 2258 2174 -84
Lines 195073 184802 -10271
==========================================
- Hits 182681 171945 -10736
- Misses 12392 12857 +465 ☔ View full report in Codecov by Sentry. |
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.
Reviewed 3 of 4 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @coryan)
MSVC cannot handle paths over 254 characters. Bazel creates protobuf generated files in (relatively) deep directories that include the name of the proto library, and the path to the proto file (twice in our case).
Using a single proto library for all the protos creates shorter paths. We still have a duplicate
google/cloud/compute/${service}
, but at least the target name is short.Fixes #13835
This change is