Skip to content

Commit 89422a1

Browse files
Excavator: Bump go dependency github.com/palantir/go-githubapp
1 parent 583ba65 commit 89422a1

10 files changed

Lines changed: 98 additions & 10 deletions

File tree

excavator_fail/excavator_fail.go

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
package fail
2+
3+
fail
4+
5+
/*
6+
This is a non-compiling file that has been added to explicitly ensure that CI fails.
7+
It also contains the command that caused the failure and its output.
8+
Remove this file if debugging locally.
9+
10+
go mod operation failed. This may mean that there are legitimate dependency issues with the "go.mod" definition in the repository and the updates performed by the gomod check. This branch can be cloned locally to debug the issue.
11+
12+
Command that caused error:
13+
./godelw lint compiles
14+
15+
Output:
16+
server/handler/base.go:77:81: cannot use tokenClient (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to bulldozer.NewGitHubMerger
17+
server/handler/check_run.go:46:57: cannot use &event (value of type *"github.com/google/go-github/v74/github".CheckRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v74/github".CheckRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
18+
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
19+
want GetInstallation() *"github.com/google/go-github/v75/github".Installation
20+
server/handler/check_run.go:48:67: cannot use repo (variable of type *"github.com/google/go-github/v74/github".Repository) as *"github.com/google/go-github/v75/github".Repository value in argument to githubapp.PrepareRepoContext
21+
server/handler/check_run.go:64:61: cannot use client.PullRequests (variable of type *"github.com/google/go-github/v75/github".PullRequestsService) as pull.GitHubPullRequestClient value in argument to pull.ListAllOpenPullRequestsFilteredBySHA: *"github.com/google/go-github/v75/github".PullRequestsService does not implement pull.GitHubPullRequestClient (wrong type for method List)
22+
have List(context.Context, string, string, *"github.com/google/go-github/v75/github".PullRequestListOptions) ([]*"github.com/google/go-github/v75/github".PullRequest, *"github.com/google/go-github/v75/github".Response, error)
23+
want List(context.Context, string, string, *"github.com/google/go-github/v74/github".PullRequestListOptions) ([]*"github.com/google/go-github/v74/github".PullRequest, *"github.com/google/go-github/v74/github".Response, error)
24+
server/handler/check_run.go:85:36: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
25+
server/handler/check_run.go:85:44: cannot use fullPR (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to pull.NewGithubContext
26+
server/handler/check_run.go:87:42: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
27+
server/handler/check_run.go:87:50: cannot use fullPR (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.FetchConfigForPR
28+
server/handler/check_run.go:96:78: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.UpdatePullRequest
29+
server/handler/check_run.go:104:48: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
30+
server/handler/check_run.go:104:64: cannot use fullPR (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.ProcessPullRequest
31+
server/handler/fetcher.go:50:38: cannot use client (variable of type *"github.com/google/go-github/v74/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to cf.loader.LoadConfig
32+
server/handler/issue_comment.go:45:57: cannot use &event (value of type *"github.com/google/go-github/v74/github".IssueCommentEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v74/github".IssueCommentEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
33+
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
34+
want GetInstallation() *"github.com/google/go-github/v75/github".Installation
35+
server/handler/issue_comment.go:46:65: cannot use repo (variable of type *"github.com/google/go-github/v74/github".Repository) as *"github.com/google/go-github/v75/github".Repository value in argument to githubapp.PreparePRContext
36+
server/handler/issue_comment.go:59:35: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
37+
server/handler/issue_comment.go:59:43: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to pull.NewGithubContext
38+
server/handler/issue_comment.go:61:41: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
39+
server/handler/issue_comment.go:61:49: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.FetchConfigForPR
40+
server/handler/issue_comment.go:65:47: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
41+
server/handler/issue_comment.go:65:63: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.ProcessPullRequest
42+
server/handler/pull_request.go:45:57: cannot use &event (value of type *"github.com/google/go-github/v74/github".PullRequestEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v74/github".PullRequestEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
43+
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
44+
want GetInstallation() *"github.com/google/go-github/v75/github".Installation
45+
server/handler/pull_request.go:46:65: cannot use repo (variable of type *"github.com/google/go-github/v74/github".Repository) as *"github.com/google/go-github/v75/github".Repository value in argument to githubapp.PreparePRContext
46+
server/handler/pull_request.go:64:35: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
47+
server/handler/pull_request.go:64:43: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to pull.NewGithubContext
48+
server/handler/pull_request.go:66:41: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
49+
server/handler/pull_request.go:66:49: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.FetchConfigForPR
50+
server/handler/pull_request.go:76:78: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.UpdatePullRequest
51+
server/handler/pull_request.go:76:94: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.UpdatePullRequest
52+
server/handler/pull_request.go:87:47: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
53+
server/handler/pull_request.go:87:63: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.ProcessPullRequest
54+
server/handler/pull_request_review.go:45:57: cannot use &event (value of type *"github.com/google/go-github/v74/github".PullRequestReviewEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v74/github".PullRequestReviewEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
55+
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
56+
want GetInstallation() *"github.com/google/go-github/v75/github".Installation
57+
server/handler/pull_request_review.go:46:65: cannot use repo (variable of type *"github.com/google/go-github/v74/github".Repository) as *"github.com/google/go-github/v75/github".Repository value in argument to githubapp.PreparePRContext
58+
server/handler/pull_request_review.go:59:35: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
59+
server/handler/pull_request_review.go:59:43: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to pull.NewGithubContext
60+
server/handler/pull_request_review.go:61:41: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
61+
server/handler/pull_request_review.go:61:49: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.FetchConfigForPR
62+
server/handler/pull_request_review.go:65:47: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
63+
server/handler/pull_request_review.go:65:63: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.ProcessPullRequest
64+
server/handler/push.go:44:57: cannot use &event (value of type *"github.com/google/go-github/v74/github".PushEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v74/github".PushEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
65+
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
66+
want GetInstallation() *"github.com/google/go-github/v75/github".Installation
67+
server/handler/push.go:55:67: cannot use ghRepo (variable of type *"github.com/google/go-github/v74/github".Repository) as *"github.com/google/go-github/v75/github".Repository value in argument to githubapp.PrepareRepoContext
68+
server/handler/push.go:69:53: cannot use client.PullRequests (variable of type *"github.com/google/go-github/v75/github".PullRequestsService) as pull.GitHubPullRequestClient value in argument to pull.GetAllOpenPullRequestsForRef: *"github.com/google/go-github/v75/github".PullRequestsService does not implement pull.GitHubPullRequestClient (wrong type for method List)
69+
have List(context.Context, string, string, *"github.com/google/go-github/v75/github".PullRequestListOptions) ([]*"github.com/google/go-github/v75/github".PullRequest, *"github.com/google/go-github/v75/github".Response, error)
70+
want List(context.Context, string, string, *"github.com/google/go-github/v74/github".PullRequestListOptions) ([]*"github.com/google/go-github/v74/github".PullRequest, *"github.com/google/go-github/v74/github".Response, error)
71+
server/handler/push.go:79:36: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfig
72+
server/handler/push.go:88:36: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
73+
server/handler/push.go:89:70: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.UpdatePullRequest
74+
server/handler/status.go:47:57: cannot use &event (value of type *"github.com/google/go-github/v74/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v74/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
75+
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
76+
want GetInstallation() *"github.com/google/go-github/v75/github".Installation
77+
server/handler/status.go:48:67: cannot use repo (variable of type *"github.com/google/go-github/v74/github".Repository) as *"github.com/google/go-github/v75/github".Repository value in argument to githubapp.PrepareRepoContext
78+
server/handler/status.go:62:61: cannot use client.PullRequests (variable of type *"github.com/google/go-github/v75/github".PullRequestsService) as pull.GitHubPullRequestClient value in argument to pull.GetAllPossibleOpenPullRequestsForSHA: *"github.com/google/go-github/v75/github".PullRequestsService does not implement pull.GitHubPullRequestClient (wrong type for method List)
79+
have List(context.Context, string, string, *"github.com/google/go-github/v75/github".PullRequestListOptions) ([]*"github.com/google/go-github/v75/github".PullRequest, *"github.com/google/go-github/v75/github".Response, error)
80+
want List(context.Context, string, string, *"github.com/google/go-github/v74/github".PullRequestListOptions) ([]*"github.com/google/go-github/v74/github".PullRequest, *"github.com/google/go-github/v74/github".Response, error)
81+
server/handler/status.go:73:36: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
82+
server/handler/status.go:75:42: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
83+
server/handler/status.go:84:78: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.UpdatePullRequest
84+
server/handler/status.go:92:68: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
85+
51 issues:
86+
* compiles: 51
87+
88+
*/

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/google/go-github/v74 v74.0.0
99
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
1010
github.com/palantir/go-baseapp v0.6.0
11-
github.com/palantir/go-githubapp v0.38.1
11+
github.com/palantir/go-githubapp v0.38.2
1212
github.com/pkg/errors v0.9.1
1313
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9
1414
github.com/rs/zerolog v1.34.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
5959
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
6060
github.com/palantir/go-baseapp v0.6.0 h1:59UU9rgrd4x2QP/Hb0XqZJ5ZCH6m7BaaPnA+VWKWaTI=
6161
github.com/palantir/go-baseapp v0.6.0/go.mod h1:sa/waQhryV7OlPMykG0MUT+nsLtDxdHHPv5Q60hA/Ek=
62-
github.com/palantir/go-githubapp v0.38.1 h1:Pkb3yVErM0G85piU2DbJ9c1jlKc32bUZ/LMQqFqY6qQ=
63-
github.com/palantir/go-githubapp v0.38.1/go.mod h1:5MYLd1/cAhKITPQUDbdZ/vR8SsM7uGgohLCixOEbnGU=
62+
github.com/palantir/go-githubapp v0.38.2 h1:slLgNzasRzpV7kPJ+1Lw4hUtfMLEgzEeIdCROQQgwdE=
63+
github.com/palantir/go-githubapp v0.38.2/go.mod h1:aPDiEQZyG/U8IdY9sJt3KdmqKV00c6VjKw4NPzTSiV0=
6464
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
6565
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
6666
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=

vendor/github.com/palantir/go-githubapp/appconfig/appconfig.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/caching_client_creator.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/client_creator.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/context.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/dispatcher.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/installations.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ github.com/palantir/go-baseapp/appmetrics/emitter/prometheus
6969
github.com/palantir/go-baseapp/baseapp
7070
github.com/palantir/go-baseapp/baseapp/datadog
7171
github.com/palantir/go-baseapp/pkg/errfmt
72-
# github.com/palantir/go-githubapp v0.38.1
72+
# github.com/palantir/go-githubapp v0.38.2
7373
## explicit; go 1.25.0
7474
github.com/palantir/go-githubapp/appconfig
7575
github.com/palantir/go-githubapp/githubapp

0 commit comments

Comments
 (0)