On this page

Fairlead takes the evidence of a bug or a gap in your tests, works on it in your repository, and sends back a pull request. Your team reviews it the same way it reviews any other change.

The rest of this post explains what goes in, what comes out, and what we mean by confidence.

What goes in

Fairlead starts from what your team already has:

  • Your codebase, in GitHub, GitLab, Azure DevOps or Bitbucket.
  • Your issue tracker: Jira, GitHub Issues or Azure DevOps.
  • Manual test sessions captured by Recorder, our Chrome extension. It keeps the steps, the requests, the console output and the environment together, and tags each request with an identifier, so you can find the same requests in your own logs and traces.
  • Automated tests, including API and E2E tests.
  • Logs and traces from the systems that already run.

What Fairlead does with it

Fairlead turns all of it into signals. Some of the tools behind that will sound familiar: syntax trees, language servers, static analyzers like SonarQube, call graphs, runtime traces. Most engineers have heard of them. Few have had the time to make them work together on a real codebase, and that’s where the signals come from.

Every signal comes with the context that makes it useful, and enters the workflow at the step that needs it. An agent is only as good as the evidence you give it. A screenshot and two lines of text give it very little to work with. The same bug, with the failed request, the function behind it and the tests that cover that path, gives it enough to make a real attempt.

Your own agents can work with these signals. We’ve already done that work across many repositories, stacks and tools, and built it into two services tuned for the job:

  • fairleadFIX takes a bug, writes a fix together with a reproduction test, checks both, and opens a pull request.
  • fairleadTEST takes a gap in your tests, writes unit tests, compiles and runs each one, and drops the candidates that fail or are flaky. The rest arrive as pull requests.

If a fix can’t go in safely, the bug goes back to the team with what we found and the evidence behind it. Nobody starts from zero.

Confidence in every change

When many bugs, test gaps and changes come in at the same time, three things keep the work moving.

  1. Items don’t block each other. Each bug or test target runs on its own, in parallel with the others. One hard case doesn’t hold up the rest.
  2. Nothing merges by itself. Every change is a pull request that goes through your review and your CI. More work coming in means more pull requests to review, not more unreviewed code in production. We recommend that a developer reviews every pull request. Automated acceptance is planned for later, as an opt-in.
  3. Failures stay as evidence. A test candidate that fails or is flaky is discarded, and a bug that can’t be fixed safely goes back to the team with its evidence. Nothing disappears silently.

We measured this internally, on production applications. About 77% of the test candidates fairleadTEST generated were delivered as pull requests, and about 23% were discarded. The discard rate was under 7% on clean codebases and up to 32% on constrained or legacy code. We lead with the discard rate because it shows how much the state of the code and the test suite matters.

What Fairlead doesn’t do yet

  • Languages. Java and Python only. C#, JavaScript, TypeScript, Go and Rust are on the roadmap.
  • Fixes. Backend web applications, REST API services and microservices. Frontend applications are on the roadmap. Some bugs still need a person: the code may need refactoring before a fix is safe, or a reproduction test may be very hard to write. Those bugs go back to the team.
  • Tests. Unit tests only. Integration, API and E2E tests are on the roadmap.
  • Environment. A fix needs a non-production environment where the defect can be reproduced.
  • Verdicts. Recorder keeps the evidence. It doesn’t decide whether a test passed or failed. The tester or your workflow does that.
  • Browsers. Recorder runs in Google Chrome (Manifest V3). Edge and Firefox are planned.

How it connects to your team

Fairlead connects to GitHub, GitLab, Azure DevOps and Bitbucket for code, and to Jira, GitHub Issues or Azure DevOps for tickets. The connector is a single outbound-only daemon. There’s no VPN, no firewall change and no inbound port. Fairlead has read-only access to your source code and doesn’t keep it beyond the processing window.

If you test or fix software for a living, tell us where this would fail for your team: hello@fairleadhq.com.

Read as Markdown