To be clear, my point about laptop builds to prod and removing safeties was mostly tongue-in-cheek, although it does happen for "hotfixes" in many environments – more routinely than I'd care to admit.
The crux of my point is that there should be one deployment path that can go faster or slower as the requirement dictates. We trust the human operating the process to make that decision and empower them with sufficient context to do so. If the automated path isn't safe or quick enough to use in an emergency, that needs fixing, and we only achieve the required levels of reliability and tease out the problems by doing it routinely. Process needs exercising to ensure it's going to work in an emergency situation, where stress is high and we need the reliability of routine the most. It's comforting to add gates, but if they're routinely worked around or there's non-compliance to get work done, they don't add value.
Resilience engineering and especially Safety-II would call the gated path "work as imagined" while the hotfix path is "work as done". Safety-II advocates for studying and strengthening how work actually succeeds, so closing that gap is a good place to start. Surgeons don't have a "trauma mode" where they skip sterile technique and grab unfamiliar instruments, but in an emergency they can compress the timing because it's drilled. The work of software engineers rarely has the same consequences, but nevertheless, deployments should work the same way.
The crux of my point is that there should be one deployment path that can go faster or slower as the requirement dictates. We trust the human operating the process to make that decision and empower them with sufficient context to do so. If the automated path isn't safe or quick enough to use in an emergency, that needs fixing, and we only achieve the required levels of reliability and tease out the problems by doing it routinely. Process needs exercising to ensure it's going to work in an emergency situation, where stress is high and we need the reliability of routine the most. It's comforting to add gates, but if they're routinely worked around or there's non-compliance to get work done, they don't add value.
Resilience engineering and especially Safety-II would call the gated path "work as imagined" while the hotfix path is "work as done". Safety-II advocates for studying and strengthening how work actually succeeds, so closing that gap is a good place to start. Surgeons don't have a "trauma mode" where they skip sterile technique and grab unfamiliar instruments, but in an emergency they can compress the timing because it's drilled. The work of software engineers rarely has the same consequences, but nevertheless, deployments should work the same way.