Sometimes, the normalizer dataize command works too long (link) and doesn't produce normalized programs in CI. No workflow report is produced because the normalizer report command assumes there were both an initial and the final PHI programs.
Suggested solution
CLI option
Add the --timeout option to the normalizer dataize command. The option argument is the maximum allowed running time in seconds after which certain timeout logic is executed.
Timeout logic
Print an error message to stderr.
Print the initial program to stdout / to a specified file.
Programs with no metrics changes will be visible in reports
Problem
Sometimes, the
normalizer dataize
command works too long (link) and doesn't produce normalized programs in CI. No workflow report is produced because thenormalizer report
command assumes there were both an initial and the final PHI programs.Suggested solution
CLI option
Add the
--timeout
option to thenormalizer dataize
command. The option argument is the maximum allowed running time in seconds after which certain timeout logic is executed.Timeout logic
stderr
.stdout
/ to a specified file.TODO
Consider external timeouts.