You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having several `.*` in a regex with the `s` flag can involve a lot of
backtracking on a logfile, but in reality only one of the .* must be
line spanning.
Looking into the gru logs, this regex was timing out very often.
Removing the s flag and replacing the line spanning .* with
[\S\s]* will make it faster
if label_on_issue "$id"'(?s)([dD]ownload.*failed.*404).*Result: setup failure''label:non_existing asset, candidate for removal or wrong settings';thenreturn
94
+
if label_on_issue "$id"'([dD]ownload.*failed.*404)[\S\s]*Result: setup failure''label:non_existing asset, candidate for removal or wrong settings';thenreturn
95
95
elif label_on_issue "$id"'File .*\.yaml.* does not exist at .*scheduler.pm''label:missing_schedule_file';thenreturn
96
96
elif label_on_issue "$id"'Compilation failed in require at .*isotovideo line 28.''label:schedule_compilation_error';thenreturn
97
97
elif label_on_issue "$id"'qemu-img: Could not open .*: No such file or directory''label:missing_asset';thenreturn
0 commit comments