Some event structures in the worker a bit confusing.
For example, on step start and complete the engine includes step_id and job_id.
But steps and jobs are synonmous!
I suspect what's happening here is that one is the UUID for the run and the other is the id or UUID of the workflow. I'd have to trace carefully through the code to see.
What I'd like to do is:
- Establish a much clearer internal naming convention. Maybe
run_step_uuid for example is a better name. Or even just step_uuid versus step_id
- Check which field lightning actually uses and maybe only send that one
Some event structures in the worker a bit confusing.
For example, on step start and complete the engine includes step_id and job_id.
But steps and jobs are synonmous!
I suspect what's happening here is that one is the UUID for the run and the other is the id or UUID of the workflow. I'd have to trace carefully through the code to see.
What I'd like to do is:
run_step_uuidfor example is a better name. Or even juststep_uuidversusstep_id