Disclose. Not because of liability, though that is real, but because a repair with a receipt is worth more than an untold story, and buyers can smell the difference.
The disclosure that works is short and specific: what failed, what was replaced, when, and who did it. No essay. Something like: recapped the power supply and replaced the relay in March, used it daily since, here is the invoice.
What you do not want to do is the opposite trick: sell a unit that has been opened, with the story of never being serviced. The first person who opens it sees the solder work, and now every word you said is suspect.
The gray area is the repair you did yourself and are not sure about. Say that too. A hobbyist recap that works is a fine thing to sell, honestly described, and the price reflects that a professional has not inspected it.
Keep the parts you pulled. They are proof, they help the next owner, and they cost nothing to include.
What is your rule: always disclose, disclose above a threshold, or stay quiet? Post your reasoning. This one is worth arguing about in public, because it is the trust the whole market runs on.