Kitchen Aid Refrigerator

Unit was running fine; now on startup ONLY there is a whine for about 6 seconds then clicks off. No compressor/no cooling. I had a technician recommend a voltage board replacement which we did; unit ran for about a week and is now making the noise again. Tech tested amp’s on compressor (looked ok) and tested capacitors (again said checked out fine). being that the fridge ran fine for over a week I think the compressor is good; any suggestions?