Run E2E app and store cleanup in parallel - #8295
Closed
isaacroldan wants to merge 1 commit into
Closed
Conversation
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.
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Aug 11, 2026
isaacroldan
marked this pull request as ready for review
August 11, 2026 12:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

WHY are these changes introduced?
The
e2e-cleanupjob 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'scancel-in-progresskills it midway and leaks E2E resources.WHAT is this pull request doing?
Splits
e2e-cleanupinto 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