`juju wait-for` should grow a `--all` flag

Bug #2040558 reported by Simon Déziel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Wishlist
Jack Shaw

Bug Description

In the past, a convenient companion snap called juju-wait provided a simple way to wait for everything to go quiet/idle. Now that `juju wait-for` replaced it, it's a bit cumbersome to replicate the old "wait for everything" behavior as one has to use something along those lines:

```
juju wait-for model ci-testing '--query=life=="alive" && status=="available" && len(applications) > 0 && forEach(applications, app => app.status == "active") && len(units) > 0 && forEach(units, unit => unit.workload-status == "active" && unit.agent-status == "idle")'
```

Having something like `juju wait-for --all` (any descriptive flag name would do) would be convenient.

Thanks!

Simon Déziel (sdeziel)
summary: - `juju wait-for` should grow a `--all` parameter
+ `juju wait-for` should grow a `--all` flag
description: updated
Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
assignee: nobody → Jack Shaw (jack-shaw)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.