From 3a77189651e34fad18cb06b749e350f95cde205d Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 13 Nov 2026 11:36:19 -0600 Subject: [PATCH] Revert "Add `git gc` step to the end of every build (#790)" This reverts (most of) commit b082fae2bc9fc9cf5520572103ec68f77a3cf012. --- master/custom/steps.py | 12 ------------ master/master.cfg | 5 +---- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/master/custom/steps.py b/master/custom/steps.py index 14e79bcd..6918d53b 100644 --- a/master/custom/steps.py +++ b/master/custom/steps.py @@ -25,18 +25,6 @@ class GitHub(_GitHub): warnOnFailure = True -class GitGC(ShellCommand): - name = 'git-gc' - warnOnFailure = True - haltOnFailure = False - flunkOnFailure = False - alwaysRun = True - - description = ["cleaning git checkout"] - descriptionDone = ["git garbage collected"] - command = ["git", "gc"] - - class Test(BaseTest): # Regular expression used to catch warnings, errors and bugs warningPattern = ( diff --git a/master/master.cfg b/master/master.cfg index 1c58c754..358293ab 100644 --- a/master/master.cfg +++ b/master/master.cfg @@ -41,7 +41,7 @@ from custom.pr_testing import ( # noqa: E402 should_pr_be_tested, ) from custom.settings import Settings # noqa: E402 -from custom.steps import GitGC, GitHub # noqa: E402 +from custom.steps import GitHub # noqa: E402 from custom.workers import get_workers # noqa: E402 from custom.schedulers import GitHubPrScheduler # noqa: E402 from custom.release_dashboard import get_release_status_app # noqa: E402 @@ -226,9 +226,6 @@ for branch in BRANCHES: if branch not in f.branches: continue - # Stopgap space saver until blobless clones are fixed (buildbot 4.4+) - f.addStep(GitGC()) - tags = [branch.builder_tag, *builder_def.tags, *f.tags] if 'nogil' in tags and branch.gil_only: