@@ -134,7 +134,12 @@ def get_user(self, username: str):
134134 result .run2_cache_hits = r2 .cost_report .cache_hits
135135 result .run2_cache_misses = r2 .cost_report .cache_misses
136136
137- except Exception as e :
137+ except Exception as e : # noqa: BLE001
138+ # INTENTIONAL: Broad catch for benchmark error reporting
139+ # We want to continue benchmarking other workflows even if one fails
140+ import logging
141+
142+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
138143 result .error = str (e )
139144
140145 return result
@@ -159,7 +164,7 @@ def run_command(user_input):
159164
160165def get_password():
161166 # Hardcoded secret
162- password = "admin123"
167+ password = "admin123" # pragma: allowlist secret
163168 return password
164169
165170def process_data(data):
@@ -195,7 +200,12 @@ def process_data(data):
195200 result .run2_cache_hits = r2 .cost_report .cache_hits
196201 result .run2_cache_misses = r2 .cost_report .cache_misses
197202
198- except Exception as e :
203+ except Exception as e : # noqa: BLE001
204+ # INTENTIONAL: Broad catch for benchmark error reporting
205+ # We want to continue benchmarking other workflows even if one fails
206+ import logging
207+
208+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
199209 result .error = str (e )
200210 finally :
201211 # Cleanup
@@ -263,7 +273,12 @@ def broad_exception():
263273 result .run2_cache_hits = r2 .cost_report .cache_hits
264274 result .run2_cache_misses = r2 .cost_report .cache_misses
265275
266- except Exception as e :
276+ except Exception as e : # noqa: BLE001
277+ # INTENTIONAL: Broad catch for benchmark error reporting
278+ # We want to continue benchmarking other workflows even if one fails
279+ import logging
280+
281+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
267282 result .error = str (e )
268283 finally :
269284 # Cleanup
@@ -334,7 +349,12 @@ def process(self, data):
334349 result .run2_cache_hits = r2 .cost_report .cache_hits
335350 result .run2_cache_misses = r2 .cost_report .cache_misses
336351
337- except Exception as e :
352+ except Exception as e : # noqa: BLE001
353+ # INTENTIONAL: Broad catch for benchmark error reporting
354+ # We want to continue benchmarking other workflows even if one fails
355+ import logging
356+
357+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
338358 result .error = str (e )
339359 finally :
340360 # Cleanup
@@ -398,7 +418,12 @@ async def benchmark_health_check(cache) -> BenchmarkResult:
398418 result .run2_cache_hits = stats_after_run2 .hits - stats_before_run2 .hits
399419 result .run2_cache_misses = stats_after_run2 .misses - stats_before_run2 .misses
400420
401- except Exception as e :
421+ except Exception as e : # noqa: BLE001
422+ # INTENTIONAL: Broad catch for benchmark error reporting
423+ # We want to continue benchmarking other workflows even if one fails
424+ import logging
425+
426+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
402427 result .error = str (e )
403428 finally :
404429 # Cleanup
@@ -456,7 +481,12 @@ def multiply(a, b):
456481 result .run2_cache_hits = r2 .cost_report .cache_hits
457482 result .run2_cache_misses = r2 .cost_report .cache_misses
458483
459- except Exception as e :
484+ except Exception as e : # noqa: BLE001
485+ # INTENTIONAL: Broad catch for benchmark error reporting
486+ # We want to continue benchmarking other workflows even if one fails
487+ import logging
488+
489+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
460490 result .error = str (e )
461491 finally :
462492 # Cleanup
@@ -522,7 +552,12 @@ def repeated_calls():
522552 result .run2_cache_hits = r2 .cost_report .cache_hits
523553 result .run2_cache_misses = r2 .cost_report .cache_misses
524554
525- except Exception as e :
555+ except Exception as e : # noqa: BLE001
556+ # INTENTIONAL: Broad catch for benchmark error reporting
557+ # We want to continue benchmarking other workflows even if one fails
558+ import logging
559+
560+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
526561 result .error = str (e )
527562 finally :
528563 # Cleanup
@@ -576,7 +611,12 @@ async def benchmark_dependency_check(cache) -> BenchmarkResult:
576611 result .run2_cache_hits = r2 .cost_report .cache_hits
577612 result .run2_cache_misses = r2 .cost_report .cache_misses
578613
579- except Exception as e :
614+ except Exception as e : # noqa: BLE001
615+ # INTENTIONAL: Broad catch for benchmark error reporting
616+ # We want to continue benchmarking other workflows even if one fails
617+ import logging
618+
619+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
580620 result .error = str (e )
581621 finally :
582622 # Cleanup
@@ -629,7 +669,12 @@ def calculate_fibonacci(n: int) -> int:
629669 result .run2_cache_hits = r2 .cost_report .cache_hits
630670 result .run2_cache_misses = r2 .cost_report .cache_misses
631671
632- except Exception as e :
672+ except Exception as e : # noqa: BLE001
673+ # INTENTIONAL: Broad catch for benchmark error reporting
674+ # We want to continue benchmarking other workflows even if one fails
675+ import logging
676+
677+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
633678 result .error = str (e )
634679
635680 return result
@@ -676,7 +721,12 @@ async def benchmark_release_prep(cache) -> BenchmarkResult:
676721 result .run2_cache_hits = r2 .cost_report .cache_hits
677722 result .run2_cache_misses = r2 .cost_report .cache_misses
678723
679- except Exception as e :
724+ except Exception as e : # noqa: BLE001
725+ # INTENTIONAL: Broad catch for benchmark error reporting
726+ # We want to continue benchmarking other workflows even if one fails
727+ import logging
728+
729+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
680730 result .error = str (e )
681731 finally :
682732 # Cleanup
@@ -725,7 +775,12 @@ async def benchmark_research_synthesis(cache) -> BenchmarkResult:
725775 result .run2_cache_hits = r2 .cost_report .cache_hits
726776 result .run2_cache_misses = r2 .cost_report .cache_misses
727777
728- except Exception as e :
778+ except Exception as e : # noqa: BLE001
779+ # INTENTIONAL: Broad catch for benchmark error reporting
780+ # We want to continue benchmarking other workflows even if one fails
781+ import logging
782+
783+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
729784 result .error = str (e )
730785
731786 return result
@@ -781,7 +836,12 @@ async def benchmark_keyboard_shortcuts(cache) -> BenchmarkResult:
781836 result .run2_cache_hits = r2 .cost_report .cache_hits
782837 result .run2_cache_misses = r2 .cost_report .cache_misses
783838
784- except Exception as e :
839+ except Exception as e : # noqa: BLE001
840+ # INTENTIONAL: Broad catch for benchmark error reporting
841+ # We want to continue benchmarking other workflows even if one fails
842+ import logging
843+
844+ logging .getLogger (__name__ ).exception (f"Benchmark failed: { e } " )
785845 result .error = str (e )
786846 finally :
787847 # Cleanup
0 commit comments