to go (right) down to the wire - definition and synonyms

phrase informal
  1. to only be decided or become clear at the last possible moment

    Talks went down to the wire, with agreement being reached at the very last minute.

See also main entry: wire