There is no reason to retire the airframe of the A-10. All the Air Force needs to do is analyze past battle damage where the A-10 airframe failed, and the to fix it. They also need to focus on implementing modularized and improved electronics and software. Another focus should be on engine improvements for fuel economy, power, reliability, and survivability
In the natural world there is a reason all birds have a similar, basic profile regardless if they eat seeds or meat - the physics of flight are not impressed by flights of fantasy. Once an airframe has evolved to optimum flight characteristics for a given mission, the possible future aerodynamic improvements are minimal. After that gains are made with lighter, stronger materials, weight savings, and improvements to electronics and software.
And the Air Force needs to agree to relinquish fixed-wing CAS aircraft to the Army and Marine Corps.
There apparently is an inter-service rivalry issue here, and the AF has been trying to kill the Warthog simply because they aren’t interested in it, despite how badly the infantry needs it.