DescriptionImplements changes necessary to purge queued hooks. This involves two set of changes: 1) not executing a -changed hook if the -joined hook fails, which is the senario seen in the related bug (and exactly tested by test_purge_queued_hook_after error); 2) purging changes from the scheduler in the event of an errored hook, until the workflow is reset (remaining tests).
There are also some minor fixes of related docstrings, removal of unnecessary sleeps, and adding a missing yield (in releasing the run lock for UnitRelationLifecycle.start).
https://code.launchpad.net/~jimbaker/juju/purge-queued-hooks/+merge/93135
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 1
|