Skip to content

docs(cli): add docs for doctor --timeout and --retries flags - #484

Merged
Kinfe123 merged 1 commit into
mainfrom
docs/docs/drift-d1d037f-3qfn0w
Aug 17, 2026
Merged

docs(cli): add docs for doctor --timeout and --retries flags#484
Kinfe123 merged 1 commit into
mainfrom
docs/docs/drift-d1d037f-3qfn0w

Conversation

@farming-labs-docs

@farming-labs-docs farming-labs-docs Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Updates documentation after #480 changed behavior that readers may rely on.

What Changed

The docs doctor CLI gained two new options for hosted URL probes: --timeout <ms> sets each hosted HTTP probe timeout (default 15000, valid range 100–120000) and --retries <0-5> sets the retry count for safe hosted GET/HEAD probes (default 1, valid range 0–5). Invalid values throw descriptive errors, and mutating MCP requests are never retried automatically. These surface on DoctorOptions as hostedTimeoutMs and hostedRetries and appear in the doctor help output. Separately, the docs sitemap response Cache-Control header default changed from public, max-age=0, must-revalidate to public, max-age=0, s-maxage=3600, stale-while-revalidate=86400.

Docs Update

In the CLI docs page's Doctor section, add the two new hosted-probe flags: --timeout <ms> (per-probe hosted request timeout, default 15000, accepts 100–120000) and --retries <0-5> (retries for safe hosted GET/HEAD probes, default 1), and note that mutating MCP requests are never retried automatically. Include the combined example docs doctor --agent --url https://docs.example.com --timeout 20000 --retries 2.

Generated by Docs Cloud.


Summary by cubic

Documents the new --timeout and --retries flags for docs doctor hosted probes so users can tune timeouts and retry behavior and understand defaults and limits. Previously these options were undocumented.

  • --timeout <ms>: per-probe HTTP timeout (default 15000, range 100–120000). --retries <0-5>: retries for safe GET/HEAD probes (default 1); mutating MCP requests are never retried. An example command is added.

Written for commit a830504. Summary will update on new commits.

Review in cubic

In the CLI docs page's Doctor section, add the two new hosted-probe flags: `--timeout <ms>` (per-probe hosted request timeout, default 15000, accepts 100–120000) and `--retries <0-5>` (retries for safe hosted GET/HEAD probes, default 1), and note that mutating MCP requests are never retried automatically. Include the combined example `docs doctor --agent --url https://docs.example.com --timeout 20000 --retries 2`.
Generated by Docs Cloud via https://docs.farming-labs.dev
@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview Aug 14, 2026 5:18pm
farming-labs-docs-docs-cloud Building Building Preview Aug 14, 2026 5:18pm

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Aug 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

@farming-labs/astro

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/astro@484

@farming-labs/astro-theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/astro-theme@484

@farming-labs/docs

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/docs@484

@farming-labs/farmjs

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/farmjs@484

@farming-labs/theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/theme@484

@farming-labs/next

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/next@484

@farming-labs/nuxt

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/nuxt@484

@farming-labs/nuxt-theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/nuxt-theme@484

@farming-labs/svelte

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/svelte@484

@farming-labs/svelte-theme

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/svelte-theme@484

@farming-labs/tanstack-start

pnpm add https://pkg.pr.new/farming-labs/docs/@farming-labs/tanstack-start@484

commit: a830504

@Kinfe123
Kinfe123 marked this pull request as ready for review August 17, 2026 10:12
@Kinfe123
Kinfe123 merged commit 966c4f1 into main Aug 17, 2026
12 of 13 checks passed

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

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.

1 participant