The fix passed review. It still crashed in release. The reviewer was never tested.
The reviewer was me. And an AI model. We both approved the same wrong patch.
This is the retrospective. Symptom, root cause, fix. Plus the debugging loop that actually caught it.
The Symptom
A small C++ worker pool returned garbage. Not always. Only with -O2. Only after a few thousand tasks.






