by chpmrc on 8/14/23, 9:14 AM with 95 comments
by contravariant on 8/14/23, 11:35 AM
The trick with this perspective is that after identifying the real risks you can then link the risks and possible mitigations by looking at all 'things' and identifying the ways in which they might fail (and how this may be prevented from happening). This way you can easily identify which mitigations are helping prevent risks and which risks are not sufficiently mitigated. It's a fair bit of work, but it's not complicated and often gives useful insights.
What this article basically does is note that you should first asses what risks a failed deployment has, and correctly states that in quite a few cases this risk is low and therefore the mitigations (of which there can be many) may not be necessary and may in fact be doing harm without actually sufficiently preventing any risk.
by civilized on 8/14/23, 11:36 AM
I've heard "feature flags" are popular these days, and I understand that that's where you commit code for a new way of doing things but hide it behind a flag so you don't have to turn it on right away.
Now, if I want to test in prod, couldn't I just make the flag for my new feature turn on if I log in on a special developer test account? And if everything goes well, I change the condition to apply to everyone?
by Shrezzing on 8/14/23, 12:12 PM
> Unfortunately there is no easy way to distinguish between people who are good and need a paycheck from people who just need a paycheck. But you sure as hell don’t want the latter in your team.
If you can't tell them apart, then the distinction is unimportant. So if among the group of people who need paychecks, good is indistinguishable from non-good, the comment serves no purpose other than needless elitism.
by dijksterhuis on 8/14/23, 10:08 AM
> If GitHub makes a mistake it can affect thousands of businesses but they’ll likely shrug and their DevOps team will just post “GitHub is down, nothing we can do” on some Slack channel.
Gonna try and read the rest of this on the lunch break as was surprisingly meaty for a clickbait title ;)
by NewEntryHN on 8/14/23, 11:27 AM
by bhaney on 8/14/23, 10:46 AM
by wheelerof4te on 8/14/23, 11:32 AM
Of course, there are always exceptions to this rule. Adapt and modify the code as needed.
We keep three environments at work: Dev, Test and Prod. However, dev environments are sometimes neglected and some features land in Test only.
So, use Dev as a development playground. Use Test to test the changes made in Dev. If the change is approved in Test, it will go in Prod environment.
by tempodox on 8/14/23, 4:03 PM
by al_be_back on 8/14/23, 3:03 PM
In this case, a good "Testing on Production" rule would be to not let customers test your software, period.
There's plenty of land and resources to construct towns and cities that simulate real-life commute very accurately.
In the case of self-driving (or even autopilot), you're not really testing a feature, you're researching a new product, they difference is vast.
by hulitu on 8/14/23, 3:45 PM
A bug which must be fixed in production is much more expensive than a bug fixed during development.
People here complain when you bash Microsoft, but their phylosophy was (and still is) let the users test the product.
by bornfreddy on 8/15/23, 6:33 AM
> Ask yourself a question: do you have any reason to think that your engineers will not do a good job? If the answer is no: why are they still there? If the answer is yes: let them do their damn job.
by postalrat on 8/14/23, 2:44 PM
by therealchiko on 8/14/23, 11:29 AM
So well put, just today I implemented a feature and kept asking myself if i should be extending the component (leaning more towards OOP) or just add an additional argument to said component. The latter would have stuck more with the current style but I also realized there's no obvious better way, extending made sense and I realized the importance of understanding the nuance and standing up for those design decisions is what I am here to do :)
thank for putting that in less words
by trollied on 8/14/23, 10:10 AM
by anoy8888 on 8/14/23, 10:38 AM
by chpmrc on 8/14/23, 12:17 PM
@dang any chance you could help here? :(