Skip to content

Skips the bridge job web url is downstream pipeline is nil

Jennifer Li requested to merge jennli-update-failed_jobs into master

What does this MR do and why?

Resolves an error reported in Sentry: https://sentry.gitlab.net/gitlab/triage-ops/issues/4172054/?query=is%3Aunresolved

NoMethodError
undefined method `web_url' for nil:NilClass

triage/triage/pipeline_failure/failed_jobs.rb in block in execute at line 25

This error happens when a pipeline such as https://gitlab.com/gitlab-org/gitlab/-/pipelines/945233420 failed to create downstream pipelines, so the web_url is unavailable.

Expected impact & dry-runs

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

See https://gitlab.com/gitlab-org/quality/triage-ops/-/tree/master/doc/scheduled#testing-policies-with-a-dry-run on how to perform dry-runs for new policies.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/master/doc/reactive/best_practices.md#use-the-sandbox-to-test-new-processors on how to make sure a new processor can be tested.

Action items

Merge request reports