---
title: "Build a test harness to break your database · Lenexa Learn"
description: "Not fully trusting the AI or themselves, a developer had an agent build a Jepsen-style harness on their homelab to push their database until it broke."
url: https://www.lenexa.ai/learn/agents/build-a-test-harness-to-break-your-database/
site: "Lenexa Learn"
---

Codex

# Build a test harness to break your database

Not fully trusting the AI or themselves, a developer had an agent build a Jepsen-style harness on their homelab to push their database until it broke.

## Steps

1. Describe what could go wrong.
2. Ask for a test harness.
3. Run it.

## Prompt you can copy

```
Build a test harness that injects failures into my database cluster.
```

## What you get

A way to stress-test the database.

## Source

[hn](https://news.ycombinator.com/item?id=47396393) · March 2026

For Developers. [Codex](https://www.lenexa.ai/learn/agents/tool/codex/). Added October 12, 2026. Shared by @skel84.

## Related

### [Build websites and tweak home automation](https://www.lenexa.ai/learn/agents/build-websites-and-tweak-home-automation/)

Over three days, one user had Grok Bot help build websites and work on their home automation. They noticed it used up much of their SuperGrok allowance quickly.

- Individuals
- Grok Bot

### [Run Cursor on a cloud PC from your phone](https://www.lenexa.ai/learn/agents/run-cursor-on-a-cloud-pc-from-your-phone/)

Using nothing but an iPhone, one user opened Cursor on Grok Bot's cloud computer. They said they could do most computer work without a physical PC.

- Developers
- Grok Bot

### [Fix a cycling map mid-ride with Cursor](https://www.lenexa.ai/learn/agents/fix-a-cycling-map-mid-ride-with-cursor/)

In the middle of a ride, a cyclist used Grok Bot's built-in Cursor connection to fix a cycling map.

- Developers
- Individuals
- Grok Bot

The daily email

## Get 5 AI use cases every morning

A short morning email with five things AI can help with, picked for the groups you choose. It's free, we don't sell anything on this list, and every email has an unsubscribe link.
