Welcome to the forum!
I would assume most problems where a recall was needed would not show up on your new Civic sedan and I think dealerships update the the systems of the models that are sitting on their lots when those updates become available. You could always ask if everything was up to date before signing anything.
As for the head unit dying, I really can't tell the future with these since they are still relatively new tech but you can always think about getting extended warranty.
I would assume most problems where a recall was needed would not show up on your new Civic sedan and I think dealerships update the the systems of the models that are sitting on their lots when those updates become available. You could always ask if everything was up to date before signing anything.
As for the head unit dying, I really can't tell the future with these since they are still relatively new tech but you can always think about getting extended warranty.