← Back to Pull requests

docs: fix local test command in client idle timeout task #10731

Open
MaxonT opened this pull request with 14 lines diff across 1 files
View on GitHub
MaxonT MaxonT commented on Nov 29, 2026 23:44 UTC
Author

The ClientTrafficPolicy task pages are easy to follow, which made the error in the Configure Client HTTP Idle Timeout section stand out, so this PR fixes that section.

Fixes #6168

The section told readers to run openssl s_client -crlf -connect $GATEWAY_HOST:443. The quickstart Gateway (eg) only has an HTTP listener on port 80, so nothing listens on 443 and the connection is refused, as the reporter saw. The change:

uses nc $GATEWAY_HOST 80 against the quickstart listener, and
adds the port-forward alternative for clusters without an external load balancer, using the same ENVOY_SERVICE lookup and 8888:80 forward that boilerplates/testing.md already uses.

Only site/content/en/latest/tasks/traffic/client-traffic-policy.md changes (docs, no API or behaviour change, no release note needed). I did not backport it to the versioned docs.

Checks

Not run: a live cluster walkthrough of the new commands, the docs site build, and the repository CI on this head. The listener port was confirmed from examples/kubernetes/quickstart.yaml (HTTP, port 80). The commit is signed off (DCO).

Diff: 14 lines (+11 / -3) across 1 files Reviewer: zirain Review duration: 2527m
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.19) × (1 − Review Confidence (0.78)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.19 · 14 lines diff across 1 files
0.19
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.72 · 5 substantive comment(s)
0.72
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
77%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.162
Real PR Conversation Timeline
8 items
netlify[bot] netlify[bot] commented on Nov 29, 2026 23:44 UTC
Bot

<span aria-hidden="true">✅</span> Deploy Preview for cerulean-figolla-1f9435 ready!


Built without sensitive environment variables

| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 750ce4e745025fc6db737ae2112c9b13ef2a1e81 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/6b0d1fb4746c2bad7a65df1e |
|<span aria-hidden="true">😎</span> Deploy Preview | https://deploy-preview-10731--cerulean-figolla-1f9435.netlify.app |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />!QR Code<br /><br />_Use your smartphone camera to open QR code link._</details> |
---
<!-- cerulean-figolla-1f9435 Preview -->
_To edit notification comments on pull requests, go to your Netlify project configuration._

chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 29, 2026 23:44 UTC
Bot

<!-- codex-pull-request-review-summary -->
<!-- codex-review-state:v1 {"code_review":{"commit_sha":"750ce4e745025fc6db737ae2112c9b13ef2a1e81","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->

<details>
<summary><strong>Codex Review Summary</strong>: ✅ Completed</summary>

This comment shows the latest Codex review activity on this pull request.

| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-30T07:05:11.652851Z">2026-11-30T07:05:11.652851Z</relative-time> | 750ce4e | New commits |

<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review" or "@codex security review".
  • Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

    </details>

    </details>

    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on code on Nov 29, 2026 23:47 UTC
    Code Review
    site/content/en/latest/tasks/traffic/client-traffic-policy.md:1
    @@ -598,10 +598,18 @@ spec:
     {{% /tab %}}
     {{< /tabpane >}}
     
    -Curl the example app through Envoy proxy:
    +Open a connection to the Gateway listener from the quickstart (HTTP on port 80) and leave it idle:
    +
    +```shell
    +nc $GATEWAY_HOST 80

    <sub><sub>!P2 Badge</sub></sub> Detach stdin so the idle disconnect is observable

    With Ubuntu's OpenBSD netcat, an interactive nc continues waiting for stdin after the peer closes the connection, so both new probes remain silently running past 5s even when Envoy correctly applies the timeout. I reproduced this with TTY-backed stdin against a local server that closed an otherwise-idle socket; adding -d made the client exit on the same close. Detach stdin in both examples (nc -h documents -d as “Detach from stdin”), or provide another way to observe the disconnect, so readers can actually verify the documented timeout.

    Useful? React with 👍 / 👎.

    <!-- codex-code-review-finding:v1 -->

    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 29, 2026 23:47 UTC
    Reviewer

    <!-- codex-review-receipt:v1 -->

    💡 Codex Review

    Here are some automated review suggestions for this pull request.

    Reviewed commit: 28fef87e8b

    <details> <summary>ℹ️ About Codex in GitHub</summary>
    <br/>

    Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review".
  • If Codex has suggestions, it will comment; otherwise it will react with 👍.

    Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

    </details>

    MaxonT MaxonT commented on Nov 30, 2026 03:01 UTC
    Author

    Hi team, could you please review this when you have a moment?

    In short: Fix local test command in client idle timeout task.

    I think this will be really valuable. You may want to take a look. Thanks!

    MaxonT MaxonT commented on Nov 30, 2026 19:11 UTC
    Author

    Hi team, could you please review this when you have a moment?

    In short: Fix local test command in client idle timeout task.

    I think this will be really valuable. You may want to take a look. Thanks!

    zirain zirain approved these changes on Dec 01, 2026 00:45 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    MaxonT MaxonT
    Labels
    risk: low confidence: 77.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 19.2% (LOW) · Higher = larger blast radius
    19.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 77.8% · Lower = rushed or shallow review
    77.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 4.3% · Safe to merge
    4.3%