Skip to content

Conversation

@ravenblackx
Copy link
Contributor

@ravenblackx ravenblackx commented Dec 26, 2025

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 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 vs. before

screenshot for posterity image

quic appears in FilterChain transport_socket options vs. before

screenshot for posterity image

quic appears in Cluster.TransportSocketMatch transport_socket options vs. before

screenshot for posterity image

Risk Level: changes docs only
Testing: CI
Docs Changes: yes it is
Release Notes: n/a
Platform Specific Features: n/a

@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #42781 was opened by ravenblackx.

see: more, trace.

@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: #42781 was opened by ravenblackx.

see: more, trace.

@ravenblackx
Copy link
Contributor Author

/retest

@ravenblackx
Copy link
Contributor Author

/docs

@repokitteh-read-only
Copy link

Docs for this Pull Request will be rendered here:

https://storage.googleapis.com/envoy-cncf-pr/42781/docs/index.html

The docs are (re-)rendered each time the CI Envoy/Prechecks (docs) job completes.

🐱

Caused by: a #42781 (comment) was created by @ravenblackx.

see: more, trace.

@ravenblackx ravenblackx changed the title quic: Remove an extra "#comment: " in the quic transport socket proto quic: Make the quic transport socket proto correctly appear as an option in the docs Dec 26, 2025
@ravenblackx ravenblackx marked this pull request as ready for review December 26, 2025 22:06
@kyessenov
Copy link
Contributor

API change is technical, so merging.

@kyessenov kyessenov merged commit 40746ec into envoyproxy:main Jan 6, 2026
25 of 26 checks passed
@ravenblackx ravenblackx deleted the quic_uncomment branch January 6, 2026 18:48
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants