Why wasn’t this caught by a million different processes that most teams have? Scrum, team lead, n different managers, etc. This is on the process, not the engineer.
That’s understandable. The nuance here is senior engineers going off and doing things they know need to be done vs juniors getting lost in the weeds. If you’re the former, and you’re always shutdown from doing things you know are important, you probably need to find new employment.