bug: Proposed Change Merged Webhook Missing #5600
Labels
priority/2
This issue stalls work on the project or its dependents, it's a blocker for a release
state/planned
This issue is planned to be worked on in an upcoming release.
type/bug
Something isn't working as expected
Milestone
Component
API Server / GraphQL
Infrahub version
1.1.2
Current Behavior
Currently webhooks are created when a proposed change is created and when it transitions into the merging state however once a PC is merged there is no webhook for this update.
https://github.com/opsmill/infrahub/blob/stable/backend/infrahub/proposed_change/tasks.py#L143
Expected Behavior
Customers are to expect a webhook to be fired when a PC is transitioned into a merged state so that automations can be achieved.
Steps to Reproduce
Setup a webhook reciever. Wehbook.site will do.
demo.infrahub.app
Configure the webhook in the Infrahub UI.
Create a branch
Update a value
create a proposed change
You should see webhooks coming in.
Merge the PC.
Webhook for state merging comes in but not when the status goes into
merged
Additional Information
Blocking AVD integration with Ansible EDA. Workaround includes running playbook on
merging
state and putting a wait in the playbook.The text was updated successfully, but these errors were encountered: