From 2a82f548f25f7ddd47f5b7605530b3a103520cee Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Oct 2025 17:18:44 +0000 Subject: [PATCH 1/3] Initial plan From 04f09c561878b976001a83269893835b397a3695 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Oct 2025 17:25:10 +0000 Subject: [PATCH 2/3] Remove use_single_process=True to enable multi-process mining Co-authored-by: suhaibmujahid <4151357+suhaibmujahid@users.noreply.github.com> --- http_service/bugbug_http/boot.py | 2 +- http_service/bugbug_http/models.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/http_service/bugbug_http/boot.py b/http_service/bugbug_http/boot.py index 7c3d8b63e5..9a7c94f2c0 100644 --- a/http_service/bugbug_http/boot.py +++ b/http_service/bugbug_http/boot.py @@ -184,7 +184,7 @@ def retrieve_schedulable_tasks() -> None: logger.info("Updating commits DB...") try: commits = repository.download_commits( - REPO_DIR, revs=revs, use_single_process=True + REPO_DIR, revs=revs ) logger.info("Commits DB updated.") diff --git a/http_service/bugbug_http/models.py b/http_service/bugbug_http/models.py index 60cc836161..5f8ddd954f 100644 --- a/http_service/bugbug_http/models.py +++ b/http_service/bugbug_http/models.py @@ -266,7 +266,6 @@ def schedule_tests(branch: str, rev: str) -> str: revs=revs, branch=repo_branch, save=False, - use_single_process=True, include_no_bug=True, ) From ae21431167b1f5383516b39f0e96eeed3660dce0 Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Wed, 29 Oct 2025 14:17:54 -0400 Subject: [PATCH 3/3] Formatting --- http_service/bugbug_http/boot.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/http_service/bugbug_http/boot.py b/http_service/bugbug_http/boot.py index 9a7c94f2c0..823a9f2ac7 100644 --- a/http_service/bugbug_http/boot.py +++ b/http_service/bugbug_http/boot.py @@ -183,9 +183,7 @@ def retrieve_schedulable_tasks() -> None: logger.info("Updating commits DB...") try: - commits = repository.download_commits( - REPO_DIR, revs=revs - ) + commits = repository.download_commits(REPO_DIR, revs=revs) logger.info("Commits DB updated.") logger.info("Updating touched together DB...")