In a stretch of my commute I have a nice looking bike lane that unfortunately currently has a couple unusable spots. I'm going about 20mph which is around half traffic speed.
So far I have tried two strategies, both with less than ideal results.
As I approach an unusable patch I signal, merge and take the lane for some 10-20 meters depending on how the merge worked and return to the bike lane where it again meets my standards. But this has in some cases has apparently been unexpected by cars who express their surprise unhelpfully. The bike lane's faults may not be totally obvious to a driver. In other stretches without a bike lane taking a lane hasn't been an issue.
Or as I approach the trouble I skirt the edge of the lane. I hold a line maybe 30 meters before the spot just about on the painted line (there are three spots and one of them the line is not usable so I'm in the lane) This makes me pretty predictable in the trouble spot which I take as helping my chances of being hit since cars typically give me space. But means I have little or no option to maneuver if someone does choose to pass close, so far it hasn't come up.
I'm pretty sure the first option is correct, but doesn't seem to be as well received and I've felt safer in practice using the second.
The question is: Is there a way to make this work better?