Automating Index-Existence Guards So a Deploy Can’t Race Its Own Migration
The runtime existence check that kept one index rewrite safe to deploy in either order was a one-off. Here’s the same pattern turned into a reusable pre-deploy CI gate for a whole network.