Menu

1 / 2

Can an AI Agent Fix a Failing CI Pipeline? I Tested Antigravity + Harness

DEV Community: cicd·SHIBAM·11 days ago
#CbPPMxmp
#devtocicd#devto#dev#agent#harness
Long article (829 words) — no AI summary yet.
Reading 0:00
15s threshold

Can an AI Agent Fix a Failing CI Pipeline? I Tested Antigravity + Harness

AI coding agents can write features, update tests, and help prepare pull requests. But what happens when that PR reaches CI and a test fails?

I wanted to see whether an agent could do more than explain the failure. Could it actually correct the code, push the fix, and let CI verify the result?

So I built a controlled experiment using Google Antigravity, Harness MCP, and the Harness CI Failure Autofix Worker Agent.

Here's what happened.

The setup

I used a small Node.js and TypeScript checkout application with Vitest tests covering cart operations, discounts, shipping calculations, and order creation.

The application was connected to a Harness CI pipeline that ran on pull-request updates.

The pipeline installed dependencies, ran ESLint, built the application, and executed the tests.

The baseline was green: 49 tests passing.

Then I deliberately introduced a regression in the checkout logic.

One small change, one failing…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.