I'll assume you want to continue working there...
Do you have any trace of this in writing?
You have your code reviews in some management system like GitHub and GitLab.
When you have talked with your manager, and when you talk with them, send a recap of the conversation for memo. Same for conversations you have with your coworker.
Make sure it will not become a he said she said issue. Every interaction in writing.
It will become obvious who's doing what, who's not doing their job, etc.
This will avoid the situation where they get fired and tell you "You didn't tell me" or that there were no warnings.
Keep calm and courteous. There are people who count on you losing your shit and say "See what I have to deal with?". Gaslighting and all.
Version control is not just for code.
When doing things in writing, do not exclude th possibility of reading what you wrote and thinking "Holy cow, I'm the asshole". Either way, verba volant, scripta manent.
Do you have any trace of this in writing?
You have your code reviews in some management system like GitHub and GitLab.
When you have talked with your manager, and when you talk with them, send a recap of the conversation for memo. Same for conversations you have with your coworker.
Make sure it will not become a he said she said issue. Every interaction in writing.
It will become obvious who's doing what, who's not doing their job, etc.
This will avoid the situation where they get fired and tell you "You didn't tell me" or that there were no warnings.
Keep calm and courteous. There are people who count on you losing your shit and say "See what I have to deal with?". Gaslighting and all.
Version control is not just for code.
When doing things in writing, do not exclude th possibility of reading what you wrote and thinking "Holy cow, I'm the asshole". Either way, verba volant, scripta manent.