Skip to content

Check that magnet polarity matches job names and return warning if only one...

Aidan Richard Wiederhold requested to merge aiwieder/polarity_checks into master

This should resolve #6 (closed) (will need changes elsewhere to add the proper functionality, but this at least incorporates the check into the YAML validation and returns a list of warnings about each missing polarity for LbAPLocal and LbAnalysisProductions to interpret).

Check that magnet polarity matches job names and return warning if only one polarity is used for a given bk_query. Currently the warnings are returned but nothing is done with them so I'll look into implementing a use for them, i.e. printing them in the CI/local console.

  • Add lbapcommon functionality to detect mismatched/missing polarities.
  • Add unit tests to ensure this functionality remains with future changes.
Edited by Aidan Richard Wiederhold

Merge request reports