As discussed on Matrix, there's a time-out supplied with the command, but that applies to Juju's wait following actual dispatch.
From a scan over the code, it seems like during charm upgrade there can be the absence of a listener on the exec socket, which means we don't ever even get to factoring said time-out. Is that plausible?
Note that this is using the exec-to-dispatch-out-of-band trick.
Assigned to Ian for further comment.
As discussed on Matrix, there's a time-out supplied with the command, but that applies to Juju's wait following actual dispatch.
From a scan over the code, it seems like during charm upgrade there can be the absence of a listener on the exec socket, which means we don't ever even get to factoring said time-out. Is that plausible?
Note that this is using the exec-to- dispatch- out-of- band trick.