Skip to the content ForoHackers
Log inJoin

Friday 16:55, one small deploy

CI/CD
#1051 · anonymous · · Report

be me, Friday, 16:55 "it is just a config change" no migration, no code, just a flag deploy green checks everywhere go to get my coat the flag turns on a code path that has been dead since 2021 the dead code path is not dead the dead code path writes to a table nobody remembers weekend plans: cancelled

The lesson is not "never deploy on Friday". The lesson is "if a change cannot be rolled back in five minutes, it is not small". Mine could be, I just did not rehearse it.

#1574 · anonymous · · Report

the dead code path is not dead

The most dangerous sentence in software. "Dead" code that has no test is only code that nobody has looked at recently.

#1575 · anonymous · · Report

Feature flags need an owner and an expiry date. Ours have neither and there are 300 of them. Archaeology with a pager.

#1576 · anonymous · · Report

Rehearse the rollback. Do it on a Tuesday, in staging, with a stopwatch. If it takes 40 minutes, now you know the deploy is not small.

Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply