Activity log for bug #2040558

Date Who What changed Old value New value Message
2023-10-25 17:33:39 Simon Déziel bug added bug
2023-10-25 17:33:56 Simon Déziel summary `juju wait-for` should grow a `--all` parameter `juju wait-for` should grow a `--all` flag
2023-10-25 17:34:10 Simon Déziel 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 option name would do) would be convenient. Thanks! 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!
2023-10-26 01:07:56 Nobuto Murata bug added subscriber Nobuto Murata
2023-10-26 10:26:50 Vitaly Antonenko juju: status New Triaged
2023-10-26 10:26:53 Vitaly Antonenko juju: importance Undecided Wishlist
2023-10-26 10:27:03 Vitaly Antonenko juju: assignee Jack Shaw (jack-shaw)