Skip to content

Create a mechanism for reporting unexpected failures #4198

Description

@premun

Context

When an uncaught exception happens in the PR updater, we would like to learn about it.
Example: We try to trigger a code flow subscription and there's some kind of a problem and we are not even able to create a PR branch because of a conflict. We need to get some sort of an alerting.

Goal

  • Create a new custom event which will fire when a background work item throws an uncaught exception.
  • Create a Grafana panel with alerting watching for these events and alert if there are any.
    • Both the dashboard and the alert wiki should have a link to a query that lists these events so that it's easy to navigate to a list of them (an AI query maybe).

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Skip in release notes since it's PCS work

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions