If the incentives are right, that effort is worth it. By incentives I'm not talking about a $15 TGIFridays gift card and a mention at the company meeting, I mean a meaningful portion of the value generated, rewarded quickly not "maybe next annual review".
Many organizations punish the members who work hard with more uncompensated work like you have described.
I don't think it's lol worthy despite having been the other side of the situation for most of my career.
A patent you'd want credit for. A journal paper co-authorship likewise.
I'm very much in favour - especially for non contract LOB works - journalling moral copyrights formally.
Of course we've Github and the similar now, which is amazing, if you use it for such. I am currently working on a possibility to open source a range of advertising trading middleware (dates me, huh?) with the establishment of a Community Company* copyright holding structure that rewards individual contribution regardless of origin, weighted by calling / execution paths / additional necessary weighting as necessary, enforced by statutory articles of association bound in incorporation.
articles of association bind the company members to the terms of their articles which are imbued with the same statutory powers of Companies Act, which has 400+ statutory summary criminal offenses adjudicable in the Companies Court. Companies Court, like Ecclesiastical, isn't very well known to even exist, even among the legal profession. However, very much unlike claims heard in the Chancery Division (which must be for greater than fifty thousand British pounds or go hence to the County Courts which exist for extension of the High Court originally for handling the volume property claims, and before which I won't give the most robust tort better than a bitten nickel worth chance.)
edit was unfinished, mea : unlike in Chancery, claims in Companies Court go quickly, because the weight is summary and summary findings of breaches of Companies Act are Criminal offenses, and therefore will shape the further claims evaluation considerably. It's almost a British Delaware system, and in keeping with the theme of this discussion, I was reluctant to write this, lest case load spoil the advantages!
Many organizations punish the members who work hard with more uncompensated work like you have described.