Politics is tricky. I have/had to do a lot more public relations. Starting/running book/video clubs, making time for 1:1s with coworkers, I even did a 2+ year stint of starting off the morning slack chats with a dad joke, that was very appreciated. There are many ways to be productive, but I had to find ways to stay noticed, likable, relevant, and appreciated outside the pull requests. As my former manager said, if no one remembers who you are, you will become just a line item on the payroll.