I doubt they’d replace them but while I was hanging around the factory techs at the Dawsonville GSSF this weekend they rebuilt a few mags for a guy that brought old ones up. YMMV.
Glock recommends that you change out a Gen 3 guide rod and recoil spring assembly after 2,500 rounds. Gen 4’s are recommended to be changed after 5,000 rounds.
Some people argue with a .357 or .40SW you should changed them out earlier. I run a G22 at my department and haven’t had any issues at 3,000+ rounds; the gun still passes all functions checks.
The Gen 4 recommendation is extraordinarily conservative. Our “test bed” Gen 4 G17, an early 2010 gun with its original unmarked RSA is closing in on 12K rounds. Feels as heavy as new more or less. Gun runs like crazy.