Skip to content

Show why removing an environment takes long, and stop when it fails - #71

Merged
mnapoli merged 2 commits into
mainfrom
remove-progress
Nov 15, 2026
Merged

mnapoli merged 2 commits into
mainfrom
remove-progress

Conversation

@mnapoli

@mnapoli mnapoli commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

bref remove showed "removing" until the environment disappeared, with nothing else, and waited forever when AWS failed to delete it.

It now reads removal from the environment (brefphp/cloud#479):

  • prints Bref Cloud's message when it changes, e.g. while AWS releases the network interfaces of functions that ran in a VPC (around 20 minutes),
  • stops with exit code 1 and the reason when the removal failed.

It checks every 3 seconds instead of every second. An older Bref Cloud, without removal, gives the previous behaviour.

When Bref Cloud says finishing (only AWS releasing the network interfaces of functions that ran in a VPC is left, around 20 minutes), the command stops waiting, says "removed" and prints why the environment is still finishing in the background.

@mnapoli
mnapoli merged commit 3292560 into main Nov 15, 2026
4 checks passed
@mnapoli
mnapoli deleted the remove-progress branch November 15, 2026 22:35
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.

1 participant