My instinct (though it's not one I'd want to force onto this group), is that if you avoid combat (every action dodge or hide, say; though another formulation should be possible), you should still get the benefits of the long rest.
My thinking is that it then becomes a tactical choice in the encounter, adding a small degree of complexity and making it a player choice about entering combat: there are mechanical benefits either way (recovery of hit dice vs. being able to do damage).
It means that by working together a party can eventually get the benefits of a long rest by working together under the most adverse circumstances; whereas conceivably that might never happen if every long rest gets interrupted by a wandering monster.
As I say, that's what was in my head when I asked the question, but I'm happy with any ruling for this game.
My thinking is that it then becomes a tactical choice in the encounter, adding a small degree of complexity and making it a player choice about entering combat: there are mechanical benefits either way (recovery of hit dice vs. being able to do damage).
It means that by working together a party can eventually get the benefits of a long rest by working together under the most adverse circumstances; whereas conceivably that might never happen if every long rest gets interrupted by a wandering monster.
As I say, that's what was in my head when I asked the question, but I'm happy with any ruling for this game.