Skip to content

docs(pt): pick up #2560 in mobile - #2572

Merged
kacperkapusciak merged 1 commit into
e2e-inc:mainfrom
eriveltonelias:docs-pt-mobile-provider-errors
Dec 1, 2026
Merged

kacperkapusciak merged 1 commit into
e2e-inc:mainfrom
eriveltonelias:docs-pt-mobile-provider-errors

Conversation

@eriveltonelias

@eriveltonelias eriveltonelias commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

What and why

#2560 added a sentence to the device provider section of docs/mobile.mdx: a ConfigurationError from acquire or release fails the run with the provider's code, such as INVALID_CONFIG (exit code 2), and any other error is ENGINE_FAILURE (exit code 3). The pt page did not have it. The triage of #2545 pointed it out, and no open pt PR touches this page.

  • docs/pt/mobile.mdx: the new sentence, after the paragraph on releasing leases.
  • The sentence before it says the engine "still" releases every lease, meaning it does so even though the run failed. The pt read "ainda", which suggests time; it now says "mesmo assim".

Issue

Part of #1890

Verified

Ran it locally: yes

  • Inline code spans, link targets, and the outline match English in the same order (the page comparison prints ok), and no line repeats the end of the line above it.
  • The six checks behind pnpm docs:check exit 0, and the translation check reports nothing for docs/pt/mobile.mdx.
  • "(código de saída 2);" is kept off the start of a line, where "2)" would render as a list item.

View guided diff

Summary by CodeRabbit

  • Documentation
    • Clarified how device reservation failures affect test execution and release of acquired reservations.
    • Documented the error codes reported for configuration errors and other engine failures.

Adds the sentence e2e-inc#2560 gave the device provider section: a
ConfigurationError from acquire or release fails the run with the
provider's code (exit 2), and any other error is ENGINE_FAILURE (exit 3).
Also writes "still" in the sentence before it as "mesmo assim".
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview

The site runs each docs page as code, so a fork's pull request is previewed only after a maintainer reads it. To preview 39366b0, comment /docs-preview 39366b0509bc33a6a9b22eabd9b0df988c82fe36.

@github-actions github-actions Bot added the size:XS Up to 9 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 30, 2026
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Mobile documentation

Layer / File(s) Summary
Reservation and error handling contract
docs/pt/mobile.mdx
The documentation states that the engine releases acquired reservations after a slot reservation failure. It distinguishes ConfigurationError from other errors and specifies their codes and exit codes.

Possibly related PRs

  • e2e-inc/e2e#2543: Implements provider error handling that the Portuguese documentation describes.
  • e2e-inc/e2e#2560: Introduces the provider error and exit-code behavior described in the documentation.

Suggested reviewers: luke-h1

Change: Other

Merge Risk: Minimal · up to 39366

This updates the Portuguese mobile documentation to describe cleanup after a failed slot reservation and the error outcomes for provider failures. It has no runtime impact and is ready to merge.

Architecture risk: Low · up to 39366

The change affects 1 source area.

When acquire or release provides a ConfigurationError, the runner classifies it as a provider-coded configuration failure with exit code 2; other errors remain ENGINE_FAILURE with exit code 3, and a slot reservation failure still triggers release of reservations already obtained.

Changed areas: docs

Review details

Systems and components

  • observed — 1 changed file mapped to docs.
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: d61c83eb-bfd3-4bba-8de2-7f11ba74c301
Commits

Reviewing files that changed from the base of the PR and between ad564a8 and 39366b0.

Files selected for processing: 1

  • docs/pt/mobile.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.

@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.

No issues found across 1 file

View guided diff | Re-trigger cubic

@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 39366b050. Adds the #2560 sentence on provider ConfigurationError exit codes to docs/pt/mobile.mdx, matching docs/mobile.mdx:696-700: same inline code (ConfigurationError, e2e/engine, acquire, release, INVALID_CONFIG, ENGINE_FAILURE), same exit codes 2 and 3.

Checked on the merge with main ad564a886: all six docs checks exit 0, and check-docs-translations reports nothing for docs/pt/mobile.mdx. "(código de saída 2);" is not at the start of a line, so it does not render as a list item. The other half of #2560 (isE2EError in docs/pt/reference/engine.mdx) is covered by open #2545, so no overlap or gap between the two.

The red test (22.22.3, runner) is the testbed explore tests, a known main flake unrelated to a one-file docs change; spec gate fails on it. A rerun should clear both.

Nits

  1. PR body only: English says the engine "still" releases every lease, not "anyway". "mesmo assim" is a fine reading of it, so no change needed in the page.

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Dec 1, 2026
@kacperkapusciak
kacperkapusciak added this pull request to the merge queue Dec 1, 2026
Merged via the queue into e2e-inc:main with commit caba340 Dec 1, 2026
66 of 68 checks passed
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:XS Up to 9 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants