Write test that provokes a serverside race condition causing an exception.
Fix race condition bug. (Don't mutate cache data!). But this exposes something wrong with the cache lifetimes. Time to look at that....
Now I'm embarrassed. How I could ever have missed the fact that I had to manage output for the cached case to is beyond me, but there it is.