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
Added the ability for waiting for multiple code locations, e.g. when performing BOM scans esepcially without aggregating. Will wait for all code locations to complete, modified snippet scan wait criteria to only apply to relevant code locations
# We are snippet scanning, we need to check if we should be waiting for another scan. Only the case if one of them is FS or if one is SNIPPET. If one is BDIO then it will not have snippet.
# All scans for this code location are complete, remove from the list we are waiting on.
80
+
scan_locations.remove(scan_location)
81
+
else:
82
+
returnScanMonitor.FAILURE
83
+
84
+
iflen(scan_locations) ==0:
85
+
# All code locations are complete.
86
+
returnScanMonitor.SUCCESS
87
+
88
+
remaining_checks-=1
89
+
logging.info(f"Waiting for {len(scan_locations)} code locations. Sleeping for {self.check_delay} seconds before checking again. {remaining_checks} remaining")
0 commit comments