The crash that only happened with real data
A display was restarting on its own on the test bench. Nothing failed in normal testing.
I traced it to one signal that the controller sometimes published with no value at all. The code that handled live updates assumed there was always something there, and fell over when there was not.
The fix was a few lines: treat "no value" the same as "bad value" and show the gauge as unavailable. The more useful part was the test. I added a fake signal to our test server that sends exactly that empty value, wrote a test around it, and confirmed the test crashes on the old code and passes on the new code. That fault now gets caught automatically.