2 ms·
Here's my most common use case: 1) Need to do a hotfix on some bug. Fastest fix is to just turn off something. 2) I turn it off (maybe commenting out the line
by mgfist 5y ago
Here's my most common use case:
1) Need to do a hotfix on some bug. Fastest fix is to just turn off something.
2) I turn it off (maybe commenting out the line) then add a TODO above it with the ticket number that corresponds to the ticket for turning it back on once the issue has been investigated.
3) Once I start working on the ticket to turn the thing back on, having the todos makes it easy to know exactly what to do (context isn't lost) and I don't end up missing some things because I can just search all of the TODOs.
4) If a TODO is missed, we have a script that will re-open any ticket for which a TODO ticket number is still in the codebase. i.e, let's say we have "TODO: xy-123 ..." If i close xy-123 without deleting that line, the script will re-open the ticket and comment saying that there is a remaining todo