Skip to content

Remove --location from apphosting:backends:delete - #8262

Merged
annajowang merged 1 commit into
nextfrom
backends-delete
Mar 3, 2025
Merged

annajowang merged 1 commit into
nextfrom
backends-delete

Conversation

@annajowang

Copy link
Copy Markdown
Contributor

Description

Remove --location from apphosting:backends:delete.

If more than one backend with a given Id is found, we let the users choose which ones they want to delete. The backends are deleted sequentially.

--force is not allowed if more than one backend is found.

Scenarios Tested

firebase apphosting:backends:delete -f friendlybugs-codelab where there are 3 friendlybugs-codelab backends and a firebase errror was thrown.

firebase apphosting:backends:delete friendlybugs-codelab where two were selected to be deleted.

firebase apphosting:backends:delete friendlybugs-codelab where only one was left and the user was not made to select any backends.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Important

The terms of service for this installation has not been accepted. Please ask the Organization owners to visit the Gemini Code Assist Admin Console to sign it.

@annajowang
annajowang force-pushed the backends-delete branch 2 times, most recently from e3e161f to 1f28c06 Compare February 26, 2025 21:47
@annajowang
annajowang changed the base branch from master to next February 26, 2025 21:48
@annajowang
annajowang force-pushed the backends-delete branch 2 times, most recently from aaed7e4 to 5f073ea Compare February 26, 2025 22:16
@annajowang
annajowang marked this pull request as ready for review February 26, 2025 22:27
@annajowang
annajowang force-pushed the backends-delete branch 3 times, most recently from 1ea4406 to 715521f Compare February 26, 2025 23:42
@annajowang
annajowang enabled auto-merge (squash) February 26, 2025 23:44
@annajowang
annajowang requested a review from taeold February 26, 2025 23:50
@annajowang annajowang linked an issue Feb 27, 2025 that may be closed by this pull request
@annajowang
annajowang disabled auto-merge February 28, 2025 19:57
Comment thread src/apphosting/backend.ts Resolved
@annajowang
annajowang merged commit f8e66ce into next Mar 3, 2025
taeold added a commit that referenced this pull request Mar 24, 2025
* Update "location" => "primary region" in the backend display table. (#8205)

* Remove --location from apphosting:backend:list. (#8272)

* Remove --location from apphosting:rollouts:create and error when more than one backend is found. (#8271)

* Remove --location from apphosting:backends:get and return the first backend if multiple are found. (#8260)

* Remove `--location` from apphosting:backends:delete (#8262)

* Remove --location from apphosting:backends:create and prompt for primary region. (#8264)

* Enable FDC connector evolution and insecure operations linter. (#8281)

* Enable FDC connector evolution and insecure operations linter.

* Enable in VSCode.

* Actually get VSCode working.

* Replace pkg with yao-pkg/pkg (#8328)

Co-authored-by: aalej <[email protected]>

* List regions of duplicate backend in warning/error message (#8285)

* Update dataconnect.yaml template to v1. (#8346)

* Remove support for node 18 (#8334)

---------

Co-authored-by: annajowang <[email protected]>
Co-authored-by: Joe Hanley <[email protected]>
Co-authored-by: Rosalyn Tan <[email protected]>
Co-authored-by: aalej <[email protected]>
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.

Remove --location from apphosting commands

2 participants