Assign job definition to retried jobs
What does this MR do and why?
When we retry the jobs a new job record is inserted in the database. Because we don't have a regular belongs_to relation to job definitions, we must also insert a new job definition instance too.
Follow-up to !199292 (merged)
References
Related to Add logic to populate new destinations when job... (#552033 - closed)
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Fabio Pitino