Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailblazer priority control samples #3991

Merged
merged 22 commits into from
Dec 5, 2024
Merged

Trailblazer priority control samples #3991

merged 22 commits into from
Dec 5, 2024

Conversation

eliottBo
Copy link
Contributor

@eliottBo eliottBo commented Dec 2, 2024

Description

This PR closes #3889. The controls currently get express priority in TB. This PR will change this and the control cases will get the priority according to what is stated in statusDB however the slurm QOS will remain equivalent to express.

Fixed

  • Controls ran with slurm qos express have the priority in trailblazer corresponding to the priority in statusDB

How to prepare for test

  • Ssh to relevant server (depending on type of change)
  • Use stage: us
  • Paxa the environment: paxa
  • Install on stage (example for Hasta):
    bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_cg -t cg -b [THIS-BRANCH-NAME] -a

How to test

  • Start a control case and check in TB stage the displayed priority

Expected test outcome

  • Check that the priority is not express in TB
  • Take a screenshot and attach or copy/paste the output.

Review

  • Tests executed by ELB
  • "Merge and deploy" approved by
    Thanks for filling in who performed the code review and the test!

This version is a

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

Implementation Plan

  • Document in ...
  • Deploy this branch on ...
  • Inform to ...

@eliottBo eliottBo marked this pull request as ready for review December 3, 2024 11:55
@eliottBo eliottBo requested a review from a team as a code owner December 3, 2024 11:55
@eliottBo eliottBo changed the title Trailblazer priority Trailblazer priority control samples Dec 4, 2024
@eliottBo eliottBo self-assigned this Dec 4, 2024
Copy link
Contributor

@islean islean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

cg/meta/workflow/analysis.py Outdated Show resolved Hide resolved
cg/meta/workflow/utils/utils.py Outdated Show resolved Hide resolved
tests/meta/workflow/test_analysis.py Show resolved Hide resolved
Copy link

sonarqubecloud bot commented Dec 4, 2024

@eliottBo eliottBo requested a review from islean December 4, 2024 12:25
@eliottBo
Copy link
Contributor Author

eliottBo commented Dec 5, 2024

Tests in stage:

This works as intended

Slurm quality of service express when submitting

Screenshot 2024-12-05 at 10 07 45

Trailblazer priority High

Screenshot 2024-12-05 at 10 07 13

@eliottBo eliottBo merged commit c624ab0 into master Dec 5, 2024
10 checks passed
@eliottBo eliottBo deleted the trailblazer-priority branch December 5, 2024 09:28
@eliottBo
Copy link
Contributor Author

eliottBo commented Dec 5, 2024

Deployment:

Stage

Screenshot 2024-12-05 at 10 40 40

Screenshot 2024-12-05 at 10 37 24

Production:

Screenshot 2024-12-05 at 10 45 56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Control samples show up as 'Express' in Trailblazer
2 participants