GE profile PSC25MSTASS freezer and fridge not cooling

I have a GE profile fridge sxs , I have been having some issues with it not staying cold or holding temp . First the fridge starts to warm up then the freezer. ,When I unplug it and reconnect seems to work but slowly it will start to fail.was going to replace motherboard but then I ran the diagnostic tests and it passed all of them . Any ideas or suggestions would greatly be appreciated

If the compressor stops running when it fails, look for a bad solder joint on the back of the motherboard.