Skip to content

fix: 🐛invalid TypeDatetime 0000-00-00 00:00:00.000 #17

fix: 🐛invalid TypeDatetime 0000-00-00 00:00:00.000

fix: 🐛invalid TypeDatetime 0000-00-00 00:00:00.000 #17

Re-run triggered December 18, 2025 06:33
Status Failure
Total duration 49s
Artifacts –

reviewdog.yml

on: pull_request
runner / golangci-lint
44s
runner / golangci-lint
runner / staticcheck
38s
runner / staticcheck
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
runner / staticcheck: parser/format/format_test.go#L60
[staticcheck] reported by reviewdog 🐶 type testRestoreCtxSuite is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"type testRestoreCtxSuite is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/Gaea/Gaea/parser/format/format_test.go","range":{"start":{"line":60,"column":6},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck: log/xlog/util.go#L116
[staticcheck] reported by reviewdog 🐶 should use raw string (`...`) with regexp.Compile to avoid having to escape twice Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should use raw string (`...`) with regexp.Compile to avoid having to escape twice","code":{"value":"S1007","url":"https://staticcheck.io/docs/checks#S1007"},"location":{"path":"/home/runner/work/Gaea/Gaea/log/xlog/util.go","range":{"start":{"line":116,"column":13},"end":{"line":116,"column":37}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck: log/xlog/util.go#L114
[staticcheck] reported by reviewdog 🐶 cutset contains duplicate characters Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"cutset contains duplicate characters","code":{"value":"SA1024","url":"https://staticcheck.io/docs/checks#SA1024"},"location":{"path":"/home/runner/work/Gaea/Gaea/log/xlog/util.go","range":{"start":{"line":114,"column":50},"end":{"line":114,"column":70}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck: log/xlog/logger.go#L416
[staticcheck] reported by reviewdog 🐶 redundant return statement Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"redundant return statement","code":{"value":"S1023","url":"https://staticcheck.io/docs/checks#S1023"},"location":{"path":"/home/runner/work/Gaea/Gaea/log/xlog/logger.go","range":{"start":{"line":416,"column":2},"end":{"line":416,"column":8}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck: log/xlog/file.go#L94
[staticcheck] reported by reviewdog 🐶 unnecessary assignment to the blank identifier Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"unnecessary assignment to the blank identifier","code":{"value":"S1005","url":"https://staticcheck.io/docs/checks#S1005"},"location":{"path":"/home/runner/work/Gaea/Gaea/log/xlog/file.go","range":{"start":{"line":94,"column":2},"end":{"line":94,"column":27}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck: log/xlog/file.go#L82
[staticcheck] reported by reviewdog 🐶 unnecessary assignment to the blank identifier Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"unnecessary assignment to the blank identifier","code":{"value":"S1005","url":"https://staticcheck.io/docs/checks#S1005"},"location":{"path":"/home/runner/work/Gaea/Gaea/log/xlog/file.go","range":{"start":{"line":82,"column":2},"end":{"line":82,"column":33}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck: log/xlog/console.go#L82
[staticcheck] reported by reviewdog 🐶 unnecessary assignment to the blank identifier Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"unnecessary assignment to the blank identifier","code":{"value":"S1005","url":"https://staticcheck.io/docs/checks#S1005"},"location":{"path":"/home/runner/work/Gaea/Gaea/log/xlog/console.go","range":{"start":{"line":82,"column":2},"end":{"line":82,"column":27}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck: log/xlog/console.go#L77
[staticcheck] reported by reviewdog 🐶 unnecessary assignment to the blank identifier Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"unnecessary assignment to the blank identifier","code":{"value":"S1005","url":"https://staticcheck.io/docs/checks#S1005"},"location":{"path":"/home/runner/work/Gaea/Gaea/log/xlog/console.go","range":{"start":{"line":77,"column":2},"end":{"line":77,"column":33}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck
[staticcheck] reported by reviewdog 🐶 /home/runner/work/Gaea/Gaea/mysql/encoding.go:554:7: undefined: strings Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"/home/runner/work/Gaea/Gaea/mysql/encoding.go:554:7: undefined: strings","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck
undefined: strings","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
runner / golangci-lint: mysql/encoding.go#L554
[golangci] reported by reviewdog 🐶 undefined: strings (typecheck) Raw Output: mysql/encoding.go:554:7: undefined: strings (typecheck) if strings.HasPrefix(v, "0000-00-00 00:00:00"){ ^
runner / staticcheck
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
runner / golangci-lint
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.