As for how they know, as usual the final scene in Star Wars is ambiguously displaced from the timeline of the rest of the film. Who knows when that was.
Agree with everything you said, but ambiguously displaced endings are more of a prequels thing than an OT thing, since in the OT none of the endings require a time jump of more than a few hours.