In RescaleExecutionProgressUpdater.update() we get a list of finishedPolicies from the database and use that later to determine what progresses to update in RunUpdateServiceImpl.updateRun(). Unfortunately we then use that list of finishedPolicies to determine which Progress to run certain code in RunUpdateServiceImpl.updateRun() and only that code fires an eventbus event. The end result is that when the Run/Policy is completed we do not fire an event up the eventbus.
Short version: The progresses do not include the completed policy and as a result the code in the last code screenshot that loops through the progresses is not called, and hence no event is fired up the eventbus to tell the UI that the policy has been completed.



In
RescaleExecutionProgressUpdater.update()we get a list of finishedPolicies from the database and use that later to determine what progresses to update inRunUpdateServiceImpl.updateRun(). Unfortunately we then use that list of finishedPolicies to determine whichProgressto run certain code inRunUpdateServiceImpl.updateRun()and only that code fires an eventbus event. The end result is that when the Run/Policy is completed we do not fire an event up the eventbus.Short version: The progresses do not include the completed policy and as a result the code in the last code screenshot that loops through the progresses is not called, and hence no event is fired up the eventbus to tell the UI that the policy has been completed.