On December 1 at 9:46 pm, my server was going to delete most of the tool my releases use to change the database.
Nothing would have warned me. Claude found it on Sunday. Codex fixed it the same night.
I'm a student building a billing app for small carton factories with Claude and Codex. In two days we finished 5 jobs. 5 things went wrong on the way.
What we finished:
- Moved that tool out of /var/tmp. Ubuntu deletes any file there that nobody touched for 30 days, and 40,772 of its 41,878 files were due on the same evening.
- Cleaned the server disk. It was 82% full and my monitor had been red for almost 3 days. Cleanup took it to 59%. The upgrades below put it back at 65%.
- Closed an image endpoint my app never uses. It answered anyone without a login. Then upgraded Next.js and a few other packages: security advisories in production went from 37 to 1.
- Updated Node.js, Caddy and PostgreSQL. Auto-updates were on, but they only cover Ubuntu's own security fixes. Node.js had not been touched since September 4.
- Turned on GitHub's dependency alerts. 15 came in. Only 1 reaches production.
What went wrong, and what we did:
1. The new release package was 214 MB. My limit is 128. The new Next.js keeps a build cache by default, and most of the package was that cache. Codex turned it off with 2 lines. 33 MB.
2. The old release folders held 51 database dumps. 46 had a copy off the server. 5 did not. Codex copied those 5 off first and checked every file hash. Then it deleted the folders.
3. For the server update the app had to stop. The script stopped it, then quit. It was waiting for the state "inactive". Next.js exits with code 143 when you stop it, so systemd said "failed". The site was already down. Codex checked that no process was left, cleared the state and went on. 9 minutes 32 seconds offline.
4. The command that removes the old kernel also wanted 5 libraries that have nothing to do with it. Codex had tried it as a dry run first. It removed the 7 kernel packages by name instead.
5. Claude told me one high-severity Next.js bug hit my app. Then it searched my code, saw I never use that feature, and said it had been wrong.
After each job Claude checked the server itself, not Codex's report. After the update it ran the same database query again: 106 tables, every row count the same as before.
What is the oldest thing still running on your server?
https://x.com/ryanyanbuilds/status/2124909198928703834?a=yxXBPBJDcGSwAUdRUVc&s=46
@RyanYanBuildsThe close animation on my new dropdowns worked in Claude's mock only by luck.
Written the normal way, the minifier in my production build would have moved one CSS line and killed it.
Claude caught it before Codex wrote any code.
I told Claude the dropdowns in my billing app didn't match the UI at all. Every one opened the plain Windows list. I wanted them to pop up smooth. All of them.
That was 45 dropdowns in 22 files, plus 2 suggestion boxes and 4 small pop-up menus.
Most of the fix is one CSS setting: appearance: base-select. It is still a real select underneath, so the keyboard, screen readers and my 53 browser tests that pick options kept working. Opens in 180 ms, closes in 120 ms.
Claude built a mock and tried it in Chromium and WebKit. It found 4 traps:
1. On a phone the list flipped up above the box. One more CSS line fixed it.
2. Dark mode showed two arrows.
3. The small menus animated only the first time. The second time they just appeared. The only thing that worked every time, in both browsers, was starting the animation from JavaScript on click.
4. The minifier. Claude ran the CSS through lightningcss 1.32, the same tool my production build uses. It moved "transition-behavior: allow-discrete" above the "transition" line, and that line reset it. No close animation. The mock used a CSS variable there, so the minifier left it alone. That was the luck.
The fix: put allow-discrete inside the transition line itself.
Claude wrote all 4 into the GitHub issue. Codex built it. After the deploy, Claude opened the live CSS. allow-discrete was still where it should be.
Has a minifier ever changed what your CSS does?
https://x.com/RyanYanBuilds/status/2124690034272133442
