-
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
api: remove [:alpha] protodoc tag and replace with annotation #18218
Conversation
This is a first step towards #17920 A single proto (kafka mesh) has been swapped from using the udpa file_status annotation to the xds file_status annotation to avoid a large amount of churn and a forthcoming migration of many alpha/wip protos to non alpha/wip. The rest will be audited and swapped in future PRs. This single one was done to make sure the doc machinary works properly. Signed-off-by: Matt Klein <[email protected]>
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: Matt Klein <[email protected]>
docs are rendered here https://storage.googleapis.com/envoy-pr/18218/docs/index.html |
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.
one suggestion, orthogonal of this migration PR (thank you so much for clean up) is we probably should ask that folks tagging things as WIP stick a TODO with their name on it or have a tracking issue so they don't forget it. Else I suspect many will get lost or forgotten about and git blame may lose track of who to poke about forward progress.
Basically it'd be nice to have tooling like we do for runtime guards to make sure things don't linger in WIP status. cc @adisuissa
Yes, this makes sense. I will say that my next PR will start warning on this annotation, which I think will make people much more likely to complain/ask about it for follow up though. :) |
/lgtm deps |
cc @adisuissa @htuch the breaking change detector is calling out my change. Let me know what I should do here? I assume we want to allow this type of change? At least addition? |
This is because the new xds wip annotations PR (PR cncf/xds#11) isn't updated in the BSR yet. Also opened #18228 because we need to modify our tool to allow breaking changes for WIP annotations. |
@adisuissa so can I ignore this failure for now? |
I think it makes sense, so you won't be blocked by this problem. envoy/.azure-pipelines/pipelines.yml Lines 247 to 248 in 2e8efde
until the BSR is updated. |
I don't fully understand what buf does, but once this merges, as long as there are no changes after this, won't it pass? |
buf looks at all the current api protos and their dependencies, and compares against the known package version in the BSR. At the moment the BSR xds package (https://buf.build/beta/xds/history) was last updated on Aug 9th, so your latest PR doesn't doesn't appear there. |
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.
Generally LGTM, thanks for working on this. A couple of minor comments.
Hi again! Re: #18019 (comment), I'm not surprised 😁. As I explained there, these
These are automatically synced at 11am ET every day by us, picking up any new changes from the last 24 hours. The hope is that even these would eventually be adopted by their respective owners, but we are committing to maintaining them even if that does not happen. We're (hopefully understandably) reluctant to add other repositories here, but we recognize that Taking a look at some of your other dependencies, there are a few other deprecated modules:
These are probably updated much less frequently and with much less impact to you specifically, so it might not matter to you that they are not being synced anymore, but if it is a concern then ideally the project owners themselves could be convinced to create BSR repositories for them. It may be okay to wait until you notice any issues though. Let us know how we can help and how you'd like to proceed, we want to make sure buf works well for you. |
I still don't fully understand the problem here, but I will defer to @adisuissa on how he wants to proceed. In the meantime pending @htuch comments I will probably just disable the CI job. |
Signed-off-by: Matt Klein <[email protected]>
Signed-off-by: Matt Klein <[email protected]>
@htuch updated PTAL. In the next change I will actually warn when using any API with one of these annotations. After that I will begin converting some things away from alpha/wip that we know are used in prod. |
Signed-off-by: Matt Klein <[email protected]>
Signed-off-by: Matt Klein <[email protected]>
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.
LGTM, thanks!
…roxy#18218) This is a first step towards envoyproxy#17920 A single proto (kafka mesh) has been swapped from using the udpa file_status annotation to the xds file_status annotation to avoid a large amount of churn and a forthcoming migration of many alpha/wip protos to non alpha/wip. The rest will be audited and swapped in future PRs. This single one was done to make sure the doc machinary works properly. Signed-off-by: Matt Klein <[email protected]>
This is a first step towards #17920
A single proto (kafka mesh) has been swapped from using the udpa
file_status annotation to the xds file_status annotation to avoid a
large amount of churn and a forthcoming migration of many alpha/wip
protos to non alpha/wip. The rest will be audited and swapped in
future PRs. This single one was done to make sure the doc machinary
works properly.
Risk Level: None, doc only
Testing: Manual review of docs
Docs Changes: Manually verified
Release Notes: N/A
Platform Specific Features: N/A