Well, I have only bought well made firearms, so that makes things easier. I clean after every shooting session, but I do not clean abusively. I have no ammonium cleaners, and no brushes made of stainless steel. I use nylon brushes more than brass. I use plastic cleaning picks and never scrape surfaces with anything metallic. I change recoil buffers at 1K rounds. For my 1911s I buy a set of Wilson springs and swap the whole set out at 5000 rounds (cheap at $16). I use both Wilson 47C or Brown 847 magazines in all 4 of my 1911s and keep spare springs on hand. If any mag starts to stumble I rotate it out for the day, clean it, and if it happens again, swap out the spring. This never fails to solve the problem. I have the same admiration for both magazines, and suggest that if you have any magazine related problems; try a Wilson or Brown magazine and see if that does not fix it. Extraction failures have almost always been due to contamination and been solved by cleaning. I have had two extractors over the years that completely failed (both Colts), one was my '59 Commercial, the other a WWII Remington Rand, and I had no idea of how many rounds either pistol had consumed before failure.
Until Thursday, these were the only mechanical failures I had ever had with a 1911. On Thursday afternoon I went to a friend's ranch and did some pistol shooting, my Springfield Armory GI .45 quite a bit of work. The GI .45 was the last to get clean, and after cleaning I do something I do periodically with a 1911; check the safety. With chute clear, empty pipe, I cocked the hammer, engaged the safety and pulled the trigger; not extreme squeeze, just about a 5 lb pull. The trigger fell forward about 1/8 inch. Talk about pucker factor! I subsequently released the safety and the hammer fell to the "safety notch". Again, maximum pucker factor! I tried this again and the same event recurred. I disassembled the pistol. No excess oil. hammer and sear looked good. Obvious signs of wear on the engagement surfaces of the safety. I reassembled the pistol and performed the previous tests and got the same results. Today I took the GI .45 to Ken Genecco, an extremely good local gunsmith, and he confirmed that the surface of the safety had worn away (probably not too hard to begin with). He took some measurements and is going to order a new safety from Wilson and fit it to my pistol; take about two weeks. I could have sent it to SA, but I have had the slide milled for sights and the ejection port relieved, and I don't know how SA will behave.
Plus, I trust Kenny to do it right.
As far as revolvers I have only owned two brands: S&W and Ruger. I clean them after shooting; I don't batter or abuse. I've yet to see anything fail on a Ruger.
I have had main springs go soft on K frame S&Ws after a whole lot of shooting; start getting mild primer strikes. But those springs are cheap and easy to replace.