fix(cdn): purge the staging zone too #181
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/purge-staging-zone"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
cran-rpkgs-testwas added as a second pull zone on the same B2 origin, but it was never added toBUNNY_PULLZONES. It therefore keeps serving pre-reindex indexes behind the same ~370 daycache_expiration_timeas production, and nothing ever refreshes it.That is not cosmetic. The zone exists to be measured, and a verification run against it measures whatever the edge still holds:
Same objects, same origin, 161 phantom regressions. I chased that number through two wrong diagnoses before noticing production and staging disagreed.
Change
Add
cran-rpkgs-test.b-cdn.netto the purge list in both reindex pipelines.Note
A
Cache-Control: no-cacherequest header is not a substitute. It was added to the verification script and did not clear this: bunny does not honour it for these objects. Purging is the mechanism that works.