Skip to content

Adding Prometheus support #239

Adding Prometheus support

Adding Prometheus support #239

Triggered via pull request November 5, 2024 23:46
Status Failure
Total duration 2m 47s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

35 errors
Build (linux): api/savedata/update.go#L37
username declared and not used
Build (linux): api/savedata/update.go#L37
assignment mismatch: 1 variable but db.FetchUsernameFromUUID returns 2 values
Build (linux): api/savedata/update.go#L43
cannot use uuid (variable of type []byte) as string value in argument to ProcessSystemMetrics
Build (linux): api/savedata/update.go#L55
cannot use uuid (variable of type []byte) as string value in argument to ProcessSessionMetrics
Build (linux): api/savedata/update.go#L68
undefined: uuid
Build (linux): api/savedata/update.go#L90
undefined: formIndex
Build (linux): api/savedata/update.go#L91
invalid operation: cannot index save.Party[i] (variable of type defs.PokemonData)
Build (linux): api/savedata/update.go#L92
undefined: formIndex
Build (linux): api/savedata/update.go#L92
invalid operation: cannot index save.Party[i] (variable of type defs.PokemonData)
Build (linux): api/savedata/update.go#L94
undefined: key
Build (linux): api/savedata/update.go#L37
username declared and not used
Build (linux): api/savedata/update.go#L37
assignment mismatch: 1 variable but db.FetchUsernameFromUUID returns 2 values
Build (linux): api/savedata/update.go#L43
cannot use uuid (variable of type []byte) as string value in argument to ProcessSystemMetrics
Build (linux): api/savedata/update.go#L55
cannot use uuid (variable of type []byte) as string value in argument to ProcessSessionMetrics
Build (linux): api/savedata/update.go#L68
undefined: uuid
Build (linux): api/savedata/update.go#L90
undefined: formIndex
Build (linux): api/savedata/update.go#L91
invalid operation: cannot index save.Party[i] (variable of type defs.PokemonData)
Build (linux): api/savedata/update.go#L92
undefined: formIndex
Build (linux): api/savedata/update.go#L92
invalid operation: cannot index save.Party[i] (variable of type defs.PokemonData)
Build (linux): api/savedata/update.go#L94
undefined: key
Build (windows): db/db.go#L50
Error return value of `tx.Rollback` is not checked (errcheck)
Build (windows): api/daily/common.go#L93
SA9003: empty branch (staticcheck)
Build (windows)
too many errors"
Build (windows)
too many errors)"
Build (windows)
issues found
Build (windows): api/savedata/update.go#L37
username declared and not used
Build (windows): api/savedata/update.go#L37
assignment mismatch: 1 variable but db.FetchUsernameFromUUID returns 2 values
Build (windows): api/savedata/update.go#L43
cannot use uuid (variable of type []byte) as string value in argument to ProcessSystemMetrics
Build (windows): api/savedata/update.go#L55
cannot use uuid (variable of type []byte) as string value in argument to ProcessSessionMetrics
Build (windows): api/savedata/update.go#L68
undefined: uuid
Build (windows): api/savedata/update.go#L90
undefined: formIndex
Build (windows): api/savedata/update.go#L91
invalid operation: cannot index save.Party[i] (variable of type defs.PokemonData)
Build (windows): api/savedata/update.go#L92
undefined: formIndex
Build (windows): api/savedata/update.go#L92
invalid operation: cannot index save.Party[i] (variable of type defs.PokemonData)
Build (windows): api/savedata/update.go#L94
undefined: key