The check covers the entire duration of the task, but the roll is made at the end to resolve the action.
Lucky does not specify a duration, and it can be used according to its description.
For Guidance, at my table we require it to be active for the entire duration of the task.
We don't...