I have realized that my current role is not aligning with my interests due to various reasons, including unsupportive teammates and limited learning opportunities. I am waiting for the right opportunity to transition to a different team and take on a completely new role. In the meantime, I’m working on building side projects with respect to my new role. This transition might take around 6 months to 1 year.
While I am here with my current team, I am trying to fulfill the minimum job requirements. My question is whether I should maintain a decent rapport with my current teammates during this time, such as having 1:1 meetings.
Additionally, I would like to know what kind of teammates are worth connecting with, and how much time and effort should be invested in maintaining those connections when I know this is not the right place for me.
Completely agree with Rahul's points on relationships, which can be generalized to beyond your immediate work environment as well. As long as you decide to stay in a role or company, I believe in maintaining a high bar.
Deciding how long to stay mainly boils down to a few factors:
Can the issues be fixed given time? Assess your span of control and span of influence. Here's a couple examples to illustrate a spectrum on whether you can fix it given time
Bad sprint - Bad project - Bad team - Bad management - Bad culture - Broken business model
How good are the existing opportunities you have (internal transfer) / people who will hire you externally? An extension to this is your ability to expand your current network and land a new job in the current economic environment.
What is the cost of maintaining a decent rapport with your current teammates? Given that you're transitioning internally, and not to a new company, it's very important to maintain your reputation and relationships with your colleagues. There's a good chance you'll interact with them again at this company, or in a future company you happen to intersect at. (This happens very frequently!)
I'd imagine the cost of keeping the relationships alive is not very significant, perhaps a few hours per week. If that's true, do it.
Beyond that, though, your reputation is what will get you the best opportunities in your career. Beyond your skill as an engineer, you want people to actually have a positive association when they think of you.
Find teammates you enjoy spending time with and you can also learn from. These are the ideal people to stay in touch with.
On the topic of switching companies or teams, please also consider what your tenure says about you: https://www.youtube.com/watch?v=RYY3maOhSWI