I had that 2017 MacBook Pro, I sent it in for repair at no cost to me, within the warranty window. I actually had to send it in twice for the same problem. And lost work both times while doing it.
When they got sued, I signed up for the class action lawsuit, and I got my check in the mail!
Do you want to guess how much fiat I got for my keyboard problems and loss of work?
