juju/juju — pull request #617 by binary132 (2014-08-27 06:16:30+00:00)
Title: ActionComplete / ActionFailed called after Action completion

The worker now calls ActionComplete or ActionFailed on state, depending
on the success state of the Action and any errors.

The hook is set to an error state if the Action hook is missing, or if
other errors take place during hook execution. If the Action hook sets
a fail state, the Hook will not error, rather the Action will fail.