Skip to content

Parallel record fails on GitHub Actions with macOS patch version update 26.5.2 / 26.6.2 #34772

Description

@MikeMcC399

Current behavior

When running Cypress with parallel / record options in GitHub Actions on macOS, and GitHub-hosted runner image updates are being deployed that bump the minor version of the operating system, then Cypress may fail with an error message containing the following, or similar, text:

This machine is sending different environment parameters than the first machine that started this parallel run.

This machine sent the following parameters:

"osName": "darwin",
"osVersion": "macOS - 26.6.2.... (Expected: macOS - 26.5.2)",

Desired behavior

Cypress should treat macOS patch updates as identical. In this case macOS 26.5.2 and 26.6.2 should be considered the same and not cause a mismatch error.

Test code to reproduce

See https://github.com/cypress-io/cypress-example-kitchensink/blob/master/.github/workflows/using-action.yml

Cypress Version

16.0.0

Debug Logs

https://github.com/cypress-io/cypress-example-kitchensink/actions/runs/33650773325/job/100316909132?pr=1194

You passed the --parallel flag, but we do not parallelize tests across different environments.

This machine is sending different environment parameters than the first machine that started this parallel run.

The existing run is: https://cloud.cypress.io/projects/4b7344/runs

In order to run in parallel mode each machine must send identical environment parameters such as:

 - specs
 - osName
 - osVersion
 - browserName
 - browserVersion (major)

This machine sent the following parameters:

{
  "osName": "darwin",
  "osVersion": "macOS - 26.6.2.... (Expected: macOS - 26.5.2)",
  "browserName": "Electron",
  "browserVersion": "146.0.7680.216",
  "specs": [
    "cypress/e2e/1-getting-started/todo.cy.js",
    "cypress/e2e/2-advanced-examples/actions.cy.js",
    "cypress/e2e/2-advanced-examples/aliasing.cy.js",
    "cypress/e2e/2-advanced-examples/assertions.cy.js",
    "cypress/e2e/2-advanced-examples/connectors.cy.js",
    "cypress/e2e/2-advanced-examples/cookies.cy.js",
    "cypress/e2e/2-advanced-examples/cypress_api.cy.js",
    "cypress/e2e/2-advanced-examples/files.cy.js",
    "cypress/e2e/2-advanced-examples/location.cy.js",
    "cypress/e2e/2-advanced-examples/misc.cy.js",
    "cypress/e2e/2-advanced-examples/navigation.cy.js",
    "cypress/e2e/2-advanced-examples/network_requests.cy.js",
    "cypress/e2e/2-advanced-examples/querying.cy.js",
    "cypress/e2e/2-advanced-examples/spies_stubs_clocks.cy.js",
    "cypress/e2e/2-advanced-examples/storage.cy.js",
    "cypress/e2e/2-advanced-examples/traversal.cy.js",
    "cypress/e2e/2-advanced-examples/utilities.cy.js",
    "cypress/e2e/2-advanced-examples/viewport.cy.js",
    "cypress/e2e/2-advanced-examples/waiting.cy.js",
    "cypress/e2e/2-advanced-examples/window.cy.js"
  ]
}

Other

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Cypress CloudFeature request or issue in Cypress Cloud, not Apptype: enhancementRequested enhancement of existing feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions