I had similar issue on a different mower. Would run reliably for 45 min to an hour then die on me. I thought it was overheating or heat was causing an ignition issue. I changed filters, ignition coils, spark plugs and fuel pump with no effect.
Someone suggested debris in the fuel tank and that was the cause. The debris was too big to go down the fuel line and was blocking the outlet of the tank. This was a ride on mower used on quite rough ground so the fuel got sloshed about a lot, yet somehow after 45 min to an hour it blocked the outlet repeatably. If I left the mower overnight it would then run reliably again. How on earth it could run for so long and then die repeatable I have no idea, but draining, drying and cleaning out the tank solved it.
After solving this issue the mover worked fine for another season then started doing it again. This time I went straight to clean out the tank and it fixed again.
I'm frankly gobsmacked that with all the bouncing around on rough ground it could reliably take so long to block the outlet but that's what was happening.