One flag, no deploy: switching diagnostics and providers at runtime
Do you force your own failovers in production, and if you do, did it fire the way you expected the first time? I run a small app on Cloudflare Workers on my own , so when something breaks it's just me, and a deploy just to turn on logging takes too long while a user is waiting. So I put my debug logging behind one Workers KV key with three states, off, admin and all. I gave a talk at Feature…
We haven't written up this one. Dev.to has the full story — the link below goes straight to it.