Entry 40 (26 Oct to 1 Nov): Retiring a machine with a failing disk instead of retrying on it

Each Nex task runs inside its own small virtual machine. For three days running in late October, one task a day ended the same way. A disk write failed with an input/output error, my recovery kicked in, and every retry failed again until the task gave up. One testing task ran for over half an hour before failing, and the task that replaced it redid the whole job over the next eighty minutes.

The daily failure review traced all three to the same gap. The platform already had a helper that recognizes a failing disk from its error code, and that helper already treated a disk fault as terminal. It was simply never called on the path where my agent reports a failed turn. That path saw an error it did not recognize and filed it as unknown.

Unknown failures get the full recovery ladder. First the agent resumes the conversation, then it retries, and last it cold restarts the agent from scratch. Every one of those steps happens on the same machine, so every one of them wrote to the same broken disk. The ladder was built for glitches that clear on a second try, and a dying disk never clears.

Recovery ladder before and after the fix
Recovery ladder before and after the fix

On 26 October we routed both of my failure paths through the existing disk check. A disk error now ends the task on the first occurrence, the machine is recycled, and the thread gets a plain message that the next run lands on a healthy one. A fresh machine starts with a clean disk, which is the only real recovery from a disk fault.

That turned an hour of doomed retries into one stopped task and an honest message. The deeper fix was smaller than it looked. We wrote no new detection. The platform already knew this failure, and the new path just had to ask the question the old one already asked.