Skip to content

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

Merged
okwasniewski merged 2 commits into
e2e-inc:mainfrom
eriveltonelias:docs-pt-catch-up-guides-large
Nov 30, 2026
Merged

okwasniewski merged 2 commits into
e2e-inc:mainfrom
eriveltonelias:docs-pt-catch-up-guides-large

Conversation

@eriveltonelias

@eriveltonelias eriveltonelias commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

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 docs: make guides easier to read and cut robotic phrasing #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 docs: restructure navigation, merge pages, trim reference #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 docs: restructure navigation, merge pages, trim reference #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 docs: restructure navigation, merge pages, trim reference #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.

View guided diff

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.

- cache: the e2e-inc#2310 rewrite, the shorter reason table, and the strict-mode
  section
- mobile, web: the e2e-inc#2310 rewrite and the new device, service, and
  permission text
- index: the new section order and wording
@github-actions github-actions Bot added the size:XL Up to 999 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 27, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 4 files

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

View guided diff | Re-trigger cubic

Comment thread docs/pt/web.mdx Resolved
Comment thread docs/pt/cache.mdx Resolved
Comment thread docs/pt/cache.mdx Resolved
Comment thread docs/pt/cache.mdx Resolved
@eriveltonelias

Copy link
Copy Markdown
Contributor Author

/ready

@github-actions github-actions Bot added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 27, 2026

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Automated review (AI triage pass), not yet read by a maintainer.

Reviewed ad06b092a. Brings docs/pt/{cache,mobile,web,index}.mdx back in line with English; only files under docs/pt/ change, nothing to fix.

Checked:

  • check-docs-translations at this head reports no warning for these four pages. The remaining pt warnings are pages covered by #2415/#2416. check-docs-anchors (7188 links) and check-docs-mdx (444 pages) pass.
  • On all four pages, inline code spans, link targets, component tags, and bare numbers match English (main aaf9231) exactly.
  • Spot-checked the cache "Why a step was not replayed" tables, the not replayed: truncated reporter line, and the 50-action truncated limit against docs/cache.mdx. All match.
  • The four cubic threads ask for content the English page does not have either. The author's replies are right that those changes belong in English first.
  • No em or en dashes in added lines. CI is green.

@okwasniewski
okwasniewski added this pull request to the merge queue Nov 28, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 28, 2026
@github-actions github-actions Bot removed the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 28, 2026
Resolve the conflicts with e2e-inc#2448 in docs/pt/cache.mdx and docs/pt/web.mdx
by keeping this branch's catch-up text, then carry e2e-inc#2448's English edits
into the four pt pages: the new descriptions, the links to the folded
/browser and /mcp-server pages, and the web page's lede and Next cards.

Links follow English except three anchors pt/reference/mcp and
pt/reference/web don't have yet: the MCP session link keeps /coding-agents,
the target e2e-inc#2448 gave the pt page, and the media emulation link and the
hosted browsers card point at /reference/web. The new keywords
frontmatter stays English-only, as on every other translation.
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Portuguese documentation

Layer / File(s) Summary
Cache recording and eligibility
docs/pt/cache.mdx
The page updates how recording outcomes, cache misses, dynamic values, and test reruns are described.
Replay checks and miss reasons
docs/pt/cache.mdx
The page revises its descriptions of replay checks, final-state verification, replay modes, truncation, and gaps.
Cache storage and strict mode
docs/pt/cache.mdx
The page updates guidance on recording contents, cache usage and sharing, committed recordings, and strict-mode results.
Product overview and CI guidance
docs/pt/index.mdx
The landing page revises the product overview, supported targets, agent operations, reports, and CI guidance.
Mobile testing guidance
docs/pt/mobile.mdx
The mobile page updates guidance for test IDs, platform capabilities, device providers, attributes, and troubleshooting.
Web testing guidance
docs/pt/web.mdx
The web page revises guidance on server setup, environment, authentication, agent-visible controls, permissions, and references.

Possibly related issues

  • e2e-inc/e2e#1890 — Tracks the Portuguese documentation catch-up; this pull request updates the cache, mobile, web, and landing pages covered by that effort.

Suggested reviewers: okwasniewski, kacperkapusciak

Change: Other

Merge Risk: Minimal · up to ba8d9

This updates Portuguese documentation to match the current English pages and changes no runtime behavior. The supplied evidence is consistent with the documented behavior, and the change is easy to revert. Merge readiness risk is minimal.

Architecture risk: Low · up to ba8d9

The change affects 1 source area.

The documentation tells users enabling strict cache to rely on a stale recording failing with REPLAY_STALE rather than falling back to the model, while never-recorded steps or recordings with gaps can still run live.

Changed areas: docs

Review details

Systems and components

  • observed — 4 changed files mapped to docs.

Before / after behavior

  • observed — Modified behavior in docs/pt/index.mdx: The CI section now separates locator-only tests, committed replay recordings, and deterministic checks. It documents that --strict-cache fails on stale recordings instead of calling a model, while never-recorded steps or recordings with gaps still run live; locator expectations run locally without a model, but the embedded agent’s agent.assert, agent.waitFor, and agent.extract always call the model. This replaces guidance that described exact tests, recorded goals, and locator checks with different wording and web-engine detail.
  • observed — Modified behavior in docs/pt/cache.mdx: Foram especificados os casos em que o modo estrito retorna REPLAY_STALE com código 2, sem nova tentativa, e não escreve nem apaga arquivos. A detecção de chave alternativa é limitada ao armazenamento em arquivos embutido; passos sem gravação, com falha de leitura ou gap/truncated ainda rodam ao vivo. As instruções de atualização agora mandam executar localmente em read-write, sem modo estrito, e fazer commit do cache atualizado.
  • observed — Modified behavior in docs/pt/cache.mdx: A descrição e o texto introdutório agora explicam que o cache reproduz ações de agent.act() após uma verificação posterior confirmar o resultado, que os demais métodos citados rodam ao vivo e que not saved pode indicar ausência de verificação posterior ou falta de mudança visível. As orientações de gravação especificam que, em read-write, a verificação no fim do teste confirma os agent.act anteriores.
  • observed — Modified behavior in docs/pt/cache.mdx: A tabela agora distingue saved, kept, unconfirmed, evicted, no-change e not-written, incluindo que mudanças apenas em iframe de origem cruzada não são salvas. A documentação também diz que falhas preservam passos confirmados e removem replays quebrados, enquanto cancelamentos deixam o cache intacto.
Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b928dcb8-4671-4df6-929d-912f998ca1f3
Commits

Reviewing files that changed from the base of the PR and between 7c1b2b2 and ba8d9d9.

Files selected for processing: 4

  • docs/pt/cache.mdx
  • docs/pt/index.mdx
  • docs/pt/mobile.mdx
  • docs/pt/web.mdx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@eriveltonelias

Copy link
Copy Markdown
Contributor Author

/ready

@github-actions github-actions Bot added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 29, 2026

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Automated review (AI triage pass), not yet read by a maintainer.

Reviewed ba8d9d932. The only new commit since the approved ad06b092a is a merge of main. It resolves the #2448 conflicts in pt/cache.mdx and pt/web.mdx and carries #2448's English edits into the four pages. The resolution is right. Nothing to fix.

Checked:

  • The diff against main still touches only docs/pt/{cache,index,mobile,web}.mdx.
  • Conflicts: the author kept the branch's rows in the step.cache.write table and the reuseExisting/log/env rows, over main's older pt text. Those rows match main's English (docs/cache.mdx:64-69, docs/web.mdx:64-66). Main's pt rows were from an older English page: an env row with no services function, and the long log-quote rules.
  • Carried from #2448: the new frontmatter descriptions, the /reference/web#framelocator link, the route/cookie/dialog/download links in the web lede, and the Hosted browsers card.
  • Three links point at the page without an anchor where English has one: the MCP session link goes to /coding-agents, and the media emulation link and Hosted browsers card go to /reference/web. The merge message says why: the pt reference pages lag English, so the anchors would miss there. check-docs-anchors passes (7582 links), and this is the same stopgap as in #2451.
  • check-docs-mdx passes (439 pages). check-docs-translations reports nothing for the four pages. No em or en dashes in added lines. CI on this head is green. No open review threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:XL Up to 999 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants