Skip to content

Avoid E2E teardown retries after browser closes#7803

Open
alfonso-noriega wants to merge 1 commit into
mainfrom
avoid-e2e-teardown-closed-page-retries
Open

Avoid E2E teardown retries after browser closes#7803
alfonso-noriega wants to merge 1 commit into
mainfrom
avoid-e2e-teardown-closed-page-retries

Conversation

@alfonso-noriega

@alfonso-noriega alfonso-noriega commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

What

Stops E2E app teardown from retrying after Playwright has already closed the browser page, and caps best-effort dashboard app deletion to a fixed teardown time budget.

Why

Recent failed runs show repeated teardown noise with the same browser-closed pattern:

  • 36/80 recent failed runs matched E2E teardown/browser-close cleanup errors
  • 27/80 included Target page, context or browser has been closed
  • 27/80 included app deletion failed after 3 attempts

A related failure mode is the app deploy E2E completing its assertions but then consuming the remaining test timeout while trying to delete a secondary app from the Dev Dashboard. If dashboard cleanup cannot complete quickly, the per-test cleanup scripts can reap the orphan later.

Testing

  • pnpm --filter e2e lint
  • pnpm --filter e2e type-check attempted previously, but blocked by existing cli-kit:build errors for missing GraphiQL dependencies (h3, react-dom/server, @shopify/polaris, @shopify/polaris-icons).

@alfonso-noriega alfonso-noriega requested a review from a team as a code owner June 15, 2026 09:59

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions Bot added the no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. label Jun 15, 2026
@alfonso-noriega alfonso-noriega force-pushed the avoid-e2e-teardown-closed-page-retries branch from e1ea7f7 to 004d6af Compare June 15, 2026 11:55
@alfonso-noriega alfonso-noriega force-pushed the avoid-e2e-teardown-closed-page-retries branch from 004d6af to c57ef70 Compare June 15, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant