One of the impediments to re-running them is the areas where connectivity is and isn't allowed, even from staging. Without access from staging, there's pretty much no way to update a cassette (which begs the question about how they were recorded in the first place).
There's a couple of possible solutions to this:
[ ] Enable access in the appropriate environments
[ ] Anoint a handful of people with access to rerun cassettes in production and sanitize
[ ] Start moving to a mock api so developers can control the access
None are perfect, but all are better than cassettes that may or may not reflect current reality.
A lot of our VCR cassettes are old -- as in years. Some examples popped up in
department-of-veterans-affairs/vets-api#3309 department-of-veterans-affairs/vets-api#3303
One of the impediments to re-running them is the areas where connectivity is and isn't allowed, even from staging. Without access from staging, there's pretty much no way to update a cassette (which begs the question about how they were recorded in the first place).
There's a couple of possible solutions to this:
None are perfect, but all are better than cassettes that may or may not reflect current reality.