Skip to content

Re:Beginning

Re:Beginning #2868

Triggered via pull request December 17, 2024 11:13
Status Success
Total duration 1m 13s
Artifacts

codeql.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 1 warning
[golangci] backend/scoreserver/domain/team.go#L12: backend/scoreserver/domain/team.go#L12
the methods of "Team" use pointer receiver and non-pointer receiver. (recvcheck)
[golangci] backend/cmd/scoreserver/main.go#L30: backend/cmd/scoreserver/main.go#L30
Function 'start' is too long (62 > 60) (funlen)
[golangci] backend/cmd/scoreserver/otel.go#L120: backend/cmd/scoreserver/otel.go#L120
string `otlp` has 4 occurrences, make it a constant (goconst)
[golangci] backend/pkg/pgtest/pgtest.go#L86: backend/pkg/pgtest/pgtest.go#L86
pkg/pgtest/pgtest.go:86: Line contains TODO/BUG/FIXME: "TODO: startContainer を使って DB を起動し,tb.Cle..." (godox)
[golangci] backend/scoreserver/admin/team_test.go#L33: backend/scoreserver/admin/team_test.go#L33
`Comittee` is a misspelling of `Committee` (misspell)
[golangci] backend/scoreserver/admin/team_test.go#L36: backend/scoreserver/admin/team_test.go#L36
`Comittee` is a misspelling of `Committee` (misspell)
[golangci] backend/scoreserver/admin/team_test.go#L42: backend/scoreserver/admin/team_test.go#L42
`Comittee` is a misspelling of `Committee` (misspell)
[golangci] backend/cmd/scoreserver/main.go#L18: backend/cmd/scoreserver/main.go#L18
var `flagContestantHTTPAddr` is unused (unused)
[golangci] backend/cmd/scoreserver/main.go#L20: backend/cmd/scoreserver/main.go#L20
var `flagTelemetryAddr` is unused (unused)
[golangci] backend/scoreserver/admin/team_test.go#L79: backend/scoreserver/admin/team_test.go#L79
Function `setupTeamService->SetupDB` should pass the context parameter (contextcheck)
[golangci] backend/scoreserver/admin/team_test.go#L81: backend/scoreserver/admin/team_test.go#L81
Function `teamFixtures` should pass the context parameter (contextcheck)
[golangci] backend/scoreserver/admin/team_test.go#L125: backend/scoreserver/admin/team_test.go#L125
Function `setupTeamService->SetupDB` should pass the context parameter (contextcheck)
[golangci] backend/scoreserver/admin/team_test.go#L127: backend/scoreserver/admin/team_test.go#L127
Function `teamFixtures` should pass the context parameter (contextcheck)
[golangci] backend/scoreserver/admin/team_test.go#L171: backend/scoreserver/admin/team_test.go#L171
Function `setupTeamService->SetupDB` should pass the context parameter (contextcheck)
[golangci] backend/scoreserver/admin/team_test.go#L172: backend/scoreserver/admin/team_test.go#L172
Function `teamFixtures` should pass the context parameter (contextcheck)
[golangci] backend/scoreserver/admin/team_test.go#L31: backend/scoreserver/admin/team_test.go#L31
admin_test.<anonymous> is missing field wantCode (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L40: backend/scoreserver/admin/team_test.go#L40
admin_test.<anonymous> is missing field wants (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L46: backend/scoreserver/admin/team_test.go#L46
admin_test.<anonymous> is missing field wants (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L53: backend/scoreserver/admin/team_test.go#L53
admin_test.<anonymous> is missing field wants (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L91: backend/scoreserver/admin/team_test.go#L91
adminv1.CreateTeamResponse is missing field Team (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L108: backend/scoreserver/admin/team_test.go#L108
admin_test.<anonymous> is missing field wantCode (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L137: backend/scoreserver/admin/team_test.go#L137
adminv1.ListTeamsResponse is missing field Teams (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L154: backend/scoreserver/admin/team_test.go#L154
admin_test.<anonymous> is missing field wantCode (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L182: backend/scoreserver/admin/team_test.go#L182
adminv1.GetTeamResponse is missing field Team (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L200: backend/scoreserver/admin/team_test.go#L200
adminv1.UpdateTeamRequest is missing field UpdateMask (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L208: backend/scoreserver/admin/team_test.go#L208
adminv1.UpdateTeamRequest is missing field UpdateMask (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L209: backend/scoreserver/admin/team_test.go#L209
adminv1.Team is missing field Organization (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L214: backend/scoreserver/admin/team_test.go#L214
adminv1.UpdateTeamRequest is missing field UpdateMask (exhaustruct)
[golangci] backend/scoreserver/admin/team_test.go#L235: backend/scoreserver/admin/team_test.go#L235
adminv1.UpdateTeamResponse is missing field Team (exhaustruct)
Analyze (javascript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636