Skip to content

feature: long running steps #514

@maximilien

Description

@maximilien

In some workflows a step might take a "huge" amount of time to complete. This could be minutes, hours, or days. We need a way to deal with this. One proposal is to have async steps and allow for callbacks. For instance:

    steps:
      - name: long-running
        agent: slow-agent
        type: async
        callback: long-running-callback
            webhook: http://localhost:8000/long-running-callback

WDYT @akihikokuroda? We could probably dynamically create the callback for such steps.

We might also need to have a way to specify that a step is waiting on a callback. Like a trigger definition.

Anyhow, LMK what you think of above and let's try it. I can then create a "trigger" issue to address.

CC: @AngeloDanducci @psschwei for long running jobs need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeatureNew featurefutureImportant not urgent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions