Skip to content

feat: error with request-id #75

feat: error with request-id

feat: error with request-id #75

Triggered via push January 6, 2025 07:35
Status Success
Total duration 5m 54s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
sonarcloud: client.go#L24
time-naming: var defaultRetryWaitMin is of type time.Duration; don't use unit-specific suffix "Min" (revive)
sonarcloud: client.go#L62
cognitive complexity 69 of func `New` is high (> 30) (gocognit)
sonarcloud: client.go#L97
`if o.BaseURL == ""` has complex nested blocks (complexity: 5) (nestif)
sonarcloud: client.go#L114
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"base url is required\")" (err113)
sonarcloud: client.go#L134
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
sonarcloud: client.go#L137
Magic number: 90, in <assign> detected (mnd)
sonarcloud: client.go#L156
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to cast transport to http.Transport\")" (err113)
sonarcloud: client.go#L176
Error return value is not checked (errcheck)
sonarcloud: client.go#L178
Error return value is not checked (errcheck)
sonarcloud: client.go#L182
`if o.InsecureSkipVerify` has complex nested blocks (complexity: 8) (nestif)
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.