<#1130 Fallback to constant start time and add loc...
# flyte-github
a
#1130 Fallback to constant start time and add lock around submit_sync Pull request opened by wild-endeavor Child actions weren't deduping across parent retries — a
retries=2
parent with 3 children spawned 9 child actions instead of 3. Cause: the sub-action ID hash includes the task spec, which bakes in
run_start_time
. When the backend doesn't substitute
{{.runStartTime}}
, we fell back to
datetime.now()
, so each retry attempt of the parent hashed to a different child name. Fix: fall back to a constant epoch (1970) instead of
now()
, so the hash is stable across attempts. Also adds a lock around
submit_sync
. flyteorg/flyte-sdk