Polycrystalline panels last 20 years, sometimes longer (the sales pitch is "up to 25 years") but the 20% fall off in deliverable power after 10 years is real.
Monocrystalline last longer, they also gradually fall off and they cost more.
Now it's a game of Backblaze storage stats only with solar panels - how does an at scale solar farm balance purchase costs and maintainance costs, where's the optimal sweet spot for buying new and rotating out on a schedule | reacting to failure.
I'm not opposed to solar, I'm in Australia in one of the states with large amounts of residential solar and heavy mining industries that dwarf anything in the US currently going electric - we're costing out massive farms to run solar power to asia via HVDC cable.
The supply side of all that is sourcing the copper, the lithium, the aluminium framing, the long list of other raw material inputs, the processing to get from concentrate ores to usable elements, etc.