[autogardener] Temporarily pause report generation This is turning out to be pretty expensive, I don't currently have a way to display it, and I already have some ideas to reorganize it for efficiency. Bug: b/491418947 Change-Id: Ide49b3eb99d52dca10aed60d95555ce2484b59f0 Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/1303576 Auto-Submit: Eric Boren <borenet@google.com> Commit-Queue: Kaylee Lubick <kjlubick@google.com> Reviewed-by: Kaylee Lubick <kjlubick@google.com>
diff --git a/autogardener/go/autogardener/BUILD.bazel b/autogardener/go/autogardener/BUILD.bazel index 2056d9f..65d498a 100644 --- a/autogardener/go/autogardener/BUILD.bazel +++ b/autogardener/go/autogardener/BUILD.bazel
@@ -11,7 +11,6 @@ "//autogardener/go/ingester", "//go/common", "//go/firestore", - "//go/git", "//go/gitstore/bt_gitstore", "//go/httputils", "//go/human",
diff --git a/autogardener/go/autogardener/main.go b/autogardener/go/autogardener/main.go index c87f84f..5a719b3 100644 --- a/autogardener/go/autogardener/main.go +++ b/autogardener/go/autogardener/main.go
@@ -11,7 +11,6 @@ "go.skia.org/infra/autogardener/go/ingester" "go.skia.org/infra/go/common" "go.skia.org/infra/go/firestore" - "go.skia.org/infra/go/git" "go.skia.org/infra/go/gitstore/bt_gitstore" "go.skia.org/infra/go/httputils" "go.skia.org/infra/go/human" @@ -67,10 +66,10 @@ } // Parse the report interval. - generateReportInterval, err := human.ParseDuration(*reportInterval) - if err != nil { - sklog.Fatal(err) - } + // generateReportInterval, err := human.ParseDuration(*reportInterval) + // if err != nil { + // sklog.Fatal(err) + // } ctx := context.Background() @@ -140,7 +139,7 @@ sklog.Infof("Setup complete. Starting loop.") for _, repoURL := range *repoURLs { ing.StartIngestingTaskSummariesForRepo(ctx, repoURL, period) - ing.StartGeneratingReportsForRepo(ctx, repoURL, git.MainBranch, *numCommits, generateReportInterval) + //ing.StartGeneratingReportsForRepo(ctx, repoURL, git.MainBranch, *numCommits, generateReportInterval) } httputils.RunHealthCheckServer(*port) }