Skip to content

Upload saltshaker report to Scout for raredisease - #5234

Open
diitaz93 wants to merge 5 commits into
masterfrom
add-saltshaker-to-scout
Open

Upload saltshaker report to Scout for raredisease#5234
diitaz93 wants to merge 5 commits into
masterfrom
add-saltshaker-to-scout

Conversation

@diitaz93

@diitaz93 diitaz93 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Description

Add the saltshaker report to the RarediseaseScoutLoadConfig

Added

  • attribute saltshaker_report to the RarediseaseScoutLoadConfig
  • Fetch the file from Housekeeper using the tag 'saltshaker-classify' and add it to teh config

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 add-saltshaker-to-scout -a

How to test

  • Do ...

Expected test outcome

  • Check that ...
  • Take a screenshot and attach or copy/paste the output.

Review

  • Tests executed by
  • "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 ...

@diitaz93
diitaz93 requested a review from a team as a code owner August 6, 2026 11:08
@diitaz93

diitaz93 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Tests in stage

Screenshot 2026-08-06 at 13 26 11 Screenshot 2026-08-06 at 13 26 41

Comment on lines +82 to +84
load_config.saltshaker_report = self.get_file_from_hk(
hk_tags={"saltshaker-classify"}, hk_version=hk_version
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Did we consider adding this tag to the RAREDISEASE_CASE_TAGS? I do find the old pattern very confusing but I wonder if it will not be confusing as well to have the HK fetching done in a new way here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't find the old pattern useful. Although it is nice to have the tags listed centrally in one place, the use of that dictionary is confusing, and it entangles many parts of the code. I suspect its use was intended for something else

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am not certain that the intent was anything but collecting all the tags in the same place (which I think might be nice preserving), but if you do not find it useful, feel free to do it like this.

@islean islean left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should do the trick! 🔥

@sonarqubecloud

Copy link
Copy Markdown

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.

Add saltshaker report to scout Upload saltshaker outputs from raredisease to scout

2 participants