Run current-run E2E app cleanup in CI#7927
Merged
Merged
Conversation
4 tasks
Assisted-By: devx/3c9d2be5-81a1-4ad5-90ba-4155c6ff125d
d398cd8 to
5daa528
Compare
5180815 to
0a69066
Compare
isaacroldan
approved these changes
Jun 25, 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?
E2E tests can leave real Dev Dashboard apps behind when teardown is skipped or fails. The previous workflow did not run a post-test app cleanup step, so leftovers accumulated in the shared E2E organization.
Stacked on #7926: the cleanup pattern relies on the run-aware app names introduced by the parent PR.
WHAT is this pull request doing?
Adds an
always()cleanup step after the E2E test command that computes the same compact run token as the E2E app-name helper and runs:The step targets only apps created by the current GitHub Actions run attempt and is marked
continue-on-error: trueso cleanup flakiness does not hide the original E2E result.How to test your changes?
git diff --check.github/workflows/tests-pr.ymland confirm the cleanup step is afterRun E2E testswithif: ${{ always() }}.Cleanup current-run E2E appsstep runs for E2E shards even if the test command fails.Post-release steps
None.
Checklist