Built an observability power-up for GitHub Actions
Tags: devops, github
Published: 2022-09-28 08:47:52

GitHub Actions is great, but they fall short of answering crucial questions like;

🆘 Which tests are blocking the CI?
🤯 Which changed lines haven't been tested?
💰 What is the most costly workflow?
🔻 Is my workflow success rate decreasing

That's why we have built Foresight

> Foresight 3.0 is [launched on ProductHunt today](https://www.producthunt.com/posts/foresight-2). The best CI observability tool in the market!

Foresight’s aim is to bring visibility into CI workflows and test runs, enabling developers to quickly debug CI, build, and test failures and latencies. Foresight’s test gap analysis helps you analyze the impact of the code changes to detect defects early in the release cycle. It prioritizes tests according to their importance, flakiness, and failure rates allowing you to create a unique and reliable test order.

With the learnings we gained, Foresight started to expand its potential. To become a pioneer product to deliver high-quality software at speed, we are thrilled to introduce our brand new product to you.

## Highlights

As code flows through your CI workflows, it is processed by plenty of different steps. Each step depends on various configurations and parts that change frequently. Even though your pipeline has a solid setup, it may slow you down while identifying the problems while you deploy to production.

A common challenge for software organizations is ensuring that all stakeholders — developers, DevOps engineers, and SREs — have across-the-board visibility into the software delivery process. The reason you need workflow analytics is to identify issues and enhance the organization-wide visibility of your workflows.

Foresight allows you to identify those in the quickest way to enable you to have better workflow operations.


![Highlights](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bm0q9yidwcxk4wp1ql9k.gif)

## Easy UI for workflow and test Troubleshooting

GitHub Actions only provide you with the logs of the workflow steps. With Foresight, you can get more. After integrating Foresight’s GitHub Actions, you get process traces to understand what is happening when you trigger your workflow. If there is a K8S configuration change and your workflow started to fail, you will gain visibility into the kernel-level information. Then, you have critical metrics such as CPU, Memory, Disk, and Network.  

The more complex workflows you have, the harder it is to use GitHub Actions. Imagine that you have 10 different workflows and each of them has 10 different jobs running your tests in different environments. This complexity requires a lot of troubleshooting failed or flaky tests. Besides, GitHub doesn’t provide any in-depth information such as the performance history of your tests. With Foresight, you can easily see every information you need for your tests.


![Test troubleshooting](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yvio6hxx1x7g23no19l5.gif)

## Change Impact Analysis

Foresight correlates the changes to the codebase with the test coverage reports to determine how much of the changes are covered by the tests, empowering teams with clear quality risk metrics to facilitate the right change management process. Pull requests can be automatically approved or passed through reviews depending on the quality risk to ensure only high-quality builds are moved to production.

![Change impact](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5gg5ict2l61ws4s8yfsi.gif)

## Rules
It is currently hurdling to see the critical metrics of CI workflows and even not possible to set up rules and alerts for them on GitHub Actions.

Foresight makes it possible to automatically notify your team on critical workflow and test metrics. And make sure your CI pipeline is always green. For example, when your workflow success drops down under 80%, you will be able to get a notification automatically.

We have prepared some of the most common rule templates for you and keep on expanding the feature depth in this vertical.


![rules](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zwvqhgfu0htes5stf865.gif)


## Integrations
With the Slack and GitHub Actions PR comments, never miss a critical analysis. You will have Foresight's summary report for tests, changes, and steps.

## Pricing
Foresight is 100% FREE for teams under 20 committers and also open-source projects. This means Foresight is accessible for most small and medium-scale organizations.

Above 20 committers, each committer will be charged $9 per month.

Foresight has flexible pricing that scales with your team. We have a committer-based pricing model. A committer is a real developer who commits a code in the last 30 days into a repository watched by Foresight. We use GitHub's official API to fetch the committers. We omit bots from your committer list.

## Celebrate Foresight 3.0 with us this September

The very best CI observability tool in the market!

[Check out now!](https://runforesight.com)