Skip to content

Run E2E app cleanup after shards finish#7962

Merged
alfonso-noriega merged 1 commit into
mainfrom
06-30-e2e_cleanup_single_job
Jun 30, 2026
Merged

Run E2E app cleanup after shards finish#7962
alfonso-noriega merged 1 commit into
mainfrom
06-30-e2e_cleanup_single_job

Conversation

@alfonso-noriega

@alfonso-noriega alfonso-noriega commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

The current E2E cleanup step runs once per shard. That creates concurrent cleanup browser sessions for the same run token, and one shard can start cleanup while the other shard is still creating apps.

WHAT is this pull request doing?

  • Removes current-run app cleanup from the E2E matrix job.
  • Adds a single follow-up cleanup job that depends on all E2E shards.
  • Primes browser auth state once in that cleanup job, then runs cleanup against that state.
  • Keeps cleanup best-effort with continue-on-error, but prevents duplicate/concurrent cleanup runs for the same CI run.

Stacked on #7961.

How to test your changes?

  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/tests-pr.yml"); puts "YAML OK"'

@alfonso-noriega alfonso-noriega requested a review from a team as a code owner June 30, 2026 09:43
@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 Jun 30, 2026
@alfonso-noriega alfonso-noriega force-pushed the 06-30-e2e_cleanup_reuse_auth branch from 4b3369e to cb7a258 Compare June 30, 2026 09:44
@alfonso-noriega alfonso-noriega force-pushed the 06-30-e2e_cleanup_single_job branch from a4baec4 to 44cd07a Compare June 30, 2026 09:44
@alfonso-noriega alfonso-noriega force-pushed the 06-30-e2e_cleanup_single_job branch from 44cd07a to 4107341 Compare June 30, 2026 09:54
Base automatically changed from 06-30-e2e_cleanup_reuse_auth to main June 30, 2026 10:04
Assisted-By: devx/56dcddb4-0bb1-4e96-b794-1bb2fda2cba1
@alfonso-noriega alfonso-noriega force-pushed the 06-30-e2e_cleanup_single_job branch from 4107341 to cc05d27 Compare June 30, 2026 10:17
@alfonso-noriega alfonso-noriega added this pull request to the merge queue Jun 30, 2026
Merged via the queue into main with commit d5def73 Jun 30, 2026
29 checks passed
@alfonso-noriega alfonso-noriega deleted the 06-30-e2e_cleanup_single_job branch June 30, 2026 11:27
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