Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions excavator_fail/excavator_fail.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
package fail

fail

/*
This is a non-compiling file that has been added to explicitly ensure that CI fails.
It also contains the command that caused the failure and its output.
Remove this file if debugging locally.

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.

Command that caused error:
./godelw lint compiles

Output:
server/handler/base.go:77:81: cannot use tokenClient (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to bulldozer.NewGitHubMerger
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)
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
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/v79/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/check_run.go:64:61: cannot use client.PullRequests (variable of type *"github.com/google/go-github/v79/github".PullRequestsService) as pull.GitHubPullRequestClient value in argument to pull.ListAllOpenPullRequestsFilteredBySHA: *"github.com/google/go-github/v79/github".PullRequestsService does not implement pull.GitHubPullRequestClient (wrong type for method List)
have List(context.Context, string, string, *"github.com/google/go-github/v79/github".PullRequestListOptions) ([]*"github.com/google/go-github/v79/github".PullRequest, *"github.com/google/go-github/v79/github".Response, error)
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)
server/handler/check_run.go:85:36: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
server/handler/check_run.go:85:44: cannot use fullPR (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to pull.NewGithubContext
server/handler/check_run.go:87:42: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
server/handler/check_run.go:87:50: cannot use fullPR (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.FetchConfigForPR
server/handler/check_run.go:96:78: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.UpdatePullRequest
server/handler/check_run.go:104:48: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
server/handler/check_run.go:104:64: cannot use fullPR (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.ProcessPullRequest
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/v79/github".Client value in argument to cf.loader.LoadConfig
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)
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
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/v79/github".Repository value in argument to githubapp.PreparePRContext
server/handler/issue_comment.go:59:35: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
server/handler/issue_comment.go:59:43: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to pull.NewGithubContext
server/handler/issue_comment.go:61:41: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
server/handler/issue_comment.go:61:49: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.FetchConfigForPR
server/handler/issue_comment.go:65:47: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
server/handler/issue_comment.go:65:63: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.ProcessPullRequest
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)
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
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/v79/github".Repository value in argument to githubapp.PreparePRContext
server/handler/pull_request.go:64:35: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
server/handler/pull_request.go:64:43: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to pull.NewGithubContext
server/handler/pull_request.go:66:41: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
server/handler/pull_request.go:66:49: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.FetchConfigForPR
server/handler/pull_request.go:76:78: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.UpdatePullRequest
server/handler/pull_request.go:76:94: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.UpdatePullRequest
server/handler/pull_request.go:87:47: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
server/handler/pull_request.go:87:63: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.ProcessPullRequest
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)
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
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/v79/github".Repository value in argument to githubapp.PreparePRContext
server/handler/pull_request_review.go:59:35: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
server/handler/pull_request_review.go:59:43: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to pull.NewGithubContext
server/handler/pull_request_review.go:61:41: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
server/handler/pull_request_review.go:61:49: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.FetchConfigForPR
server/handler/pull_request_review.go:65:47: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
server/handler/pull_request_review.go:65:63: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.ProcessPullRequest
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)
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
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/v79/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/push.go:69:53: cannot use client.PullRequests (variable of type *"github.com/google/go-github/v79/github".PullRequestsService) as pull.GitHubPullRequestClient value in argument to pull.GetAllOpenPullRequestsForRef: *"github.com/google/go-github/v79/github".PullRequestsService does not implement pull.GitHubPullRequestClient (wrong type for method List)
have List(context.Context, string, string, *"github.com/google/go-github/v79/github".PullRequestListOptions) ([]*"github.com/google/go-github/v79/github".PullRequest, *"github.com/google/go-github/v79/github".Response, error)
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)
server/handler/push.go:79:36: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfig
server/handler/push.go:88:36: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
server/handler/push.go:89:70: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.UpdatePullRequest
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)
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
want GetInstallation() *"github.com/google/go-github/v79/github".Installation
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/v79/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/status.go:62:61: cannot use client.PullRequests (variable of type *"github.com/google/go-github/v79/github".PullRequestsService) as pull.GitHubPullRequestClient value in argument to pull.GetAllPossibleOpenPullRequestsForSHA: *"github.com/google/go-github/v79/github".PullRequestsService does not implement pull.GitHubPullRequestClient (wrong type for method List)
have List(context.Context, string, string, *"github.com/google/go-github/v79/github".PullRequestListOptions) ([]*"github.com/google/go-github/v79/github".PullRequest, *"github.com/google/go-github/v79/github".Response, error)
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)
server/handler/status.go:73:36: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGithubContext
server/handler/status.go:75:42: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.FetchConfigForPR
server/handler/status.go:84:78: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.UpdatePullRequest
server/handler/status.go:92:68: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to h.ProcessPullRequest
51 issues:
* compiles: 51

*/
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/google/go-github/v74 v74.0.0
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
github.com/palantir/go-baseapp v0.6.0
github.com/palantir/go-githubapp v0.38.1
github.com/palantir/go-githubapp v0.39.0
github.com/pkg/errors v0.9.1
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9
github.com/rs/zerolog v1.34.0
Expand All @@ -28,6 +28,7 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
github.com/google/go-github/v75 v75.0.0 // indirect
github.com/google/go-github/v79 v79.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ github.com/google/go-github/v74 v74.0.0 h1:yZcddTUn8DPbj11GxnMrNiAnXH14gNs559AsU
github.com/google/go-github/v74 v74.0.0/go.mod h1:ubn/YdyftV80VPSI26nSJvaEsTOnsjrxG3o9kJhcyak=
github.com/google/go-github/v75 v75.0.0 h1:k7q8Bvg+W5KxRl9Tjq16a9XEgVY1pwuiG5sIL7435Ic=
github.com/google/go-github/v75 v75.0.0/go.mod h1:H3LUJEA1TCrzuUqtdAQniBNwuKiQIqdGKgBo1/M/uqI=
github.com/google/go-github/v79 v79.0.0 h1:MdodQojuFPBhmtwHiBcIGLw/e/wei2PvFX9ndxK0X4Y=
github.com/google/go-github/v79 v79.0.0/go.mod h1:OAFbNhq7fQwohojb06iIIQAB9CBGYLq999myfUFnrS4=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=
Expand Down Expand Up @@ -59,8 +61,8 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/palantir/go-baseapp v0.6.0 h1:59UU9rgrd4x2QP/Hb0XqZJ5ZCH6m7BaaPnA+VWKWaTI=
github.com/palantir/go-baseapp v0.6.0/go.mod h1:sa/waQhryV7OlPMykG0MUT+nsLtDxdHHPv5Q60hA/Ek=
github.com/palantir/go-githubapp v0.38.1 h1:Pkb3yVErM0G85piU2DbJ9c1jlKc32bUZ/LMQqFqY6qQ=
github.com/palantir/go-githubapp v0.38.1/go.mod h1:5MYLd1/cAhKITPQUDbdZ/vR8SsM7uGgohLCixOEbnGU=
github.com/palantir/go-githubapp v0.39.0 h1:DrE7vIDpxrLix9OBgmFVbFqe9wZYB4JQNCJQTTiqmJc=
github.com/palantir/go-githubapp v0.39.0/go.mod h1:ofS595cKQTrccHDbGO5b3D7fQexFn/y6Xug04Wpg0MY=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
Expand Down
Loading
Loading