My only contribution to this is that I strongly believe you should only be measured on a system you built from scratch - inheriting someone else’s system and then you being measured on it is unfair.
However, software engineering in a larger organization has a different goal -- it's team sport of building & operating software to serve the business purposes of that organization.
With this goal in mind, one's ability to build upon & maintain an inherited codebase is definitely relevant to success.