Skip to content

[v8][cherry-pick] Fix(ci): fix delete-env failures and add force-delete fallback - #3822

Merged
prkalle merged 1 commit into
cloudfoundry:v8from
prkalle:fix/force_delete-env_v8
Jul 13, 2026
Merged

prkalle merged 1 commit into
cloudfoundry:v8from
prkalle:fix/force_delete-env_v8

Conversation

@prkalle

@prkalle prkalle commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Description of the Change

This PR cherry-pick of #3819

This PR fixes delete-env failures during CI teardown. This PR fixes adds a force-delete fallback that tears down the environment directly via the GCP CPI when the graceful path still can't recover (e.g. an unresponsive director).

Why Is This PR Valuable?

It prevents resource leaks that were silently accumulating cost every time delete-env failed to fully tear down a test environment.

Applicable Issues

List any applicable GitHub Issues here

How Urgent Is The Change?

moderately urgent

Other Relevant Parties

bosh delete-deployment used an invalid --skip-drain flag, causing it to
silently fail every run and leaving bbl down to hit "umount: target is
busy" during its own deployment teardown. Fix the flag and add a
force-delete-env.sh fallback that tears down the director/jumpbox directly
via the GCP CPI when the graceful path can't recover (e.g. abandoned BOSH
tasks or a stuck task worker).

Signed-off-by: Prem Kumar Kalle <prem.kalle@broadcom.com>
@prkalle
prkalle merged commit 93d3770 into cloudfoundry:v8 Jul 13, 2026
16 checks passed
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
cloudfoundry-cli 8.19.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>Package Manager Installation
----------
- [apt-get, yum, homebrew](https://github.com/cloudfoundry/cli#getting-started)

Installers
----------
- Debian [64 bit](https://packages.cloudfoundry.org/stable?release=debian64&version=8.19.0&source=github-rel) / [32 bit](https://packages.cloudfoundry.org/stable?release=debian32&version=8.19.0&source=github-rel) / [arm64](https://packages.cloudfoundry.org/stable?release=debianarm64&version=8.19.0&source=github-rel) (deb)
- Redhat [64 bit](https://packages.cloudfoundry.org/stable?release=redhat64&version=8.19.0&source=github-rel) / [32 bit](https://packages.cloudfoundry.org/stable?release=redhat32&version=8.19.0&source=github-rel) / [aarch64](https://packages.cloudfoundry.org/stable?release=redhataarch64&version=8.19.0&source=github-rel) (rpm)
- macOS [64 bit](https://packages.cloudfoundry.org/stable?release=macosx64&version=8.19.0&source=github-rel) / [arm](https://packages.cloudfoundry.org/stable?release=macosarm&version=8.19.0&source=github-rel) (pkg)
- Windows [64 bit](https://packages.cloudfoundry.org/stable?release=windows64&version=8.19.0&source=github-rel) / [32 bit](https://packages.cloudfoundry.org/stable?release=windows32&version=8.19.0&source=github-rel) (zip)

Binaries
--------
- Linux [64 bit](https://packages.cloudfoundry.org/stable?release=linux64-binary&version=8.19.0&source=github-rel) / [32 bit](https://packages.cloudfoundry.org/stable?release=linux32-binary&version=8.19.0&source=github-rel) / [arm64](https://packages.cloudfoundry.org/stable?release=linuxarm64-binary&version=8.19.0&source=github-rel) (tgz)
- macOS [64 bit](https://packages.cloudfoundry.org/stable?release=macosx64-binary&version=8.19.0&source=github-rel) / [arm](https://packages.cloudfoundry.org/stable?release=macosarm-binary&version=8.19.0&source=github-rel) (tgz)
- Windows [64 bit](https://packages.cloudfoundry.org/stable?release=windows64-exe&version=8.19.0&source=github-rel) / [32 bit](https://packages.cloudfoundry.org/stable?release=windows32-exe&version=8.19.0&source=github-rel) (zip)


Docker
--------
```shell
docker pull cloudfoundry/cli:8.19.0
```

## What's Changed
* [v8](go): Bump the dependencies group with 4 updates by @dependabot[bot] in cloudfoundry/cli#3818
* [v8][cherry-pick] Fix(ci): allow checkout of gated PR head SHA under actions/checkout by @prkalle in cloudfoundry/cli#3821
* [v8][cherry-pick] Fix(ci): fix delete-env failures and add force-delete fallback by @prkalle in cloudfoundry/cli#3822
* [v8] Regenerate counterfeiter fakes with v6.12.2 by @anujc25 in cloudfoundry/cli#3825
* RFC0055 Identity-Aware Routing (v8 backport) by @rkoster in cloudfoundry/cli#3816
* [v8](go): Bump the dependencies group with 7 updates by @dependabot[bot] in cloudfoundry/cli#3824
* [v8][cherry-pick] feat(ci): label bosh-lite GCP resources for tracking by @prkalle in cloudfoundry/cli#3831
* [v8](go): Bump the dependencies group with 4 updates by @dependabot[bot] in cloudfoundry/cli#3826
* [v8](gha): Bump actions/setup-go from 6 to 7 in the dependencies group by @dependabot[bot] in cloudfoundry/cli#3829
* [v8](go): Bump the dependencies group with 7 updates by @dependabot[bot] in cloudfoundry/cli#3834
* [v8](go): Bump the dependencies group with 3 updates by @dependabot[bot] in cloudfoundry/cli#3836
* [v8] Fix(curl): surface auth errors and avoid panic on nil HTTP response by @prkalle in cloudfoundry/cli#3838
* [v8](go): Bump the dependencies group across 1 directory with 4 updates by @dependabot[bot] in cloudfoundry/cli#3840
* [v8](go): Bump the dependencies group across 1 directory with 12 updates by @dependabot[bot] in cloudfoundry/cli#3848
* [v8] Update Go version to 1.26.7 by @prkalle in cloudfoundry/cli#3854


**Full Changelog**: https://github.com/cloudfoundry/cli/compare/v8.18.4...v8.19.0</pre>
  <p>View the full release notes at <a href="https://github.com/cloudfoundry/cli/releases/tag/v8.19.0">https://github.com/cloudfoundry/cli/releases/tag/v8.19.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!17949
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