<#1054 refactor: remove repair_union_prev_checkpoi...
# flyte-github
a
#1054 refactor: remove repair_union_prev_checkpoint_uri SDK workaround Pull request opened by AdilFayyaz Motivation The backend bug that caused prev-checkpoint URIs to point to the current attempt directory instead of the prior one has been fixed (unionai/cloud#15143). The SDK-side URI rewriting was always a temporary hack and can now be removed. Summary • Removed
repair_union_prev_checkpoint_uri
and the
_REMOTE_CHECKPOINT_SCHEMES
constant it depended on • Removed the call site in
Checkpoint.__init__
that patched remote prev-URIs on construction • Dropped the now-unused
re
import • Cleaned up the module docstring section describing the workaround Test Plan • Existing checkpoint tests cover the load/save paths — no behaviour changed for correct URIs • Verify end-to-end on a retried task: the prev-checkpoint URI provided by the executor should now be correct without SDK intervention flyteorg/flyte-sdk