Skip to content

Cycles are possible in the dependency graph #83

@arthurp

Description

@arthurp

Because of the trick of allowing a task to be split and having any task that depends on the original task depend on the final segment split away from the task. The issue is that since we are "pausing" (really splitting) a task after create new tasks and blocking on tasks (including new ones maybe), the new tasks can potentially have their parent as a dependency. The new task depending on the creator is reasonable. And the creator depending on the new task is reasonable. However if we do both, we have a cycle.

This breaks some of our guarantees and it's not at all clear to me how to fix it.

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