You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Control cases show up as 'Express' priority in Trailblazer, no matter the level set in StatusDB. This is after a recent update that increased the priorities of the jobs on Hasta. See #3816
To Reproduce
Steps to reproduce the behavior:
Run any internal control case in prod or stage
Expected behavior
The priority of the TB analysis should be the same as the case in StatusDB. Another alternative is to add a brand new value like 'Control', but that might be better kept as a separate feature request.
Additional context
The text was updated successfully, but these errors were encountered:
Change the parameter slurm_quality_of_service in cg.apps.tb.api.TrailblazerAPI.add_pending_analysis to priority
Create method called get_trailblazer_priority(case_id) which returns the priority to send to TB
defget_trailblazer_priority(self, case_id: str) ->str:
"""Get Quality of service (SLURM QOS) for the case."""case: Case=self.status_db.get_case_by_internal_id(internal_id=case_id)
priority: int=case.priorityorPriority.researchreturnmap_to_trailblazer_priority(priority)
Create a class TrailblazerPriority which is the same as the QOS one except it does not have maintenance
Create a utils class that translate the int to the correct member of TrailblazerPriority
Use get_trailblazer_priority in cg.apps.tb.api.TrailblazerAPI.add_pending_analysis to get the correct priority
Describe the bug
Control cases show up as 'Express' priority in Trailblazer, no matter the level set in StatusDB. This is after a recent update that increased the priorities of the jobs on Hasta. See #3816
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The priority of the TB analysis should be the same as the case in StatusDB. Another alternative is to add a brand new value like 'Control', but that might be better kept as a separate feature request.
Additional context
The text was updated successfully, but these errors were encountered: