This happened already at least once with a couple Soviet Mars probes - they found a batch of transistors they used were faulty and deteriorate much too quickly in space - after the probes vere already launched.
IIRC some did not even reach Mars while others failed soon after orbit insertion due to various sub-systems failing.
IIRC some did not even reach Mars while others failed soon after orbit insertion due to various sub-systems failing.