Skip to content

[scanner] fix: resolve Go test failures in endpoint auth, Drasi proxy, and requireUser #3203

[scanner] fix: resolve Go test failures in endpoint auth, Drasi proxy, and requireUser

[scanner] fix: resolve Go test failures in endpoint auth, Drasi proxy, and requireUser #3203

Triggered via pull request June 13, 2026 12:03
Status Failure
Total duration 13m 25s
Artifacts 1

go-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
go test ./...
Process completed with exit code 1.
go test ./...: pkg/agent/server_ai_tokens.go#L42
cannot use todayOut (variable of type int) as int64 value in struct literal
go test ./...: pkg/agent/server_ai_tokens.go#L41
cannot use todayIn (variable of type int) as int64 value in struct literal
go test ./...: pkg/agent/server_ai_tokens.go#L38
cannot use sessionOut (variable of type int) as int64 value in struct literal
go test ./...: pkg/agent/server_ai_tokens.go#L37
cannot use sessionIn (variable of type int) as int64 value in struct literal
go test ./...: pkg/agent/server_ai_tokens.go#L29
cannot use s.tokens.GetUsage() (value of type int64) as int value in assignment

Artifacts

Produced during runtime
Name Size Digest
go-coverage-27466237294-1 Expired
118 KB
sha256:0b6061d93f6cab6ff85444f2e96028d4cc4cf1b129c417530d437ce181aaad2d