From 6562e1b7f6bccb74fb7c6f3181107045b7b00439 Mon Sep 17 00:00:00 2001 From: svc-excavator-bot Date: Sat, 2 May 2026 04:30:47 +0000 Subject: [PATCH 1/2] Excavator: Manage go version --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index e149793d4..f0a3612d6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/palantir/bulldozer -go 1.25.0 +go 1.26.0 require ( github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500 From ac6e2cf5684df3603c6ffa61ddf6d7f956210af3 Mon Sep 17 00:00:00 2001 From: Andrew Svoboda Date: Sat, 2 May 2026 11:43:20 +0100 Subject: [PATCH 2/2] Fix type for string formatting --- bulldozer/signals.go | 2 +- server/handler/check_run.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bulldozer/signals.go b/bulldozer/signals.go index 51cc9ef4a..3c1ad0a73 100644 --- a/bulldozer/signals.go +++ b/bulldozer/signals.go @@ -344,7 +344,7 @@ func (signal MaxCommitsSignal) Matches(ctx context.Context, pullCtx pull.Context commits, _ := pullCtx.Commits(ctx) if len(commits) <= int(signal) { - return true, fmt.Sprintf("pull request has %q commits, which is less than or equal to the maximum of %q", len(commits), signal), nil + return true, fmt.Sprintf("pull request has %d commits, which is less than or equal to the maximum of %d", len(commits), signal), nil } return false, "", nil diff --git a/server/handler/check_run.go b/server/handler/check_run.go index 761fe7aed..57e8f749f 100644 --- a/server/handler/check_run.go +++ b/server/handler/check_run.go @@ -80,7 +80,7 @@ func (h *CheckRun) Handle(ctx context.Context, eventType, deliveryID string, pay // need to process the pull request. fullPR, _, err := client.PullRequests.Get(ctx, repo.GetOwner().GetLogin(), repo.GetName(), pr.GetNumber()) if err != nil { - return errors.Wrapf(err, "failed to fetch PR number %q for CheckRun", pr.GetNumber()) + return errors.Wrapf(err, "failed to fetch PR number %d for CheckRun", pr.GetNumber()) } pullCtx := pull.NewGithubContext(client, fullPR)