Menu

1 / 2

A dark factory filled up my Btrfs metadata

DEV Community: docker·Vojta Biberle·8 days ago
#C4x5nwxj
#devtodocker#devto#dev#docker#metadata
Long article (1921 words) — no AI summary yet.
Reading 0:00
15s threshold

My dark factory ran so well it forgot to clean up after itself. The result: full Btrfs metadata, a read-only filesystem, and a laptop with no graphics. And that was with 175 GB of free disk space. No catastrophe, just a few hours of fixing. But it's worth knowing why it happened.

I recently wrote about how I started a dark factory in two sentences . The main Claude Code session organizes subagents, each one runs in its own git worktree, and PRs go through E2E and the gates all the way into the merge queue. And it keeps going overnight. It works. I described how the whole thing turned out in a separate article.

Just one thing didn't work. The line produces, but nobody cleans up after it. Claude has worktree cleanup built into the setup, it just didn't do it. And with something like fifty worktrees, you could really tell. Each worktree is another copy of the repo, with vendor dependencies and a lot of small files. Every run adds Docker images, build cache, containers and their logs.…

Continue reading — create a free account

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