Skip to content

Conversation

kenzoengineer
Copy link
Member

Motivation

It would be useful to see which stages a pipeline fails at most often, in order to better assess its overall health.

Idea

By adding a tag that indicates the step at which a workflow fails, we can split charts by stage in Sentry. For example, one could filter by repo and then group results by failure step.

Implementation

According to the workflow job API documentation, conclusion and steps are required keys in the job payload, so the key accesses should never fail. Additionally, this change introduces no new behavior for pipelines that complete without error.

@kenzoengineer kenzoengineer requested a review from a team as a code owner August 26, 2025 18:58
@kenzoengineer kenzoengineer merged commit 5a20b8f into main Aug 28, 2025
8 checks passed
@kenzoengineer kenzoengineer deleted the kjiang/failed_step_info branch August 28, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants