Skip to content

Users can specify --run-id for a previously existing run, and Metaflow happily continues #3229

@emattia

Description

@emattia

If run 123 has failed on any step, and a user accidentally does resume --run-id 123 instead of resume --origin-run-id 123, they will get an unexpected UX where Metaflow does the resume from a run that may not be the same one (if their desired origin run id is from Argo, for instance), and the backend is now polluted by the mixing of task execution data from the parent and resume runs. Metaflow should catch the foot gun before the resume run is created on the duplicate --run-id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions