My run of cabinets is going to end with just a little space to spare between the last cabinet and the wall. What do I do about that space?

You can buy a narrow filler to fill in that gap. The wood is stained and finished to match the other cabinets you will be buying.