whistle past the graveyard
(idiomatic, US) To attempt to stay cheerful in a dire situation; to proceed with a task, ignoring an upcoming hazard, hoping for a good outcome.
(idiomatic, US) To enter a situation with little or no understanding of the possible consequences.