I pull over and pull the rain cover over the rack trunk bag.
I also always have at least a plastic shopping bag and a large ziplock in the bottom of the bag. They take up ZERO room and are handy if I have something wet/nasty that I need to put in the bag and I don't want to get onto other stuff in there.
__________________
Work: the 8 hours that separates bike rides.