From 596c34ee04b4bf983a4f0a46f79fb6f85cf82acc Mon Sep 17 00:00:00 2001 From: Kangyan-Zhou Date: Sun, 5 Apr 2026 10:39:19 -0700 Subject: [PATCH] =?UTF-8?q?Update=20ci=5Fauto=5Fbisect.py=20to=20have=20st?= =?UTF-8?q?reak=201=20so=20that=20all=20failures=20will=20b=E2=80=A6=20(#2?= =?UTF-8?q?2161)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Claude Opus 4.6 (1M context) --- scripts/ci_monitor/ci_auto_bisect.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/ci_monitor/ci_auto_bisect.py b/scripts/ci_monitor/ci_auto_bisect.py index 1bc1f3042..f4461ad23 100755 --- a/scripts/ci_monitor/ci_auto_bisect.py +++ b/scripts/ci_monitor/ci_auto_bisect.py @@ -274,7 +274,7 @@ def _find_last_running_test(logs: str) -> Optional[Dict]: def analyze_scheduled_failures( - token: str, min_streak: int = 2, max_failures: int = 10 + token: str, min_streak: int = 1, max_failures: int = 10 ) -> Tuple[List[FailureTarget], Dict[int, str]]: """ Fetch Nvidia scheduled runs, analyze job/test failure streaks, return targets. @@ -1072,7 +1072,7 @@ def run_bisection_analysis( github_token: str, api_key: str, max_failures: int = 10, - min_streak: int = 2, + min_streak: int = 1, output_file: Optional[str] = None, dry_run: bool = False, ) -> dict: @@ -1255,8 +1255,8 @@ def main(): parser.add_argument( "--min-streak", type=int, - default=2, - help="Minimum consecutive failure streak to trigger bisection (default: 2)", + default=1, + help="Minimum consecutive failure streak to trigger bisection (default: 1)", ) parser.add_argument( "--dry-run",