Skip to content

docs(mcp): fix stale 0.75s discovery-wait reference after #49208 - #49216

Closed
teknium1 wants to merge 1 commit into
mainfrom
fix/mcp-discovery-wait-docstring
Closed

docs(mcp): fix stale 0.75s discovery-wait reference after #49208#49216
teknium1 wants to merge 1 commit into
mainfrom
fix/mcp-discovery-wait-docstring

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

Corrects a stale docstring reference left after #49208 made the MCP discovery wait configurable. The _schedule_mcp_late_refresh docstring in tui_gateway/server.py still cited the old ~0.75s flat bound; the wait is now bounded by the config-driven mcp_discovery_timeout (default 1.5s).

Changes

  • tui_gateway/server.py: docstring ~0.75sbounded by the mcp_discovery_timeout config value, default 1.5s.

Context

Follow-up to #49208. The original #49160 description also narrated a 5.0s default that never matched the shipped code (1.5s); that text lived only in the (now-closed) PR description, not in the repo, so there's nothing else to correct in-tree. This was the one stale value that actually landed in code.

Docs-only; no behavior change.

Infographic

docstring-fix-stale-wait

…docstring

The MCP discovery wait is now bounded by the config-driven mcp_discovery_timeout
(default 1.5s), not the old 0.75s flat value. Updates the _schedule_mcp_late_refresh
docstring that still cited ~0.75s after #49208 made the bound configurable.
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: fix/mcp-discovery-wait-docstring vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 11208 on HEAD, 11208 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 5874 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/docs Documentation improvements comp/tui Terminal UI (ui-tui/ + tui_gateway/) tool/mcp MCP client and OAuth P3 Low — cosmetic, nice to have labels Jun 19, 2026
@teknium1

Copy link
Copy Markdown
Contributor Author

Merged via PR #49944 (docs salvage cluster 2). Your commit was cherry-picked onto current main with your authorship preserved in git log — rebase-merged so it lands under your name. Thanks for the contribution!

@teknium1 teknium1 closed this Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tui Terminal UI (ui-tui/ + tui_gateway/) P3 Low — cosmetic, nice to have tool/mcp MCP client and OAuth type/docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants