Provide information on whether a job will be retried in the webhook
This is the first issue I submit on Gitlab so I'm very sorry if I'm missing something obvious. I tried searching the issues and the forums but couldn't find anything relevant.
Problem to solve
Unknown (I think developers, engineers etc.. but not sure on terminology)
We rely on webhooks for our internal notification system.
We want to know whether a job will be retried, because having this information is crucial for understanding whether we should trigger a notification when a job fails or not.
Add two new properties to the JSON in the request body linked above:
total_attempts: the total amount of attempts as defined in the
current_attempt: the current attempt
This is just a proposal and I'm fine with whatever else could help us understand whether the job will be retried or not.
(I visited the user journey page suggested by the template but wasn't clear how to use it, sorry)
Permissions and Security
I don't think this section applies
The documentation on the webhook page linked above should be updated to reflect the change.
Unaware of what is necessary to add in terms of testing
What does success look like, and how can we measure that?
Links / references