I realize this is an unpopular opinion but I really think it's management's job to buffer our failures (or even better, avoid them upfront by making me work on things that likely succeed) and share the fruits of our success with me. And in that way, a stable salary isn't fair.
Of course it doesn't work like that, unfortunately.