Use API discovery for E2E store cleanup#8053
Merged
Merged
Conversation
313d743 to
723c8b7
Compare
Assisted-By: devx/cb4fb0f6-10a0-483b-9fb5-8346a8482c19
723c8b7 to
fd75233
Compare
gonzaloriestra
approved these changes
Jul 10, 2026
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?
Fixes #0000
E2E cleanup can leak development stores when per-test teardown skips store deletion because apps are still installed. The final cleanup job was also discovering stores by scrolling and scraping the Dev Dashboard UI, which has been observed loading hundreds/thousands of rows while finding zero current-run stores.
WHAT is this pull request doing?
No changeset: this is internal CI/E2E maintenance only.
How to test your changes?
pnpm nx run e2e:type-check --skip-nx-cachepnpm nx run e2e:lint --skip-nx-cachepnpm nx run cli:build --skip-nx-cachepnpm --filter e2e exec tsx --eval "Promise.all([import('./scripts/cleanup-stores.ts'), import('./scripts/prime-browser-auth.ts')]).then(() => console.log('script imports ok'))"Post-release steps
None.
Checklist
patchfor bug fixes ·minorfor new features ·majorfor breaking changes) and added a changeset withpnpm changeset add(not applicable: internal CI cleanup)