Project

General

Profile

Idea #20971

Updated by Peter Amstutz about 1 year ago

Container priority is inherited from the root container.    When we have a bunch of independent workflows, this means workflows submitted earlier, and all their children, will get priority over ones submitted later, so they should generally complete first.    The steps themselves have the same priority and it doesn't matter that much what order they run in. 

 However, when we have a workflow runner that submits workflow runners, and the work steps are 3rd level, they all have the same priority.    As a result, we lose the behavior of doing work for earlier sub-workflows before processing later workflows. 

 I think we want to adjust the inherited priority based on the created_at time so that at the 2nd level, steps tend to execute in order they are submitted, and at the 3rd level, steps owned by earlier sub-workflows run before steps owned by later sub-workflows. 

Back