Add functionality to automatically mark a Process
class as an invalid cache source if it contains a non_db
port
#5835
Labels
Process
class as an invalid cache source if it contains a non_db
port
#5835
The
non_db
keyword allows to define anInputPort
in a process specification whose value will not be stored permanently in the database, but will just be available to the process itself during its lifetime. This probably means that reproducibility is violated and so instances of the process should not be valid cache sources. AProcess
class should automatically mark its nodes as invalid caches as soon as the spec contains anon_db
port. We might need an override that allows a user to disable this behavior if they are convinced that thenon_db
port does not affect reproducibility.Feature was requested by @giovannipizzi in a discussion during #5801
The text was updated successfully, but these errors were encountered: