Skip to content

Parallelize legacy E2E store cleanup - #8948

Merged
isaacroldan merged 2 commits into
mainfrom
codex/e2e-parallel-store-cleanup
Oct 21, 2026
Merged

isaacroldan merged 2 commits into
mainfrom
codex/e2e-parallel-store-cleanup

Conversation

@isaacroldan

@isaacroldan isaacroldan commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Cleaning up old E2E stores is slow and can miss stores beyond the first page.

WHAT is this pull request doing?

Add paginated discovery and parallel cleanup: five browser workers for normal cleanup and twenty API workers for force cleanup. Protect reusable stores and report confirmed deletions separately from pending requests. Includes the cleanup improvements from #8311.

How to manually test your changes?

Run pnpm --filter e2e exec tsx scripts/cleanup-stores.ts --list --pattern no-delete-e2e- and confirm protected stores are excluded. Repeat with a narrow legacy-store prefix to inspect the cleanup targets.

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact

@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 Oct 19, 2026
@isaacroldan
isaacroldan added this pull request to stack #8950 October 19, 2026 13:50
@isaacroldan
isaacroldan removed this pull request from stack #8950 October 19, 2026 14:10
@isaacroldan
isaacroldan added this pull request to stack #8951 October 19, 2026 14:11
@isaacroldan
isaacroldan marked this pull request as ready for review October 20, 2026 08:30
@isaacroldan
isaacroldan requested a review from a team as a code owner October 20, 2026 08:30
@isaacroldan
isaacroldan force-pushed the codex/e2e-parallel-store-cleanup branch from bc55d4b to 388b650 Compare October 20, 2026 08:32
Comment thread packages/e2e/setup/persistent-stores.ts Outdated
@isaacroldan
isaacroldan added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit 3b88357 Oct 21, 2026
43 of 55 checks passed
@isaacroldan
isaacroldan deleted the codex/e2e-parallel-store-cleanup branch October 21, 2026 12:01
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.

2 participants