Skip to content

Implement Redis cache engine for cache module #56

Implement Redis cache engine for cache module

Implement Redis cache engine for cache module #56

Re-run triggered June 6, 2025 21:10
Status Failure
Total duration 1m 15s
Artifacts

modules-ci.yml

on: pull_request
detect-modules
3s
detect-modules
Matrix: lint-modules
Matrix: test-modules
Matrix: verify-modules
modules-summary
0s
modules-summary
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
Lint
golangci-lint exit with code 3
Test
Process completed with exit code 1.
Verify
Process completed with exit code 1.
Lint cache: modules/cache/redis.go#L60
do not compare errors directly "err == redis.Nil", use "errors.Is(err, redis.Nil)" instead (err113)
Lint cache: modules/cache/module_test.go#L517
Error return value of `s.Set` is not checked (errcheck)
Lint cache: modules/cache/module_test.go#L333
require-error: for error assertions use require (testifylint)
Lint cache: modules/cache/module_test.go#L364
require-error: for error assertions use require (testifylint)
Lint cache: modules/cache/module_test.go#L462
float-compare: use assert.InEpsilon (or InDelta) (testifylint)
Lint cache: modules/cache/module_test.go#L558
require-error: for error assertions use require (testifylint)
Lint cache: modules/cache/redis.go#L28
error returned from external package is unwrapped: sig: func github.com/redis/go-redis/v9.ParseURL(redisURL string) (*github.com/redis/go-redis/v9.Options, error) (wrapcheck)
Lint cache: modules/cache/redis.go#L41
error returned from external package is unwrapped: sig: func (*github.com/redis/go-redis/v9.baseCmd).Err() error (wrapcheck)
Lint cache: modules/cache/redis.go#L47
error returned from external package is unwrapped: sig: func (*github.com/redis/go-redis/v9.baseClient).Close() error (wrapcheck)
Lint cache: modules/cache/redis.go#L85
error returned from external package is unwrapped: sig: func (*github.com/redis/go-redis/v9.baseCmd).Err() error (wrapcheck)
Lint
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.