idiom
get down to the wire
приближаться к последнему возможному моменту перед дедлайном
Meaning
to approach the last possible moment before a deadline
Example
The project went **down to the wire**, but we finished on time.
Проект шел **до последней минуты**, но мы закончили вовремя.