Skip to content

Update post_or_update_failed_job_note to keep history of failed jobs

John McDonnell requested to merge jmd-keep-history-of-jobs-related-issues into master

What does this MR do and why?

Currently when a failed issue comment is updated we overwrite what the current 'latest failed job' is.
That makes it harder to identify all related jobs that have failed with a given issue.

Instead, lets consider updating the comment, but preserving the current comment message, so we can instead see a historical list of jobs that have failed with a given error message.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports