Google has found a way to fix Pixel 2 and Pixel 2 XL random reboots, but you'll have to wait

According to a Google official, although the company's engineers have identified a fix, the update containing it will arrive “in the coming weeks,” which could mean anything from one to several weeks.
The good news is we're already at the end of November and Google should deliver the December security update to all compatible Nexus and Pixel devices. Well, the update aimed at Pixel 2 and Pixel 2 XL could include this specific fix as well.
So, if you're using one of the Google's latest flagships and you're experiencing random reboots, don't despair, a fix will come, just not right now.
source: Google via AndroidPolice
Things that are NOT allowed: