Skip to content

Run E2E app and store cleanup in parallel - #8295

Closed
isaacroldan wants to merge 1 commit into
mainfrom
isaac/parallel-e2e-cleanup-jobs
Closed

Run E2E app and store cleanup in parallel#8295
isaacroldan wants to merge 1 commit into
mainfrom
isaac/parallel-e2e-cleanup-jobs

Conversation

@isaacroldan

@isaacroldan isaacroldan commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

The e2e-cleanup job ran app cleanup and store cleanup as sequential steps (up to 6m + 5.5m in recent runs), making it the longest chain in the PR workflow. A slow cleanup also widens the window where a new push's cancel-in-progress kills it midway and leaks E2E resources.

WHAT is this pull request doing?

Splits e2e-cleanup into a two-leg matrix job (apps, stores) so both cleanups run in parallel. No script changes — each leg runs the same setup and one of the existing cleanup scripts.

The two cleanups already tolerate racing each other: apps cleanup previously ran before stores cleanup, so stores cleanup already handles apps that were just deleted.

How to test your changes?

Check the PR run of this workflow: the two cleanup jobs run concurrently after the E2E shards (measured ~2m37s and ~1m42s vs up to 13m33s combined before).

🤖 Generated with Claude Code

Split the e2e-cleanup job into a two-leg matrix (apps, stores). The two
cleanup scripts previously ran as sequential steps (~6m + ~5.5m), which
dominated the workflow's critical path. Stores cleanup already tolerates
apps deleted by the apps cleanup, since apps cleanup ran first.

isaacroldan commented Aug 11, 2026

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 Aug 11, 2026
@isaacroldan
isaacroldan marked this pull request as ready for review August 11, 2026 12:00
@isaacroldan
isaacroldan requested a review from a team as a code owner August 11, 2026 12:00
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