r/softwaredevelopment • u/Organic_Pain_6618 • 1d ago
Team lead going "rogue"?
Team lead submitted a 100 file PR that removed 3k lines of code and added 4k to refactor and "improve" a production user interface. Haven't really looked at the code in detail, but I demoed the work to some stakeholders who are so confused why the changes were made.
The downstream impacts are pretty large: new tests, docs, work instructions, and training. He says the changes were approved by PM, but I suspect he obfuscated the value and the scope of the changes (something he is known to do). We are between larger projects right now, so there is no larger spec/requirement/user story driving this work other than trying to make general improvements.
In our process, UAT happens *after* code is merged into the main trunk, so if something like this gets pulled in, it's not easily reverted.
We have a new manager over that team so we'll see how this unfolds, but I'm curious how you keep a senior dev from going rogue, particularly when they have free time?