Skip to content

import-url --file=something.yaml ... doesn't save stage anywhere #4239

@Suor

Description

@Suor

The underlying issue is PipelineFile.dump() having unsafe design and breaking polymorphism. Here the suffix of the --file determines what class will be used as Dvcfile and while SingleStageFile.dump() indeed dumps the stage, PipelineFile.dump() does not by default.

This issue caused #3907 and was explained there in more detail. It may cause other undiscovered and future issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDid we break something?p2-mediumMedium priority, should be done, but less important

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions