Oh hey, I have an old z420 that I picked up off of ebay that I use as a hypervisor. It had running for a few years and worked great for what I was using it for. I replaced it earlier this year with a mini-itx ryzen based system, because I didn't want the tower in my office anymore.
I run a Ryzen 5 2600 in a Cooler Master 130 case with the stock cooler. I run it with stock settings and frequencies (XMP enabled). I do not encounter any thermal throttling in normal usage, including long gaming sessions. That said, the 2600 is a 65W chip while the 2700X is rated at 105W. Maybe I would run into more thermal constraints if I used the 105W part, but so far the 2600 has had plenty of performance to meet my needs of a semi-portable gaming/development machine.