Skip to content

workflow_state: treat pre-startcp tasks as succeeded #7178

@MetRonnie

Description

@MetRonnie

Problem

When a workflow is warm started, there might be other workflows that are using a workflow_state xtrigger or polling task looking for a task at a cycle before the start cycle point.

Also, we think at the moment that a workflow_state testing for a pre-initial cycle point task will poll when it doesn't need to - it can fail immediately.

Proposed Solution

Make workflow_state check the workflow_params table of the target workflow and treat pre-startcp tasks as having succeeded, and treat pre-icp tasks as invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions