zeebe-spec icon indicating copy to clipboard operation
zeebe-spec copied to clipboard

Rename "complete-task" to "start-worker"

Open pihme opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. The action "complete-task" is misleading. It sounds as if I could complete a single activated job. However, what is actually happening is that a worker is started which is waiting for jobs to get activated and then completing all of them.

Describe the solution you'd like I would like to have a name that is clear.

pihme avatar Sep 29 '20 11:09 pihme

I'm happy to make the change. I just wanted to create the issue as a reminder, so we can talk about and decide whether this shall be changed or not.

pihme avatar Sep 29 '20 11:09 pihme

I'm supporting the intention of having clear names. When we talk about Zeebe then it would be more exact to call it "start-worker".

But I'm not sure about changing the name because the tool should be agnostic to the concrete BPMN engine. Another engine may call it differently. The name "complete-task" is more general. So, the concrete test runner can implement it in a proper way.

saig0 avatar Sep 30 '20 05:09 saig0