Skip to content

docs: fix 4 documentation discrepancies from nightly reconciliation#3859

Merged
lpcox merged 5 commits intomainfrom
copilot/fix-documentation-discrepancies
Apr 15, 2026
Merged

docs: fix 4 documentation discrepancies from nightly reconciliation#3859
lpcox merged 5 commits intomainfrom
copilot/fix-documentation-discrepancies

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 15, 2026

Nightly reconciliation identified one inaccuracy and three missing entries across docs/CONFIGURATION.md and CONTRIBUTING.md.

docs/CONFIGURATION.md

  • payloadSizeThreshold misclassified as TOML-only — it is defined in StdinGatewayConfig with json:"payloadSizeThreshold,omitempty" and actively consumed. Moved from the TOML-only/CLI-only table into the Gateway Configuration Fields table alongside payloadDir.
  • connect_timeout undocumented — per-server HTTP connection timeout (each transport attempt in the streamable HTTP → SSE sequence). Default: 30s. HTTP servers only.
  • rate_limit_threshold / rate_limit_cooldown undocumented — circuit breaker fields: after rate_limit_threshold (default 3) consecutive rate-limit errors the circuit opens; rate_limit_cooldown (default 60s) controls the OPEN → HALF-OPEN probe interval. Available in TOML/JSON file configs; not available in JSON stdin format.

CONTRIBUTING.md

  • make test-race undocumented — added a Race Detection Tests subsection noting this runs go test -race on ./internal/... and is the right tool when touching concurrent code.

Copilot AI changed the title [WIP] Fix documentation for payloadSizeThreshold configuration docs: fix 4 documentation discrepancies from nightly reconciliation Apr 15, 2026
Copilot AI requested a review from lpcox April 15, 2026 14:06
@lpcox lpcox marked this pull request as ready for review April 15, 2026 14:32
Copilot AI review requested due to automatic review settings April 15, 2026 14:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates project documentation to resolve nightly reconciliation findings by aligning documented configuration fields and contributor workflows with the actual gateway behavior and supported config formats.

Changes:

  • Documented connect_timeout, rate_limit_threshold, and rate_limit_cooldown in docs/CONFIGURATION.md.
  • Reclassified payloadSizeThreshold into the Gateway Configuration Fields table.
  • Added make test-race guidance to CONTRIBUTING.md.
Show a summary per file
File Description
docs/CONFIGURATION.md Adds missing server config entries and reclassifies payloadSizeThreshold in the gateway config reference.
CONTRIBUTING.md Documents the existing make test-race target for Go race detection.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 3

Comment thread docs/CONFIGURATION.md Outdated
Comment thread docs/CONFIGURATION.md Outdated
Comment thread docs/CONFIGURATION.md Outdated
lpcox and others added 3 commits April 15, 2026 07:47
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@lpcox lpcox merged commit f371dfe into main Apr 15, 2026
2 checks passed
@lpcox lpcox deleted the copilot/fix-documentation-discrepancies branch April 15, 2026 14:48
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.

📚 Documentation Reconciliation Report - 2026-04-15

3 participants