Labral Tear

My left shoulder pops in and out at night usually when I sleep. This is the one I had an MRI done on, and have surgery scheduled for. The right one hurts, but I haven’t noticed it affect me too much with anything so I’d rather not have to go into surgery for that one right after I finish rehab for the left one. I tested them out at the gym, for the most part I can bench press painless but trying to get into position to squat hurts like crazy.

Is there any consensus on when a labral tear needs to be repaired, and what I can expect after I finish rehab as far as return of function and/or risk of reinjury?