🟢 Step status filter for Insights

Hey folks,

There’s another way to filter builds if you’re specifically interested in a specific step across all your builds.

:package: What’s new

Introducing the new Step status filter.

To better understand this, let’s consider an example. Suppose you want to investigate specific failures in the step named Build.

  1. Add a filter for the step, even if no workflow filter was added before. In our example, we’ll add the filter for the Build step. Earlier, selecting a step was only possible if you had first selected a particular workflow. Now you can select a step without having to choose a workflow.

  2. Add a filter for that step’s status. You can choose between successful and failed statuses. In the example here, we’ll select the failed status.

In the “Related builds” section, you will now see all builds where the Build step’s status was failed.

:warning: Caveats

If you filter builds by failed step status, then

  • Your build times may not show any data Why? If you’re filtering for failed steps only, and if this step were necessary for the build, the build would also have failed. And build time is measured only across your successful builds.
  • Your failure rate will always be 100%. Why? If you’re filtering for failed steps only, and if this step were necessary for the build, the build would also have failed. That means that failure rate is 100% for this combination of filters.

Hope this helps. Let us know if you have any feedback.

Happy building!