Skip to content

Merge branch 'main' of github.com:sarg3nt/gearbox #20

Merge branch 'main' of github.com:sarg3nt/gearbox

Merge branch 'main' of github.com:sarg3nt/gearbox #20

Triggered via push February 1, 2026 16:09
Status Failure
Total duration 2m 8s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
Lint: gearbox/internal/framework/database/alerts.go#L178
Error return value of `rows.Close` is not checked (errcheck)
Lint: gearbox/internal/framework/collector/websocket_manager.go#L278
func (*WebSocketManager).triggerMetricsRefresh is unused (unused)
Lint: gearbox/internal/framework/collector/websocket_manager.go#L261
func (*WebSocketManager).triggerStatsRefresh is unused (unused)
Lint: gearbox/internal/framework/agent/websocket.go#L157
Error return value of `w.conn.Close` is not checked (errcheck)
Lint: gearbox/internal/framework/agent/client.go#L172
S1009: should omit nil check; len() for nil maps is defined as zero (staticcheck)
Lint: gearbox/internal/framework/agent/client.go#L120
S1009: should omit nil check; len() for nil maps is defined as zero (staticcheck)
Lint: gearbox/cmd/server/main.go#L477
Error return value of `w.Write` is not checked (errcheck)
Lint: gearbox/cmd/server/main.go#L467
Error return value of `w.Write` is not checked (errcheck)
Lint: gearbox/cmd/server/main.go#L370
Error return value of `widgets.RegisterCoreWidgets` is not checked (errcheck)
Lint: gearbox/cmd/server/main.go#L81
Error return value of `db.Close` is not checked (errcheck)
Test
Process completed with exit code 1.
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gearbox/gearbox. Supported file pattern: go.sum
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/gearbox/gearbox. Supported file pattern: go.sum