Skip to content

Dependencies not calculated properly for subtrees of noop tasks #881

@dobesv

Description

@dobesv

If a noop task depends on another noop task, the dependencies won't propagate from the inner task to the dependents of the outer task.

For example:

Task A: script
Task B: noop - depends on A
Task C: noop - depends on B
Task D: script - depends on C

If you run D, lage will forget there's a dependency between D and A and potentially run D before A.

I created a test case and proposed fix in this PR: #880

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions