Admit lack of test coverage in TODO
Migrate panic middleware to use playlist for state management