My daily job involves working on a legacy project and full of hectic work. We can say our code repository is an example of spaghetti code with all violations of a maintainable code and can be taken as a best example of how a code base is not supposed to be. Our manager is also an arrogant person, who always abuses and ask completely irrational things. No one in entire whole team knows what are the requirements and each issue and new feature takes weeks and months to work, and we can't guarantee the outcome because we have no unit tests and we are not confident on not breaking anything by fixing / adding on given task. From our management side, they are very much know that, the project is not in a good position and the team is suffering a lot. Management suggests like, ignore all the issues and do your best kind of.
Being in this situation, in some other project, they have asked me for help regarding some deployment strategy. I have worked very hard and spent lot of time on that project also and balanced both the project for nearly two weeks working long hours. Any issue came in another project also i have taken initiative and resolved with priority, because, i have to do it otherwise it won't be resolved. The team also know, how valuable i am in that project.
But, in a meeting happened 1 day back, the management even not mentioned my name in the project status and success meet and appreciated all other team members. Clearly everyone from management know how i have worked for that project and taken all the heated discussion from client of that project.
I don't know, whether it is correct or not, expecting appreciation and recognition for the work we have done but coming to work my name comes into picture and for at least recognition they didn't remember who has worked and uplifted the project. I am trying to ignore and just move on, but it comes in my mind recurring.
Working in this workplace as a whole, what i have to learn...?