It's been a couple of weeks since I started my new job as a mid level web dev.
There's an ongoing project on which only me and the senior developer (who is also new here) are working on. As in most teams, changes come in pull requests and someone else has to review your code to merge it.
Once I got the hang of the codebase I started creating a lot of PRs that contained features/patches/fixes mentioned in our ticketing system, but the last couple of days I see my PRs stacking up and not getting merged.
Initially, I though that my coworker didn't have enough time to review. Unfortunately, I found out that he is not merging my code intentionally even though this slows the whole project down.
I fear he is feeling threatened by my performance and he is trying to artificially slow me down. How am I supposed to deal with it?
Let me answer some questions before they come up:
Q: Are your PRs too large to review and he feels fatigued?
A: Most PRs include no more than 10 lines of code. I try to keep them small and focused. There's even a PR with 1 line change. Of course, some are larger, but they are very few.
Q: Maybe your code is really bad and he doesn't know how to address it?
A: Since day 1 I showed everyone that not only do I welcome feedback on my code, but I actively ask for it. I've addressed every single comment on my PRs and when I'm not 100% sure about my approach... I do as others suggest. I've even changed my code even when I disagreed, just to show that I'm cooperative.
Q: Maybe he really doesn't have any time to review?
A: Nope, I can see him working on objectively less-prioritized issues
Q: How can you be sure he is "intentionally" not merging your code?
A: The most obvious example is a comment he left on one on my PRs. He stated that he looked at the code, it looks good, but it was low-priority feature and he felt that I should have spent my time on something more important. Even if that were true (which was not: the feature was on the high-priority list and only took me 15 minutes to implement) why wouldn't he merge the code?
Again... how do I deal with this?
I do not want to cause a toxic situation.
I would like to make him feel safe, I'm not a threat.
Contacting management is only a last resort solution for me.