Skip to content

Conversation

@RyanTheOptimist
Copy link
Contributor

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.

@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @adisuissa
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #42471 was opened by RyanTheOptimist.

see: more, trace.

Copy link
Contributor

@adisuissa adisuissa left a 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

@repokitteh-read-only repokitteh-read-only bot removed the api label Dec 9, 2025
@adisuissa adisuissa enabled auto-merge (squash) December 9, 2025 16:09
@phlax
Copy link
Member

phlax commented Dec 12, 2025

@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

@ravenblackx
Copy link
Contributor

ravenblackx commented Dec 12, 2025

@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.)

@wbpcode
Copy link
Member

wbpcode commented Dec 14, 2025

/retest

@phlax
Copy link
Member

phlax commented Dec 14, 2025

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)

@mathetake
Copy link
Member

@phlax what would you suggest as a next step to move this forward?

@phlax
Copy link
Member

phlax commented Dec 18, 2025

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

@ravenblackx
Copy link
Contributor

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.)

auto-merge was automatically disabled December 26, 2025 19:14

Pull request was closed

kyessenov pushed a commit that referenced this pull request Jan 6, 2026
…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]>
botengyao pushed a commit to botengyao/envoy that referenced this pull request Jan 6, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants