Pull/merge latest changes from CrisisTextLine/modular upstream fork #229
modules-ci.yml
on: pull_request
detect-modules
4s
Matrix: lint-modules
Matrix: test-modules
Matrix: verify-modules
modules-summary
2s
Annotations
166 errors and 10 notices
|
Verify logmasker
Process completed with exit code 1.
|
|
Verify Result for logmasker
Verification failed
|
|
Verify logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test letsencrypt
Process completed with exit code 1.
|
|
Verify reverseproxy
Process completed with exit code 1.
|
|
Verify Result for reverseproxy
Verification failed
|
|
Verify reverseproxy
cannot use mockApp (variable of type *MockTenantApplication) as modular.Application value in argument to module.RegisterConfig: *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Verify letsencrypt
Process completed with exit code 1.
|
|
Verify eventlogger
Process completed with exit code 1.
|
|
Verify Result for eventlogger
Verification failed
|
|
Verify eventlogger
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify auth
Process completed with exit code 1.
|
|
Verify Result for auth
Verification failed
|
|
Verify auth
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify httpserver
Process completed with exit code 1.
|
|
Verify Result for httpserver
Verification failed
|
|
Verify httpserver
cannot use app (variable of type *SimpleMockApplication) as modular.Application value in argument to module.Init: *SimpleMockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify scheduler
Process completed with exit code 1.
|
|
Verify Result for scheduler
Verification failed
|
|
Verify scheduler
s.catchUpConfig undefined (type *Scheduler has no field or method catchUpConfig)
|
|
Lint eventlogger
issues found
|
|
Lint eventlogger:
modules/eventlogger/syslog_output_unix.go#L103
error returned from external package is unwrapped: sig: func (*log/syslog.Writer).Info(m string) error (wrapcheck)
|
|
Lint eventlogger:
modules/eventlogger/syslog_output_unix.go#L101
error returned from external package is unwrapped: sig: func (*log/syslog.Writer).Err(m string) error (wrapcheck)
|
|
Lint eventlogger:
modules/eventlogger/syslog_output_unix.go#L99
error returned from external package is unwrapped: sig: func (*log/syslog.Writer).Warning(m string) error (wrapcheck)
|
|
Lint eventlogger:
modules/eventlogger/syslog_output_unix.go#L97
error returned from external package is unwrapped: sig: func (*log/syslog.Writer).Info(m string) error (wrapcheck)
|
|
Lint eventlogger:
modules/eventlogger/syslog_output_unix.go#L95
error returned from external package is unwrapped: sig: func (*log/syslog.Writer).Debug(m string) error (wrapcheck)
|
|
Lint httpserver
issues found
|
|
Lint httpserver:
modules/httpserver/module.go#L703
SA9003: empty branch (staticcheck)
|
|
Lint httpserver:
modules/httpserver/module.go#L673
SA9003: empty branch (staticcheck)
|
|
Verify httpclient
Process completed with exit code 1.
|
|
Verify Result for httpclient
Verification failed
|
|
Verify httpclient
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Verify cache
Process completed with exit code 1.
|
|
Verify Result for cache
Verification failed
|
|
Verify cache
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.(*CacheModule).RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Lint scheduler
issues found
|
|
Lint scheduler
s.catchUpConfig undefined (type *Scheduler has no field or method catchUpConfig) (typecheck)
|
|
Lint scheduler
s.catchUpConfig undefined (type *Scheduler has no field or method catchUpConfig)
|
|
Lint scheduler
s.catchUpConfig undefined (type *Scheduler has no field or method catchUpConfig)
|
|
Verify database
Process completed with exit code 1.
|
|
Verify Result for database
Verification failed
|
|
Verify database
not enough arguments in call to module.initializeConnections
|
|
Test httpserver
cannot use mockApp (variable of type *MockApplication) as modular.Application value in assignment: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpserver
cannot use mockApp (variable of type *MockApplication) as modular.Application value in assignment: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpserver
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to constructor: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpserver
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to constructor: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpserver
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to constructor: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpserver
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpserver
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to configurable.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpserver
cannot use app (variable of type *SimpleMockApplication) as modular.Application value in argument to module.Init: *SimpleMockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpserver
cannot use app (variable of type *SimpleMockApplication) as modular.Application value in argument to module.Init: *SimpleMockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpserver
cannot use app (variable of type *SimpleMockApplication) as modular.Application value in argument to module.Init: *SimpleMockApplication does not implement modular.Application (missing method GetModules)
|
|
Test httpclient
Process completed with exit code 1.
|
|
Test Result for httpclient
Tests failed
|
|
Test httpclient
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Lint chimux
issues found
|
|
Lint chimux:
modules/chimux/module.go#L822
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"route %s %s already disabled\", method, pattern)" (err113)
|
|
Lint chimux:
modules/chimux/module.go#L813
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"route %s %s not found\", method, pattern)" (err113)
|
|
Lint chimux:
modules/chimux/module.go#L691
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"middleware %s already removed\", name)" (err113)
|
|
Lint chimux:
modules/chimux/module.go#L688
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"middleware %s not found\", name)" (err113)
|
|
Test reverseproxy
cannot use app (variable of type *MockTenantApplication) as modular.Application value in argument to module.Constructor(): *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test reverseproxy
cannot use app (variable of type *MockTenantApplication) as modular.Application value in argument to module.RegisterConfig: *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test reverseproxy
cannot use app (variable of type *MockTenantApplication) as modular.Application value in argument to NewFileBasedFeatureFlagEvaluator: *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test reverseproxy
cannot use app (variable of type *MockTenantApplication) as modular.Application value in argument to reverseProxyModule.Init: *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test reverseproxy
cannot use app (variable of type *MockTenantApplication) as modular.Application value in argument to module.Constructor(): *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test reverseproxy
cannot use mockApp (variable of type *MockTenantApplication) as modular.Application value in argument to NewFileBasedFeatureFlagEvaluator: *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test reverseproxy
cannot use mockApp (variable of type *MockTenantApplication) as modular.Application value in assignment: *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test reverseproxy
cannot use mockApp (variable of type *MockTenantApplication) as modular.Application value in assignment: *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test reverseproxy
cannot use mockApp (variable of type *MockTenantApplication) as modular.Application value in argument to module.Init: *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test reverseproxy
cannot use mockApp (variable of type *MockTenantApplication) as modular.Application value in argument to module.RegisterConfig: *MockTenantApplication does not implement modular.Application (missing method GetModules)
|
|
Test auth
Process completed with exit code 1.
|
|
Test Result for auth
Tests failed
|
|
Test auth
cannot use app (variable of type *MockApplication) as modular.Application value in argument to constructor: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test auth
cannot use app (variable of type *MockApplication) as modular.Application value in argument to constructor: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test auth
cannot use app (variable of type *MockApplication) as modular.Application value in argument to constructor: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test auth
cannot use app (variable of type *MockApplication) as modular.Application value in argument to constructor: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test auth
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test auth
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test auth
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test scheduler
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test scheduler
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.Init: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test scheduler
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test scheduler
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.(*SchedulerModule).Init: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test scheduler
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.(*SchedulerModule).RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test scheduler
scheduler.IsCatchUpEnabled undefined (type *Scheduler has no field or method IsCatchUpEnabled)
|
|
Test scheduler
scheduler.ApplyOption undefined (type *Scheduler has no field or method ApplyOption)
|
|
Test scheduler
s.catchUpConfig undefined (type *Scheduler has no field or method catchUpConfig)
|
|
Test scheduler
s.catchUpConfig undefined (type *Scheduler has no field or method catchUpConfig)
|
|
Test scheduler
s.catchUpConfig undefined (type *Scheduler has no field or method catchUpConfig)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test logmasker
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test chimux
cannot use mockApp (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test eventlogger
Process completed with exit code 1.
|
|
Test Result for eventlogger
Tests failed
|
|
Test eventlogger
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test eventlogger
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Lint reverseproxy:
modules/reverseproxy/module.go#L1431
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no backends configured\")" (err113)
|
|
Lint reverseproxy:
modules/reverseproxy/module.go#L1428
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"backend id required\")" (err113)
|
|
Lint reverseproxy:
modules/reverseproxy/module.go#L1401
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"backend %s already exists\", backendID)" (err113)
|
|
Lint reverseproxy:
modules/reverseproxy/module.go#L1395
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"backend id and service URL required\")" (err113)
|
|
Lint reverseproxy:
modules/reverseproxy/feature_flags.go#L345
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no evaluator provided decision for flag %s\", flagID)" (err113)
|
|
Lint reverseproxy:
modules/reverseproxy/feature_flags.go#L299
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no feature flag evaluators available for %s\", flagID)" (err113)
|
|
Lint reverseproxy:
modules/reverseproxy/module.go#L1789
Function `createBackendProxyHandler$1$2` should pass the context parameter (contextcheck)
|
|
Lint reverseproxy:
modules/reverseproxy/module.go#L1780
Function `createBackendProxyHandler$1$1` should pass the context parameter (contextcheck)
|
|
Lint reverseproxy:
modules/reverseproxy/module.go#L999
Function `selectBackendFromGroup` should pass the context parameter (contextcheck)
|
|
Lint reverseproxy:
modules/reverseproxy/module.go#L548
Function `setupFeatureFlagEvaluation->NewFileBasedFeatureFlagEvaluator` should pass the context parameter (contextcheck)
|
|
Test cache
Process completed with exit code 1.
|
|
Test Result for cache
Tests failed
|
|
Test cache
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.Init: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test cache
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test cache
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.Init: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test cache
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test cache
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.Init: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test cache
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test cache
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.(*CacheModule).Init: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test cache
cannot use app (variable of type *mockApp) as modular.Application value in argument to module.(*CacheModule).RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Verify eventbus
Process completed with exit code 1.
|
|
Verify Result for eventbus
Verification failed
|
|
Verify eventbus
mockLogger redeclared in this block
|
|
Test eventbus
cannot use app (variable of type *mockApp) as modular.Application value in argument to m.Init: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test eventbus
cannot use app (variable of type *mockApp) as modular.Application value in argument to m.RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test eventbus
cannot use app (variable of type *mockApp) as modular.Application value in argument to m.Init: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test eventbus
cannot use app (variable of type *mockApp) as modular.Application value in argument to m.RegisterConfig: *mockApp does not implement modular.Application (missing method GetModules)
|
|
Test eventbus
method mockLogger.Error already declared at ./health_test.go:19:22
|
|
Test eventbus
method mockLogger.Warn already declared at ./health_test.go:18:22
|
|
Test eventbus
method mockLogger.Info already declared at ./health_test.go:17:22
|
|
Test eventbus
method mockLogger.Debug already declared at ./health_test.go:16:22
|
|
Test eventbus
other declaration of mockLogger
|
|
Test eventbus
mockLogger redeclared in this block
|
|
Test database
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test database
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test database
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test database
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test database
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test database
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.Init: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test database
cannot use app (variable of type *MockApplication) as modular.Application value in argument to module.RegisterConfig: *MockApplication does not implement modular.Application (missing method GetModules)
|
|
Test database
not enough arguments in call to module.initializeConnections
|
|
Test database
not enough arguments in call to module.initializeConnections
|
|
Test database
not enough arguments in call to module.initializeConnections
|
|
Lint Result for httpclient
Linting passed
|
|
Lint Result for database
Linting passed
|
|
Verify Result for jsonschema
Verification passed
|
|
Lint Result for eventbus
Linting passed
|
|
Lint Result for jsonschema
Linting passed
|
|
Lint Result for logmasker
Linting passed
|
|
Lint Result for auth
Linting passed
|
|
Lint Result for cache
Linting passed
|
|
Test Result for jsonschema
Tests passed
|
|
Lint Result for letsencrypt
Linting passed
|