-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Remove shadow artifacts from API tree #9479
Comments
This is intended to simplify the internal handling of deprecations during API boosting. See https://docs.google.com/document/d/1mGO9LtVo7t4Lph7WlmyGCxXye3h6j29z3JZvIBbs_D0/edit Ultimately the plan is to hide this all as a build artifact in Bazel cache, but due to the technical complexity of the pure Bazel solution (involving changes spanning PGV, protoxform, API build rules), we will use checked-in artifacts for 1.13.0. Risk level: Low Testing: Additional API test and protoxform golden test. Part of #8082 This should be unwound in the future with #9479 Signed-off-by: Harvey Tuch <htuch@google.com>
This is intended to simplify the internal handling of deprecations during API boosting. See https://docs.google.com/document/d/1mGO9LtVo7t4Lph7WlmyGCxXye3h6j29z3JZvIBbs_D0/edit Ultimately the plan is to hide this all as a build artifact in Bazel cache, but due to the technical complexity of the pure Bazel solution (involving changes spanning PGV, protoxform, API build rules), we will use checked-in artifacts for 1.13.0. Risk level: Low Testing: Additional API test and protoxform golden test. Part of envoyproxy#8082 This should be unwound in the future with envoyproxy#9479 Signed-off-by: Harvey Tuch <htuch@google.com> Signed-off-by: Prakhar <prakhar_au@yahoo.com>
Tagging for collection in #10943 |
Incorporating shadow generation into the Bazel build would greatly speed up development. Running the proto formatter takes a long time and if we can use Bazel for this, we can leverage its caching to avoid unnecessary checks/re-generation. |
I think this is something I could take on. I'd love for this to be faster, and building it into our build process should help with that. |
@akonradi that would be fantastic. Keep in mind that we plan on removing v2 by EOY, so I'd use that to temper how much you invest here. But given your awesome Bazel chops, I'm optimistic :) |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
As part of #8082, we introduced shadow protos for Envoy internal use (see https://docs.google.com/document/d/1mGO9LtVo7t4Lph7WlmyGCxXye3h6j29z3JZvIBbs_D0/edit# for rationale).
Ultimately, we should not be checking into the repository these generated artifacts. If we want to keep shadowing (for convenience), we should be using
protoxform
to generate the desired shadows prior to invoking PGV, to generate shadows.Preferably, we handle future deprecations without the need for shadowing, in v4+.
The text was updated successfully, but these errors were encountered: