-
Notifications
You must be signed in to change notification settings - Fork 5.2k
quic: Remove an extra "#comment: " in the quic transport socket proto #42471
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
Conversation
Signed-off-by: Ryan Hamilton <[email protected]>
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
adisuissa
left a comment
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!
/lgtm api
|
@RyanTheOptimist this needs to be enabled properly Did you forget to add 'envoy.transport_sockets.quic' to extensions_build_config.bzl, extensions_metadata.yaml, contrib_build_config.bzl, or contrib/extensions_metadata.yaml?which is odd as im strugggling to understand how it works at all without being registed in extensions_build_config |
I think it exists without extensions_build_config because build-wise it's part of a different 'module', and the yaml ones only impact docs. Hopefully, for that reason, only extensions_metadata.yaml is actually required. (I think that's probably the case since the failing thing is a docs test, and extensions_build_config is not related to that.) |
|
/retest |
|
i dont think that would work - the docs test is checking against both envoy_build_extensions and the metadata the point is you cant publish docs for something that is not itself published (and conversely everything published must have docs) |
|
@phlax what would you suggest as a next step to move this forward? |
|
im not sure if totally understand the context, or how its already in use if its not registered - but these docs need to move to whatever is really using it, or it needs to be enabled properly |
|
Closing this for #42781 to take over. (I think that version will pass, but waiting for the bazel folks to fix their cert so CI can run before I undraft it.) |
Pull request was closed
…ion in the docs (#42781) Commit Message: quic: Make the quic transport socket proto correctly appear as an option in the docs Additional Description: This appears to have been added 5 years ago to hide the extension but we can make it visible now. This PR is based on #42471 but fixed so `do_ci.sh docs` passes. A question was raised about whether it needs to be in build extensions; there is precedent for extensions that are not, e.g. [envoy.matching.inputs.request_headers](https://github.com/search?q=repo%3Aenvoyproxy%2Fenvoy%20envoy.matching.inputs.request_headers&type=code) appears in `extensions_metadata.yaml` and does not appear in `extensions_build_config.bzl`. I think the difference is things that aren't from extension sources must instead appear as a `builtin` in `extensions_schema.yaml`, which appears to resolve the other failing test. It also needed a line of doc-visible comment added under the `#extension` line to avoid interpreting it some other way that resulted in a duplicate labels error. Previews of generated docs changes: [All the new header stuff](https://storage.googleapis.com/envoy-cncf-pr/fdb6735/docs/api-v3/extensions/transport_sockets/quic/v3/quic_transport.proto.html#extension-envoy-transport-sockets-quic) vs. [before](https://www.envoyproxy.io/docs/envoy/v1.36.4/api-v3/extensions/transport_sockets/quic/v3/quic_transport.proto.html) <details> <summary>screenshot for posterity</summary> <img width="927" height="831" alt="image" src="https://github.com/user-attachments/assets/3fa1feff-ab5e-4762-bbd7-a06e1a1333ff" /> </details> [quic appears in FilterChain transport_socket options](https://storage.googleapis.com/envoy-cncf-pr/fdb6735/docs/api-v3/config/listener/v3/listener_components.proto.html#envoy-v3-api-field-config-listener-v3-filterchain-transport-socket) vs. [before](https://www.envoyproxy.io/docs/envoy/v1.36.4/api-v3/config/listener/v3/listener_components.proto#extension-category-envoy-transport-sockets-downstream#envoy-v3-api-field-config-listener-v3-filterchain-transport-socket) <details> <summary>screenshot for posterity</summary> <img width="915" height="458" alt="image" src="https://github.com/user-attachments/assets/a4dadb34-bc9b-4bef-b41e-694f705e7cbc" /> </details> [quic appears in Cluster.TransportSocketMatch transport_socket options](https://storage.googleapis.com/envoy-cncf-pr/fdb6735/docs/api-v3/config/cluster/v3/cluster.proto.html#extension-category-envoy-transport-sockets-upstream) vs. [before](https://www.envoyproxy.io/docs/envoy/v1.36.4/api-v3/config/cluster/v3/cluster.proto.html#envoy-v3-api-field-config-cluster-v3-cluster-transportsocketmatch-transport-socket) <details> <summary>screenshot for posterity</summary> <img width="924" height="485" alt="image" src="https://github.com/user-attachments/assets/f1e029ea-965f-4ea6-99ed-88ed5b8dd552" /> </details> Risk Level: changes docs only Testing: CI Docs Changes: yes it is Release Notes: n/a Platform Specific Features: n/a --------- Signed-off-by: Raven Black <[email protected]>
…ion in the docs (envoyproxy#42781) Commit Message: quic: Make the quic transport socket proto correctly appear as an option in the docs Additional Description: This appears to have been added 5 years ago to hide the extension but we can make it visible now. This PR is based on envoyproxy#42471 but fixed so `do_ci.sh docs` passes. A question was raised about whether it needs to be in build extensions; there is precedent for extensions that are not, e.g. [envoy.matching.inputs.request_headers](https://github.com/search?q=repo%3Aenvoyproxy%2Fenvoy%20envoy.matching.inputs.request_headers&type=code) appears in `extensions_metadata.yaml` and does not appear in `extensions_build_config.bzl`. I think the difference is things that aren't from extension sources must instead appear as a `builtin` in `extensions_schema.yaml`, which appears to resolve the other failing test. It also needed a line of doc-visible comment added under the `#extension` line to avoid interpreting it some other way that resulted in a duplicate labels error. Previews of generated docs changes: [All the new header stuff](https://storage.googleapis.com/envoy-cncf-pr/fdb6735/docs/api-v3/extensions/transport_sockets/quic/v3/quic_transport.proto.html#extension-envoy-transport-sockets-quic) vs. [before](https://www.envoyproxy.io/docs/envoy/v1.36.4/api-v3/extensions/transport_sockets/quic/v3/quic_transport.proto.html) <details> <summary>screenshot for posterity</summary> <img width="927" height="831" alt="image" src="https://github.com/user-attachments/assets/3fa1feff-ab5e-4762-bbd7-a06e1a1333ff" /> </details> [quic appears in FilterChain transport_socket options](https://storage.googleapis.com/envoy-cncf-pr/fdb6735/docs/api-v3/config/listener/v3/listener_components.proto.html#envoy-v3-api-field-config-listener-v3-filterchain-transport-socket) vs. [before](https://www.envoyproxy.io/docs/envoy/v1.36.4/api-v3/config/listener/v3/listener_components.proto#extension-category-envoy-transport-sockets-downstream#envoy-v3-api-field-config-listener-v3-filterchain-transport-socket) <details> <summary>screenshot for posterity</summary> <img width="915" height="458" alt="image" src="https://github.com/user-attachments/assets/a4dadb34-bc9b-4bef-b41e-694f705e7cbc" /> </details> [quic appears in Cluster.TransportSocketMatch transport_socket options](https://storage.googleapis.com/envoy-cncf-pr/fdb6735/docs/api-v3/config/cluster/v3/cluster.proto.html#extension-category-envoy-transport-sockets-upstream) vs. [before](https://www.envoyproxy.io/docs/envoy/v1.36.4/api-v3/config/cluster/v3/cluster.proto.html#envoy-v3-api-field-config-cluster-v3-cluster-transportsocketmatch-transport-socket) <details> <summary>screenshot for posterity</summary> <img width="924" height="485" alt="image" src="https://github.com/user-attachments/assets/f1e029ea-965f-4ea6-99ed-88ed5b8dd552" /> </details> Risk Level: changes docs only Testing: CI Docs Changes: yes it is Release Notes: n/a Platform Specific Features: n/a --------- Signed-off-by: Raven Black <[email protected]> Signed-off-by: Boteng Yao <[email protected]>
quic: Remove an extra "#comment: " in the quic transport socket proto
This appears to have been added 5 years ago to hide the extension but we can make it visible now.