Groups on the left and right of the party have been quietly considering future leadership options for weeks.