Skip to content

WS-2711 Force using PPR for restores in some cases

Daniel Nemergut requested to merge ws2711-restore_force_ppr into 2.8.5-DEVELOPMENT

This changes the logic in casa_envoy to not use the piperestore script if the calibration's major CASA version differs from the request's version (e.g. a cal made with CASA 5.1.1-5|40896 cannot use the piperestore in CASA 6.5.4.9|2023.1.0.124).

This could have been done as a workflow argument, but rather than adding that to the metadata.json and having casa_envoy find that, I thought it would be easier to just read the pipeline_manifest.xml used to create the calibration that exists in rawdata/ that is then copied to products/ (the same file we use to read the CASA version during cal ingest).

Still testing locally, but this is for 2.8.5.

Edited by Daniel Nemergut

Merge request reports

Loading