Skip to content

acc: remove the bundle directories left behind after cloud test runs - #6350

Closed
shreyas-goenka wants to merge 2 commits into
mainfrom
isaac/acc-clean-bundle-dirs
Closed

acc: remove the bundle directories left behind after cloud test runs#6350
shreyas-goenka wants to merge 2 commits into
mainfrom
isaac/acc-clean-bundle-dirs

Conversation

@shreyas-goenka

@shreyas-goenka shreyas-goenka commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

The suite cleanup from #6092 destroys each leaked deployment but leaves the ~/.bundle/<name> directory above it, and bundle names are never reused, so they pile up — that is what exhausted the test workspace (ES-2138924). Remove them in the same sweep. A directory whose destroy failed is left alone so the periodic sweep can still use its state.

This pull request and its description were written by Isaac.

The suite-level cleanup added in #6092 destroys every deployment this run
leaked, but `bundle destroy` only removes the deployment root under
~/.bundle/<name> and never the <name> directory itself. Every run picks a fresh
bundle name, so nothing reuses those directories and they pile up against the
workspace child-node limit -- the CLI test workspace reached 48k+ nodes that
way and had to be allow-listed to 100k (ES-2138924).

Remove them in the same sweep, right after the destroys. The delete is
recursive, so a directory a killed test left half-written goes too, even when no
deployment root was found under it. A directory whose destroy failed is kept, so
its state is still available to the periodic sweep that reclaims it.

Co-authored-by: Isaac
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 15ab7cb

Run: 32696702804

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 1 4 274 1164 5:07
💚​ aws windows 1 4 276 1162 4:12
💚​ azure linux 1 4 273 1164 5:03
💚​ azure windows 1 4 275 1162 3:30
💚​ gcp linux 1 4 274 1164 5:18
💚​ gcp windows 1 4 276 1162 3:30
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
Top 6 slowest tests (at least 2 minutes):
duration env testname
4:08 aws windows TestAccept
3:54 aws linux TestAccept
3:53 azure linux TestAccept
3:48 gcp linux TestAccept
3:26 gcp windows TestAccept
3:25 azure windows TestAccept

@shreyas-goenka
shreyas-goenka marked this pull request as ready for review August 24, 2026 06:21
@shreyas-goenka
shreyas-goenka requested a review from denik August 24, 2026 06:21
@github-actions

Copy link
Copy Markdown
Contributor

Waiting for approval

Based on git history, these people are best suited to review:

  • @denik -- recent work in acceptance/

Eligible reviewers: @andrewnester, @anton-107, @janniklasrose, @lennartkats-db, @pietern, @rclarey, @renaudhartert-db, @rugpanov, @simonfaltum

Suggestions based on git history. See OWNERS for ownership rules.

@shreyas-goenka

Copy link
Copy Markdown
Contributor Author

Closing: we decided to solve this in the application instead — #6317 makes bundle destroy remove the bundle-name directory itself when root_path is scoped by ${bundle.name}/${bundle.target}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants