ansible / eda-server

Event Driven Ansible for AAP
Apache License 2.0
59 stars 35 forks source link

fix: fix wrong atomic operation when create activation instance. #928

Closed Alex-Izquierdo closed 1 month ago

Alex-Izquierdo commented 1 month ago

In https://github.com/ansible/eda-server/pull/916 I introduced a bug making the creation of the activation instance an atomic operation, we call inside the operation the "set_status" as part of the check for new processes and raise an exception, so when the check is true, the transaction is undone and the activation remains in "starting" status.

Jira: https://issues.redhat.com/browse/AAP-25010