Skip to content

fix: creation process exits if a log read error occurs #2711

fix: creation process exits if a log read error occurs

fix: creation process exits if a log read error occurs #2711

Triggered via pull request December 19, 2024 11:46
Status Failure
Total duration 2m 44s
Artifacts

lint_pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 7 warnings
lint
Cannot open: File exists
lint: pkg/api/controllers/log/websocket.go#L87
Error return value of `ws.WriteControl` is not checked (errcheck)
lint: pkg/api/controllers/log/websocket.go#L133
Error return value is not checked (errcheck)
lint: pkg/cmd/workspace/start.go#L303
Error return value of `apiclient_util.GetWorkspace` is not checked (errcheck)
lint: pkg/cmd/workspace/stop.go#L80
Error return value of `apiclient_util.GetWorkspace` is not checked (errcheck)
lint: pkg/cmd/workspace/stop.go#L142
Error return value of `apiclient_util.GetWorkspace` is not checked (errcheck)
lint: pkg/api/controllers/log/websocket.go#L22
const `maxReconnectAttempts` is unused (unused)
lint: pkg/api/controllers/log/websocket.go#L23
const `initialRetryDelay` is unused (unused)
lint: pkg/api/controllers/log/websocket.go#L24
const `maxRetryDelay` is unused (unused)
lint: pkg/api/controllers/log/websocket.go#L27
var `upgrader` is unused (unused)
fmt-and-swagger
Process completed with exit code 1.
cli-docs
Process completed with exit code 1.
Unit tests
`go test` returned nonzero exit code: 1
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
fmt-and-swagger
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
fmt-and-swagger
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
cli-docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cli-docs
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636