Every workflow that lives long enough reaches the point where the next change is harder than it should be.
The signal I go by is not age or size. It is this: can I still explain the whole thing to someone in a couple of minutes? While that is true, I patch. Once I catch myself saying "and then there is this other bit that handles the case where", the shape is wrong and patching makes it worse.
The trap is that rebuilding feels wasteful. It is not, usually. The second version takes a fraction of the time because you already know every question the first one had to answer, and you know which branches were never actually needed.
What I do not do any more is rebuild while the old one is off. Both run, I compare, then I switch.
The thing I did not expect about rebuilding: the second version is usually smaller. Not because I got better, but because the first version was carrying branches for situations that never happened. You only find those by looking at what actually ran.
How do you decide? And has a rebuild ever gone badly for you? 👇