Skip to content

test: use Docker image cypress/browsers in parallel record examples - #1886

Merged
mschile merged 1 commit into
cypress-io:masterfrom
MikeMcC399:record-with-docker
Sep 9, 2026
Merged

test: use Docker image cypress/browsers in parallel record examples#1886
mschile merged 1 commit into
cypress-io:masterfrom
MikeMcC399:record-with-docker

Conversation

@MikeMcC399

@MikeMcC399 MikeMcC399 commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Situation

Cypress 16.0.0 deprecates the built-in Electron browser.

As described in #1727 and in the README documentation Parallel section, parallel recording into Cypress Cloud using browsers provided by GitHub Actions runners can cause version mismatch errors during runner deployments that may span several days.

The advice has been to use a Cypress Docker image to ensure consistent versions across parallel runs.

Note that this is only applicable to Ubuntu runner images. Docker containers cannot run under macOS or Windows on GitHub Actions.

Change

Update Cypress Cloud recording examples to use the cypress/browsers Docker image.

Rename the strategy: matrix parameter from container to recording-job to avoid confusion with the Docker container.


Note

Low Risk
Documentation and example workflow YAML only; no changes to the action runtime or user-facing API behavior.

Overview
Updates parallel Cypress Cloud recording guidance and live examples to run matrix jobs inside cypress/browsers Docker (options: --user 1001) so parallel runs share consistent browser versions during GitHub-hosted Ubuntu runner rollouts.

Renames the matrix dimension from containers to recording-job to distinguish GitHub Actions job copies from the job’s Docker container. README Parallel, Custom build id, and Robust custom build id snippets match the workflow changes and add clearer notes to prefer Docker on Ubuntu parallel recording and to avoid parallel recording on macOS/Windows.

Reviewed by Cursor Bugbot for commit fda4421. Bugbot is set up for automated code reviews on this repo. Configure here.

@cypress-app-bot

Copy link
Copy Markdown
Collaborator

@MikeMcC399

Copy link
Copy Markdown
Collaborator Author

@MikeMcC399
MikeMcC399 marked this pull request as ready for review September 4, 2026 14:09
@MikeMcC399 MikeMcC399 self-assigned this Sep 4, 2026
@MikeMcC399 MikeMcC399 added type: enhancement New feature or request Cypress Cloud labels Sep 4, 2026
@MikeMcC399 MikeMcC399 changed the title test: use Docker image cypress/browser in parallel record example test: use Docker image cypress/browsers in parallel record example Sep 4, 2026
@MikeMcC399
MikeMcC399 requested a review from mschile September 4, 2026 16:34
@MikeMcC399
MikeMcC399 marked this pull request as draft September 9, 2026 14:05
@MikeMcC399
MikeMcC399 removed the request for review from mschile September 9, 2026 14:05
@MikeMcC399
MikeMcC399 marked this pull request as ready for review September 9, 2026 15:00
@MikeMcC399 MikeMcC399 changed the title test: use Docker image cypress/browsers in parallel record example test: use Docker image cypress/browsers in parallel record examples Sep 9, 2026
@MikeMcC399

Copy link
Copy Markdown
Collaborator Author

@mschile
mschile merged commit 42021dd into cypress-io:master Sep 9, 2026
97 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prepare for Electron deprecation in Cypress Cloud parallel recording

3 participants