Skip to content

Commit dc9c3f6

Browse files
Excavator: Bump go dependency github.com/palantir/go-githubapp
1 parent 6170836 commit dc9c3f6

File tree

200 files changed

+76057
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+76057
-10
lines changed

excavator_fail/excavator_fail.go

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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:53:65: cannot use pr.GetBase().GetRepo() (value of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PreparePRContext
17+
server/handler/base.go:72:46: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to NewCrossOrgMembershipContext
18+
server/handler/base.go:73:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to pull.NewGitHubContext
19+
server/handler/base.go:82:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to b.ConfigFetcher.ConfigForRepositoryBranch
20+
server/handler/base.go:85:13: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in struct literal
21+
server/handler/check_run.go:49:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".CheckRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".CheckRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
22+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
23+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
24+
server/handler/check_run.go:51:67: cannot use repo (variable of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PrepareRepoContext
25+
server/handler/cross_org.go:66:51: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to pull.NewGitHubMembershipContext
26+
server/handler/details.go:144:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to checkUserPermissions
27+
server/handler/details.go:164:58: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in argument to h.PreparePRContext
28+
server/handler/details.go:169:11: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal
29+
server/handler/details.go:180:16: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal
30+
server/handler/fetcher.go:47:39: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v79/github".Client value in argument to cf.Loader.LoadConfig
31+
server/handler/installation.go:53:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".InstallationEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".InstallationEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
32+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
33+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
34+
server/handler/installation.go:63:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".InstallationRepositoriesEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".InstallationRepositoriesEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
35+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
36+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
37+
server/handler/installation.go:74:38: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to h.postRepoInstallationStatus
38+
server/handler/issue_comment.go:48:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".IssueCommentEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".IssueCommentEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
39+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
40+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
41+
server/handler/issue_comment.go:65:57: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in argument to h.PreparePRContext
42+
server/handler/issue_comment.go:71:11: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal
43+
server/handler/merge_group.go:49:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".MergeGroupEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".MergeGroupEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
44+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
45+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
46+
server/handler/merge_group.go:63:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to h.ConfigFetcher.ConfigForRepositoryBranch
47+
server/handler/merge_group.go:77:28: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to PostStatus
48+
server/handler/merge_group.go:83:29: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to PostStatus
49+
server/handler/pull_request.go:42:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".PullRequestEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".PullRequestEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
50+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
51+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
52+
server/handler/pull_request_review.go:52:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".PullRequestReviewEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".PullRequestReviewEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
53+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
54+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
55+
server/handler/simulate.go:82:52: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in argument to h.PreparePRContext
56+
server/handler/simulate.go:92:11: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal
57+
server/handler/simulate.go:152:46: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to NewCrossOrgMembershipContext
58+
server/handler/simulate.go:153:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to pull.NewGitHubContext
59+
server/handler/simulate.go:162:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to h.ConfigFetcher.ConfigForRepositoryBranch
60+
server/handler/status.go:61:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
61+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
62+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
63+
server/handler/status.go:68:67: cannot use repo (variable of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PrepareRepoContext
64+
server/handler/status.go:99:84: cannot use status (variable of type *"github.com/google/go-github/v75/github".RepoStatus) as "github.com/google/go-github/v79/github".RepoStatus value in argument to client.Repositories.CreateStatus
65+
server/handler/status.go:108:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
66+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
67+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
68+
server/handler/status.go:115:67: cannot use repo (variable of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PrepareRepoContext
69+
server/handler/status.go:124:3: cannot use &github.ListOptions{…} (value of type *"github.com/google/go-github/v75/github".ListOptions) as *"github.com/google/go-github/v79/github".ListOptions value in argument to client.PullRequests.ListPullRequestsWithCommit
70+
server/handler/status.go:139:13: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal
71+
server/handler/workflow_run.go:51:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".WorkflowRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".WorkflowRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
72+
have GetInstallation() *"github.com/google/go-github/v75/github".Installation
73+
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
74+
server/handler/workflow_run.go:53:67: cannot use repo (variable of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PrepareRepoContext
75+
39 issues:
76+
* compiles: 39
77+
78+
*/

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
1414
github.com/hashicorp/golang-lru v1.0.2
1515
github.com/palantir/go-baseapp v0.6.0
16-
github.com/palantir/go-githubapp v0.38.2
16+
github.com/palantir/go-githubapp v0.39.0
1717
github.com/pkg/errors v0.9.1
1818
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9
1919
github.com/rs/zerolog v1.34.0
@@ -33,6 +33,7 @@ require (
3333
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3434
github.com/davecgh/go-spew v1.1.1 // indirect
3535
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
36+
github.com/google/go-github/v79 v79.0.0 // indirect
3637
github.com/inconshreveable/mousetrap v1.1.0 // indirect
3738
github.com/kr/text v0.2.0 // indirect
3839
github.com/mattn/go-colorable v0.1.14 // indirect

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
3737
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
3838
github.com/google/go-github/v75 v75.0.0 h1:k7q8Bvg+W5KxRl9Tjq16a9XEgVY1pwuiG5sIL7435Ic=
3939
github.com/google/go-github/v75 v75.0.0/go.mod h1:H3LUJEA1TCrzuUqtdAQniBNwuKiQIqdGKgBo1/M/uqI=
40+
github.com/google/go-github/v79 v79.0.0 h1:MdodQojuFPBhmtwHiBcIGLw/e/wei2PvFX9ndxK0X4Y=
41+
github.com/google/go-github/v79 v79.0.0/go.mod h1:OAFbNhq7fQwohojb06iIIQAB9CBGYLq999myfUFnrS4=
4042
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
4143
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
4244
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=
@@ -67,8 +69,8 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
6769
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
6870
github.com/palantir/go-baseapp v0.6.0 h1:59UU9rgrd4x2QP/Hb0XqZJ5ZCH6m7BaaPnA+VWKWaTI=
6971
github.com/palantir/go-baseapp v0.6.0/go.mod h1:sa/waQhryV7OlPMykG0MUT+nsLtDxdHHPv5Q60hA/Ek=
70-
github.com/palantir/go-githubapp v0.38.2 h1:slLgNzasRzpV7kPJ+1Lw4hUtfMLEgzEeIdCROQQgwdE=
71-
github.com/palantir/go-githubapp v0.38.2/go.mod h1:aPDiEQZyG/U8IdY9sJt3KdmqKV00c6VjKw4NPzTSiV0=
72+
github.com/palantir/go-githubapp v0.39.0 h1:DrE7vIDpxrLix9OBgmFVbFqe9wZYB4JQNCJQTTiqmJc=
73+
github.com/palantir/go-githubapp v0.39.0/go.mod h1:ofS595cKQTrccHDbGO5b3D7fQexFn/y6Xug04Wpg0MY=
7274
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
7375
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
7476
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=

0 commit comments

Comments
 (0)