de0u Ive tried using both graphene os and google servers for connectivity checks. I have not tried with a vpn. I am using adguard dns, though I have tried disabling it and it has not fixed the issue.
I don't know if this is helpful, but all of the networks I have used recently are from my university. So there are a lot of access points in any given area. I don't know if that might be causing the phone to get confused. Though I am not moving between rooms when the issue occurs. I can just be in my own room and it will disconnect and reconnect repeatedly.
I am currently testing my pixel when connected to a hotspot with one access point. I'll report if that seems to fix the issue.