Skip to content

Show when a deployment waits for another one, without counting the wait - #70

Open
mnapoli wants to merge 2 commits into
mainfrom
deploy-waiting
Open

mnapoli wants to merge 2 commits into
mainfrom
deploy-waiting

Conversation

@mnapoli

@mnapoli mnapoli commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Bref Cloud now runs the deployments of an environment one at a time (brefphp/cloud#465): a deployment can wait for the previous one before it starts. The CLI showed "deploying" during that wait and counted it in its 15-minute timeout.

  • While a deployment is in progress, the spinner shows the status message that Bref Cloud returns (waiting, then deploying), updated only when it changes.
  • The 15-minute timeout starts once the deployment no longer waits.
  • A deployment that Bref Cloud cancels because a newer one overtook it ends with exit code 0 and the reason, instead of waiting for the timeout.

Checked against the sandbox running brefphp/cloud#465: two bref deploy started 3 seconds apart, the second one showed waiting and then deploying, and both succeeded. Works with the current Bref Cloud too: it never returns waiting.

Bref Cloud now runs the deployments of an environment one at a time: the
spinner shows the status message from Bref Cloud (e.g. "waiting"), and the
15-minute timeout only starts once the deployment no longer waits.
Without it, the CLI waited for 15 minutes and then reported a timeout.
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