Skip to content

_frontend/status.py: Complete names when rendering dynamic queue status

Tom Pollard requested to merge tpollard/render_task_group into master

Description

At somepoint action_name instead of complete_name started to be rendered to the user for the dynamic list of queue status reports. As we now have more of a UI seperation between 'Artifact' & 'Source' tasks, it also makes sense to reflect these actions in this output.

I noticed when working towards !1613 (closed) that the output does not match 1.2/1.4, I presume it changed when we introduced the State() class, which the 'frontend' queries for the sake of queue rendering. I've attached a snapshot from a previous presentation to highlight this.

output

With this MR: bstcrop

Changes proposed in this merge request:

  • Add complete_name as an optional param to task_groups
  • Render the complete name, i.e 'Fetched' instead of 'Fetch' in the status header via _render_task_group
  • Update the complete_name of the Queue classes to reflect if they Artifact or Source related

Edited by Tom Pollard

Merge request reports