Ideally, tariff is a way to buy time to re-balance. Tariff balance out the lower "outsourced" cost to even out the higher domestic cost temporarily. As technology and other factors lower the domestic cost, tariff will then be unnecessary. But that is only the ideal case. If domestic cost is never lowered enough, the added cost to the consumers is the permanent added cost we have to pay because we decided to have such specialties/industry domestically.
The question therefore is, do we really need this industry/specialty/technology to be a domestic one. The answer to this question is also mixed - for example, programming. One may need only some programming done locally (such as the software controlling national defense) but not all programming. Then the question changes to, how much do we need to maintain a viable programming industry domestically.
Defining the questions is the easy part. Deciding who should answer them is the hard part. Politicians in general are far better at taking care of their own wallet than ours. We need Politicians who is truly selfless and patriotic; selfless alone is hard to find, let alone selfless and patriotic. On top of that, we need these rare politician to be knowledgeable with technology issues, economics, international affairs ... ... So pretty much, it is whichever politician who is around at the time, and chances are, they don't know enough in the subject matter necessary for the decisions at hand.
There is no perfect answer that everyone will like. There are only answers that most of us would dislike less over other answers.