I had the same experience. My pixel battery was burning through it's battery at an extraordinary way, I contact support through the phone and got a replacement within the week.
A few months later I heard a rattle in my phone, turns out they sent me one that was part of a line that had an issue with a microphone component. Contact support and yet again it was replaced within a week.