Writing a unit / integration test for every potential edge case doesn’t seem scalable - wondering if there’s a way to test code changes directly against production traffic without exposing users to potentially breaking changes?
A canary comes to mind but serving real production traffic would expose users to potentially breaking changes?
How do you guys handle this at your companies? Would appreciate any thoughts.
Test or staging would usually have a copy of old prod data.
It sounds as though you can’t predict the prod traffic though. Is there no sample traffic or even stats on types and volume of traffic over a period of time you can take to then feed to your test environment?