It says "will become", so your first interpretation is correct.
'highest-ranking woman ever to serve in government' just makes it sound like her 'high-ranking' is independent of her serving in government to me. Especially given that it's a bigger more general milestone than the preceding sentences.