Open tendon repair and arthroscopic repair can be done under general anesthesia, which allows you to sleep through the whole thing. They can also be done with a “regional block,” which allows you to stay awake while your arm and shoulder stay numb.
You can talk to your doctor ahead of time about the type of anesthesia you prefer.