Skip to content

docs(cli): only rendering runs in the cloud; which requests still come from your machine #1285 - #1548

Closed
nc9 wants to merge 1 commit into
mainfrom
docs/render-mode-local-requests-1285
Closed

nc9 wants to merge 1 commit into
mainfrom
docs/render-mode-local-requests-1285

Conversation

@nc9

@nc9 nc9 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Refs #1285. The docs-only slice the issue asks to ship first: documentation and help text, no behaviour change. It does not implement, and makes no claim about, the hosted-by-default direction.

What changes

  • docs/cloud/rendering.mdx: a new section "What still comes from your machine".
  • docs/guides/browser-rendering.mdx and docs/cli/audit.mdx: a short note and the --render and --render-mode rows say that only rendering runs in the cloud and the machine still fetches the site, with a link to the section.
  • Help text of --render and --render-mode (apps/cli/src/cli/commands/audit.ts) and their descriptions in the bash, zsh and fish completions (apps/cli/src/self/completion.ts, which mirrors the help; the completion test passes).
  • CHANGELOG, Changed.

Every claim, with the code it rests on (main e86767f; anything I could not prove is left out)

  • A plain request beside each render on a first visit or --refresh (only to fingerprint the source), and a conditional plain request first on a later visit: packages/fetchers/src/conditional-render.ts:152-177 (probePromise = opts.http.fetch(req) at 160 beside opts.render.fetch(req) at 161; opts.http.fetch(req) at 172).
  • A plain fallback for a page whose render fails, times out or is blocked (401, 403, 429, 503 or a bot-challenge page): packages/audit-engine/src/cloud-fetcher.ts:420 (opts.fallback.fetch), the error path at 505-508 and the block path at 509-523 (fallbackWaiter(w, "render-block")); the 401/403/429/503 list is the comment at 510.
  • The start URL's reachability and redirects: apps/cli/src/controllers/audit.ts:995-1000 (checkReachability). The TLS check: createTlsProbe at audit.ts:1237, 2168, 3094.
  • robots.txt: packages/crawler/src/robots.ts:107 (safeFetchWithDeadline); sitemaps: sitemaps.ts:775; llms.txt, well-known, agent-access and licensing files: llms.ts:33, well-known.ts:119, agent-access.ts:83, rsl.ts:74, called from crawler.ts:2866-2935.
  • First-party scripts: packages/audit-engine/src/script-fetcher.ts:172 (safeRedirectFetch); stylesheets, images and PDFs: the asset fetches in adapter.ts (fetchResourceAssets at 1044; the comment at 1032 and the budget comment at 1137 name image, script, PDF and CSS fetches).
  • Internal link targets: packages/audit-engine/src/link-target-probe.ts:89 (fetchUndecoded).
  • External links: external-checker.ts:96-108 (the cloud bulk checker is tried first, any link it does not answer takes the local path; links to private addresses never go to it), local send at external-checker.ts:389; the cloud checker is built in apps/cli/src/audit/cloud.ts:706 and 834.
  • The soft-404 confirmation and the cloaking probes: both use probeFetch (soft404-confirm.ts:171, cloaking-probe.ts:22), a local request through lib/probe-fetch.ts.
  • --http sends everything from the machine: the issue's own trace and the --render-mode off mapping (resolveExplicitRenderMode in commands/audit.ts). Pages that auto does not render are plain requests: the auto description already in the docs.

Left out because I did not trace them: the active and aggressive probes (opt-in), and any statement about timing, ordering or volume of these requests.

The page says in one sentence that a mode where the cloud makes every request to the site is not part of this release; it says nothing else about the hosted-by-default direction.

Gates (run one at a time with heavy.sh): make validate in docs/ passes (the new anchor resolves), bun test tests/self/completion.test.ts 87 pass, bun run lint, bun run format:check, tsgo --noEmit, the changelog guard. No em-dashes in added lines.

Skill: no change needed. The agent skill does not describe where requests originate under --render.

nik

@claude

claude Bot commented Nov 2, 2026

Copy link
Copy Markdown

Docs and help-text only, no behaviour change, and the claims line up with the code references in the PR description. I found no problems that should block the merge.

  • (nit) docs/cloud/rendering.mdx: the section says the site "sees your IP address for these requests". That holds, but the --http line below could also say that the cloud bulk link checker is the one exception for external links. Optional wording polish.
  • (nit) The --render-mode help string now has the "Only rendering runs in the cloud" sentence before "Overrides [cloud].render.". Putting the override note first would read a little better, though the docs table has the same order.
  • (nit) CHANGELOG: the entry is long for a docs-only change. Consider trimming it to the first sentence plus the link.

Tests: no new tests are needed. The completion text changed, so confirm bun test ./apps/cli/tests/self/completion.test.ts and bun run docs:check are green in CI.

@nc9

nc9 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Shipped in v0.0.160. The commits were cherry-picked onto the release branch and rebase-merged: d9ba00a.

Closing this PR since the change is on main.

nik

@nc9 nc9 closed this Nov 2, 2026
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