Skip to content

Prereq added in reload can have incorrect satisfaction #7156

@MetRonnie

Description

@MetRonnie

Reproducible Example

#!jinja2
[scheduler]
    allow implicit tasks = True
[scheduling]
    [[xtriggers]]
        never = xrandom(0)
    [[graph]]
        R1 = """
            one => foo
            # two => foo

            one & two => etc
            @never => etc
        """
[runtime]
    [[one]]
        script = sleep 30
  1. Start the workflow
  2. After two succeeds, and while one is running, uncomment # two => foo in the graph and reload the workflow
  3. The added prerequisite of two:succeeded is incorrectly displayed as unsatisfied

Expected Behaviour

Presumably the added prereq satisfaction is incorrect as the task two has left the pool by the time this prereq is added. The added prereq should look in the DB for the correct satisfaction state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is wrong :(
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions