I really wish people would stop telling others that salvaged = dangerous. Salvaged only means the repair cost was too high ( there are a lot of variables and I wont get into it ). Think about what would happen if someone stole your car and removed all the glass, interior, bumpers and lights. Yup, it would be considered totalled/salvaged even though there was no damage done to the car structure itself. Replace all the missing parts and you have a perfectly safe vehicle with a salvaged title. If the welds were shotty then it was not repaired at a reputable shop and that's on the buyer for not doing there homework about the history and repairs done.
If the op car was repaired at a reputable shop then I would look into that shop to see what all was done to it and if in fact they replaced any sensors or other pertinent items that could be deemed at fault. But but but, it's on the purchaser to check the car out if it has a salvaged title so there will be no recourse to the person or shop that did the repairs.
Know of any reputable shop that repairs the Tesla computer systems and its electronics?