Triage failed GitHub Actions runs and self-heal flaky tests
A QA engineer's OpenClaw agent reads failed CI logs, classifies failures, posts analysis to GitHub and Slack and opens issues; flakiness fell from 8% to 0.8%, though it once wrongly altered an assertion.
Done withOpenClaw
- What they did
- The author built an OpenClaw agent over a weekend that watches GitHub Actions for failed runs and reads the logs and test output. It classifies each failure as flaky, a real regression or an environment issue. It then posts its analysis to GitHub and Slack and opens issues. A separate self-healing locator agent tries alternative strategies when selectors break and suggests fixes.
- How it went
- Time-to-diagnosis fell from 45 to 6 minutes, and flakiness dropped from 8% to 0.8%. The self-healing agent once changed an assertion to match the output instead of fixing the locator. Code review caught it.
- Worth knowing
- Token costs neared $4,000 a month until the author fed the agent only the relevant 500-1000 tokens, which cut it to $400. A confidence threshold gates auto-merges.
Try it yourself with OpenClaw
Review failed GitHub Actions runs on [repo] from the last [7 days]. Classify each as real bug, flaky test, or infra issue, post a summary to [Slack channel], and open an issue for each real bug. Don't change any test assertions or merge anything; show me proposed fixes for flaky tests first.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: suneetmalhotra.com · Undated
Related use cases
Manage 18 agents from a Notion workspace
Notion used as the control plane for a fleet of 18 OpenClaw agents.
Build a profitable online business from scratch with an agent
Poster gave an OpenClaw/Claude agent $50 and 60 days to build an online business, using content marketing on Reddit, Twitter and LinkedIn that drew 400+ visitors.
Run a custom Telegram bot for to-dos, calendar and weather
After dropping OpenClaw over security and self-configuration crashes, the author wrote their own Telegram bot with a few manually enabled capabilities: TODO list, calendar and weather.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Hand off coding sessions between agent accounts at usage limits
A developer built an app that tracks usage across multiple Codex and Claude Code accounts and auto-hands-off conversations when one hits its limit.
Build a local knowledge app for agent outputs with Codex
The author built Mianotes using four Codex agents across 30+ sessions to centralize scattered files agents produced, and the agents documented the product inside it.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.