Skip to content

Clarify cluster Delete comment: terminates, does not remove#6044

Merged
andrewnester merged 1 commit into
mainfrom
investigate-cluster-lifecycle
Jul 24, 2026
Merged

Clarify cluster Delete comment: terminates, does not remove#6044
andrewnester merged 1 commit into
mainfrom
investigate-cluster-lifecycle

Conversation

@pietern

@pietern pietern commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

While reading bundle/direct/dresources/cluster.go, the Clusters.Delete calls in the lifecycle.started=false paths looked like they might remove the cluster rather than just terminate it. The naming is easy to misread.

This is a comment-only change. Reworded both Clusters.Delete call sites to state that Delete terminates the cluster and that permanent removal is a separate API, so the next reader does not hit the same confusion.

This pull request and its description were written by Isaac.

Reworded both Clusters.Delete call sites in cluster.go to state that Delete
terminates the cluster and that permanent removal is a separate API, so the
next reader doesn't misread it as removing the cluster.

Co-authored-by: Isaac
@pietern
pietern requested a review from andrewnester July 23, 2026 14:44
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 8be6b6f

Run: 30017204474

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 322 1059 5:02
💚​ aws windows 4 4 324 1057 6:33
💚​ azure linux 4 4 322 1058 4:47
💚​ azure windows 4 4 324 1056 6:37
💚​ gcp linux 1 5 321 1060 4:29
💚​ gcp windows 1 5 323 1058 6:34
8 interesting tests: 4 RECOVERED, 4 SKIP
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
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R
Top 4 slowest tests (at least 2 minutes):
duration env testname
4:30 gcp windows TestAccept
4:25 aws windows TestAccept
4:19 azure windows TestAccept
2:06 azure windows TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=terraform

@andrewnester
andrewnester added this pull request to the merge queue Jul 24, 2026
Merged via the queue into main with commit b7596b3 Jul 24, 2026
25 checks passed
@andrewnester
andrewnester deleted the investigate-cluster-lifecycle branch July 24, 2026 12:00
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.

3 participants