The compressor is what decides this
A heat pump with a failing compressor is usually not worth repairing. The compressor is the most expensive part in the system, and it is sealed, so a contractor cannot just swap a bearing or a valve inside it. Problems with the reversing valve, the defrost control board, a fan motor or a capacitor are a different story. Those get replaced on their own and the rest of the system keeps running like normal.






