Skip to content

test(e2e): increase __internal__beforeEach task timeout to reduce CI flake - #34541

Draft
cursor[bot] wants to merge 1 commit into
developfrom
cursor/circleci-pipeline-monitoring-ae86
Draft

test(e2e): increase __internal__beforeEach task timeout to reduce CI flake#34541
cursor[bot] wants to merge 1 commit into
developfrom
cursor/circleci-pipeline-monitoring-ae86

Conversation

@cursor

@cursor cursor Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor
  • Closes N/A (flake fix from develop CI babysitter)

Additional details

Develop commit 2579fcbd (#34538, v8 snapshot cache update) failed linux-x64run-app-integration-tests-chrome because the global beforeEach hook's cy.task('__internal__beforeEach') timed out after 10s (Cypress Cloud run 73373).

The failing test was runner.mochaEvents.cy.ts → "hook failures / fail in [before]". Parent commit 50b54266 had green linux-x64. The merged PR only touched v8 snapshot cache metadata — this is an infrastructure flake, not a regression from #34538.

__internal__beforeEach reinitializes Cypress and resets app data; under CI load this can exceed the default 10s cy.task timeout. Increase it to SIXTY_SECONDS, matching other heavy e2e tasks like scaffoldProject.

Steps to test

  1. Run yarn workspace @packages/app cypress:run:e2e -- --spec cypress/e2e/runner/runner.mochaEvents.cy.ts locally.
  2. Confirm CI run-app-integration-tests-chrome passes on the PR branch.

How has the user experience changed?

No change

PR Tasks

  • [na] Is there an associated issue with maintainer approval for PR submission?
  • [na] Have tests been added/updated?
  • [na] Has a PR for user-facing changes been opened in cypress-documentation?
  • [na] Have API changes been updated in the type definitions?
Open in Web View Automation 

…flake

The global beforeEach hook calls __internal__beforeEach which reinitializes
Cypress and resets app data. Under CI load this can exceed the default 10s
cy.task timeout, causing run-app-integration-tests-chrome to fail (seen on
develop 2579fcb / Cypress Cloud run 73373).

Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants