Sent a combat frigate out on a low level mission. Came back successful but damaged. I repaired the ship manually by landing on the ship, speaking to the captain that you are automatically prompted to do, damaged ship locations get marked and I head over and fixed them.
After I left the frigate,it was still highlighted with a red icon indicating that it was still damaged. I double checked and the frigate repair locations were not broken at all. I later assumed that it is just a glitch and its actually repaired but maybe the notification is just stuck there… I think I was wrong because I sent it out on a 1-star level mission and it was destroyed instantly at the beggining of the voyage.
It was a B-class combat frigate.