Skip to content

feat(mocknvml): add mock libnvidia-ml.so implementation for GPU testing #128

feat(mocknvml): add mock libnvidia-ml.so implementation for GPU testing

feat(mocknvml): add mock libnvidia-ml.so implementation for GPU testing #128

Triggered via pull request January 20, 2026 11:48
Status Failure
Total duration 2m 7s
Artifacts

basic-checks.yaml

on: pull_request
variables  /  variables
5s
variables / variables
golang  /  check
1m 32s
golang / check
code-scanning  /  Analyze Go code with CodeQL
1m 56s
code-scanning / Analyze Go code with CodeQL
Fit to window
Zoom out
Zoom in

Annotations

7 errors
golang / check
issues found
golang / check: pkg/gpu/mocknvml/engine/device.go#L59
QF1008: could remove embedded field "Device" from selector (staticcheck)
golang / check: pkg/gpu/mocknvml/engine/device.go#L56
QF1008: could remove embedded field "Device" from selector (staticcheck)
golang / check: pkg/gpu/mocknvml/engine/device.go#L53
QF1008: could remove embedded field "Device" from selector (staticcheck)
golang / check: pkg/gpu/mocknvml/engine/handles.go#L113
unsafeptr: possible misuse of unsafe.Pointer (govet)
golang / check: pkg/gpu/mocknvml/engine/device.go#L522
Error return value of `fmt.Sscanf` is not checked (errcheck)
golang / check: pkg/gpu/mocknvml/engine/device.go#L121
Error return value of `fmt.Sscanf` is not checked (errcheck)