I like your approach, particularly the distinction between fixing what genuinely affects the user and polishing everything else. It serves as an interesting counterpoint to the familiar DevOps mantra of "ship it when it's 80% good." I've always thought there's a danger in interpreting that philosophy too literally, since it can leave early adopters doing the debugging. Perhaps the sweet spot is to get the fundamentals right, establish a reasonable quality threshold, and then let real-world feedback drive future improvements without becoming overly preoccupied with perfection. One thing I've found useful is asking myself: Am I actually making this better for the user, or am I just making myself more comfortable with releasing it?
That question you ask yourself is the sharpest part of this — "Am I actually making this better for the user, or am I just making myself more comfortable with releasing it?" I am going to borrow that one, because it cuts straight through the excuse-making I do when I keep tweaking.
You are right about the 80% rule too. Taken literally it just hands the debugging to your earliest users, and they are the people you least want to burn. Your sweet spot makes more sense to me: fundamentals right, a reasonable quality threshold, then let real feedback drive what comes next instead of guessing in private.
How do you set that quality threshold in practice — is it a short checklist you run through, a specific person you show it to first, or something else entirely?
Admittedly, for extremely small and low-stakes projects I may actually go with my gut feeling, but that instinct has been tempered with a keen understanding of the consequences of a bad deployment. As the stakes get higher, the degree of rigor necessarily needs to escalate.
Instead of a checklist, maybe consider establishing a series of successive gating conditions, each to be satisfied before production deployment:
Release Approval Gate – Final go/no-go approval obtained, followed by deployment, production smoke tests, and verification of system health.
The idea is that any failed gate stops the deployment, and any exception requires documented risk acceptance and authorization. As noted, this level of rigor is going to be overkill for smaller projects, but the underlying principle remains the same regardless of project size.
That escalation by stakes is the part I'm taking with me — gut feeling for the tiny low-stakes ones, and the five gates only when a bad deploy actually costs something. I especially like that a failed gate stops the deployment outright instead of becoming a warning people scroll past, and that an exception needs documented risk acceptance rather than a quiet override. The Deployment Readiness gate is the one I'd have skipped on my own — I'd have checked the code and the tests and called it done, without thinking about migrations and monitoring first. Which of the five gates has caught the most for you in practice — the one that most often stops a deploy that felt ready?
The gates operate similar to a funnel. The earlier gates are designed to catch the more obvious flaws, and the successively later gates are for the more fine-grained and nuanced ones. So, gate #1 (code reviews and such) should catch the greatest number of issues (at least we would hope so 😅). Next are the functional tests (gate #2), followed by the security, performance, and scalability tests (gate #3).
In reality, gate #4 is more along the lines of a readiness and completeness checklist, with the gating aspects being the requirements to ensure all of those necessary things are in place, sort of like a preflight check. Similarly, gate #5 is to ensure the required deployment and post-deployment validation tasks are addressed.
Altogether, the idea is to try to avoid anything unexpected from happening. But of course life is always full of surprises. When unexpected things do happen, then it's a good idea to have a blameless root cause analysis session to identify what things went wrong with the process and how to avoid those issues with the next iteration.
That funnel picture makes the whole system click for me, jsvn — gate #1 catching the most obvious flaws first means the later gates only spend their time on the genuinely tricky stuff, instead of drowning in things a review should have caught. And calling gate #4 a preflight check is the sharpest reframing yet; a checklist that only asks whether everything needed is actually in place is very different from another round of testing. The blameless root cause analysis is the part I would keep even if the gates worked perfectly, because it is the only step that turns a surprise into a better gate instead of a blame session. When a surprise does slip through all five gates, where do you start the analysis — with the gate that missed it, or with the assumption that gate was built on?
We're a place where coders share, stay up-to-date and grow their careers.
I like your approach, particularly the distinction between fixing what genuinely affects the user and polishing everything else. It serves as an interesting counterpoint to the familiar DevOps mantra of "ship it when it's 80% good." I've always thought there's a danger in interpreting that philosophy too literally, since it can leave early adopters doing the debugging. Perhaps the sweet spot is to get the fundamentals right, establish a reasonable quality threshold, and then let real-world feedback drive future improvements without becoming overly preoccupied with perfection. One thing I've found useful is asking myself: Am I actually making this better for the user, or am I just making myself more comfortable with releasing it?
That question you ask yourself is the sharpest part of this — "Am I actually making this better for the user, or am I just making myself more comfortable with releasing it?" I am going to borrow that one, because it cuts straight through the excuse-making I do when I keep tweaking.
You are right about the 80% rule too. Taken literally it just hands the debugging to your earliest users, and they are the people you least want to burn. Your sweet spot makes more sense to me: fundamentals right, a reasonable quality threshold, then let real feedback drive what comes next instead of guessing in private.
How do you set that quality threshold in practice — is it a short checklist you run through, a specific person you show it to first, or something else entirely?
Admittedly, for extremely small and low-stakes projects I may actually go with my gut feeling, but that instinct has been tempered with a keen understanding of the consequences of a bad deployment. As the stakes get higher, the degree of rigor necessarily needs to escalate.
Instead of a checklist, maybe consider establishing a series of successive gating conditions, each to be satisfied before production deployment:
The idea is that any failed gate stops the deployment, and any exception requires documented risk acceptance and authorization. As noted, this level of rigor is going to be overkill for smaller projects, but the underlying principle remains the same regardless of project size.
That escalation by stakes is the part I'm taking with me — gut feeling for the tiny low-stakes ones, and the five gates only when a bad deploy actually costs something. I especially like that a failed gate stops the deployment outright instead of becoming a warning people scroll past, and that an exception needs documented risk acceptance rather than a quiet override. The Deployment Readiness gate is the one I'd have skipped on my own — I'd have checked the code and the tests and called it done, without thinking about migrations and monitoring first. Which of the five gates has caught the most for you in practice — the one that most often stops a deploy that felt ready?
The gates operate similar to a funnel. The earlier gates are designed to catch the more obvious flaws, and the successively later gates are for the more fine-grained and nuanced ones. So, gate #1 (code reviews and such) should catch the greatest number of issues (at least we would hope so 😅). Next are the functional tests (gate #2), followed by the security, performance, and scalability tests (gate #3).
In reality, gate #4 is more along the lines of a readiness and completeness checklist, with the gating aspects being the requirements to ensure all of those necessary things are in place, sort of like a preflight check. Similarly, gate #5 is to ensure the required deployment and post-deployment validation tasks are addressed.
Altogether, the idea is to try to avoid anything unexpected from happening. But of course life is always full of surprises. When unexpected things do happen, then it's a good idea to have a blameless root cause analysis session to identify what things went wrong with the process and how to avoid those issues with the next iteration.
That funnel picture makes the whole system click for me, jsvn — gate #1 catching the most obvious flaws first means the later gates only spend their time on the genuinely tricky stuff, instead of drowning in things a review should have caught. And calling gate #4 a preflight check is the sharpest reframing yet; a checklist that only asks whether everything needed is actually in place is very different from another round of testing. The blameless root cause analysis is the part I would keep even if the gates worked perfectly, because it is the only step that turns a surprise into a better gate instead of a blame session. When a surprise does slip through all five gates, where do you start the analysis — with the gate that missed it, or with the assumption that gate was built on?