Once upon a time, I was refused a salary raise because I've told that few of my commits had really critical bugs. On the same time another colleague was promoted to team lead because their app was flawless. A small difference here.
I've worked on multiple complicated legacy parts of the platform used by lots of people and the other team was building a single web api from scratch... I quit a month later...