docs(pt): bring cache, mobile, web, and index back in line with English

Merged
ER
3d ago
+345-475

What and why

English changed these four pt-translated pages after they merged, mostly through the #2310 readability rewrite. This brings them back in line with the current English page, prose included. It is the first of three catch-up PRs for #1890.

  • cache: every paragraph #2310 rewrote, the shorter "Why a step was not replayed" table, the new not replayed: truncated reporter line, and the shorter "Fail on a stale recording" section.
  • mobile: the Compose and SwiftUI bullets, network and lock notes, the release budget, the getAttribute list, and the shorter troubleshooting.
  • web: the app.command table and paragraphs, the headers and basicAuth text, the styled-checkbox paragraph, and the permissions list.
  • index: the new section order ("Por que e2e", "Como funciona", then the release gate) and wording.
  • Main's #2448 folded /browser and /mcp-server into other pages and edited cache and web. The merge of main keeps this PR's text and carries #2448's English edits in: the new descriptions on all four pages, the web lede and Next cards, and the links to the folded pages.

Issue

Part of #1890

Verified

Ran it locally: yes

  • Each page's English changes were taken from the base commit of the pt PR that last updated it, so changes that landed while that PR was in review are included.
  • The six docs checks behind pnpm docs:check pass with no warnings for these pages: 444 pages compile, and 7188 anchor links resolve. (The check still warns on other pt pages English changed since; the other two catch-up PRs cover them.)
  • On all four pages, the code blocks, inline code spans, link targets, #anchors, ids, and component tags match English in the same order, except three web links whose anchors pt/reference/mcp and pt/reference/web don't have yet (#running-tests-beside-a-session, #media-emulation, #hosted-browsers). Those keep the target #2448 gave the pt page (/coding-agents) or point at /reference/web. No em or en dashes.
  • Fresh-context second reads found one critical slip and fixed it: cache said codes typed "um dígito por caixa", one digit per box, which narrowed the English rule (checked against packages/core/src/agent/derived.ts). They also caught "descartar o cache" reading as deleting it, and "uma delas" with no antecedent on web. All are fixed.
  • Local Mintlify preview: the four pages render with the same heading, table, code block, and Accordion counts as English.

Summary by CodeRabbit

  • Documentation
    • Updated the Portuguese guides for cache replay, CI checks, mobile testing, and web testing.
    • Clarified when recordings are saved or replayed, what causes cache misses, and when steps run live.
    • Revised guidance on mobile setup and troubleshooting, web configuration, services, ports, secrets, and relevant failure logs.
    • Removed some detailed mobile error and timeout explanations, along with guidance on older Chrome permissions and secret validation.