Merge "API changes for skipped actions: patch actions and status_message"

This commit is contained in:
Zuul
2025-08-26 12:54:31 +00:00
committed by Gerrit Code Review
30 changed files with 797 additions and 60 deletions

View File

@@ -0,0 +1,20 @@
---
features:
- |
A new state ``SKIPPED`` has been added to the Actions. Actions can reach this state
in two situations:
* Watcher detects a specific pre-defined condition in the `pre_condition` phase.
* An admin sets the state to SKIPPED using a call to the new Patch API `/actions/{action_id}`
before the action plan is started.
An action in ``SKIPPED`` state will not be executed by Watcher as part of an ActionPlan
run.
Additionally, a new field ``status_message`` has been added to Audits, ActionPlans and
Actions which will be used to provide additional details about the state of an object.
All these changes have been introduced in a new Watcher ``API microversion 1.5``.
For additional information, see the API reference.