pub(crate) fn resolve_schedule_defaults_into_task(
task: &mut CreateFlowTask,
prev_flow_info: Option<&FlowInfoValue>,
)Expand description
Resolve FlowScheduleConfig into task.eval_schedule.
This must be called in on_prepare after prev_flow_info is loaded so that
CreateRequest and FlowInfoValue both see the same resolved defaults.
The function is idempotent: if task.eval_schedule is already Some,
it returns immediately (important for procedure retry / dump-restore).
Schedule configuration is NOT read from task.flow_options (those keys are
no longer user-facing options). For new flows, pure defaults are computed.
For OR REPLACE, the previous typed config is preserved when interval+anchor
are unchanged; otherwise defaults are recomputed.