I try to make 4 hours the limit on leaving mine alone. That is how long they can usually hold out for a potty break. I know they try to hold it, and will eventually use the pads but I don't like them to be uncomfortable. Mine are also a little spoiled and needy. They do like their people face time.

Just like me -- I need my pup time too! Luckily I am retired and can do this.
If I had to go to work, I am sure I would figure something out. I used to come home at lunch when I had a dog and worked. But I have also left one all day, with plenty of pee pads. I just did not ever think that was the best. I always felt sorry for my dog when I had to be gone all day. Seemed like an awful long time without any companionship. So, I would wind up getting a second so they would have company. That seemed to work the best for me. Maybe it was just my own mind, but they always seemed happier and I know I felt better when they had another pet with them.