apache / apache/openwhisk-wskdeploy

Can wskdeploy orchestrates actions as a DAG?

Open
#1,147 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
75
Forks
73
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I want to build a DAG job in openwhisk by using wskdeploy.

I know wskdeploy can create a sequence, but can wskdeploy create a DAG job?

suppose there are 4 DAG functions in a workflow, the relationship of the 4 functions is floowing:

A --> B ——>D
 ↘   ↗
   C

That is, function `A` sends the same outputs to function `B` and function `C`.

Note that functions `B` and function `C` can be executed in parallel (for different purposes).

function `C` receives the output of the function `A` and sends the output to function `D`.

Here, function `D` will not be executed until it receives both inputs from function `B` and function `C`.

I think it is a common demand in real-world workflow, could anyone tell me how to do this?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing wskdeploy's existing sequence support and how OpenWhisk represents workflows. Determine whether branching, parallel execution, and joining both inputs are supported, then document the supported approach or define the implementation scope and acceptance criteria for DAG orchestration.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.