CircleCI pipelines, step logs and flaky tests in investigations
Connect a CircleCI organization so investigations can read pipelines, failed step logs and test results, and Polylane watches workflow failures on your default branches.
What changed
Connect a CircleCI organization with a personal API token. Investigations can read pipelines and their workflows and jobs, the step logs of a job with failed steps first, and test results, including the flaky tests of a project.
CircleCI projects join the context graph, synced every hour. Polylane watches workflow failure rates and p95 durations on the default branch of projects you follow. When
GitHub is connected and
CircleCI reports its results to
GitHub as checks, a failed check on the default branch becomes an alert. You can rotate the token in place without reconnecting. See the CircleCI integration.
Why it matters
A red build is either a real failure or a flaky test. Investigations read the tests CircleCI flagged as flaky alongside the failed step's log, and line the failure up with the commits that came before it.
How to use it
- In
CircleCI, open User Settings → Personal API Tokens and create a token. Project API tokens do not work.
- Connect
CircleCI in Polylane and paste the token. If it reaches more than one organization, choose the one to connect.
- Follow the projects you want watched in
CircleCI. Only followed projects with a default branch get checks.