Project

General

Profile

Bug #4269

Updated by Peter Amstutz over 9 years ago

One of the unintended side effects of #3036 is that the Collection chooser dialog has been filling in collection record uuids instead of portable data hashes.    As a result, most jobs since then contain a uuid instead of a hash in the script_parameters field.    This works because arv-mount permits uuids in addition to hashes in --by-id mode (perhaps it shouldn't have).    This breaks reproducibility because collection records can be modified after the fact.    The science team has already experienced jobs being inappropriately reused due to this problem.    Recommend: 

 1) Add a migration that searches past jobs and replaces any instances of collection uuids with the appropriate portable data hash for the collection. 
 2) Add a job model validation that prevents uuids from showing up in script_parameters 

 This is blocked by #4015

Back