Skip to content

Add Cache, Scheduler, and EventBus modules for enhanced application capabilities #32

Add Cache, Scheduler, and EventBus modules for enhanced application capabilities

Add Cache, Scheduler, and EventBus modules for enhanced application capabilities #32

Re-run triggered May 25, 2025 01:44
Status Failure
Total duration 3m 59s
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

30 errors and 7 warnings
Lint cache: modules/cache/memory.go#L35
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
Lint cache: modules/cache/module_test.go#L121
Error return value of `module.RegisterConfig` is not checked (errcheck)
Lint cache: modules/cache/module_test.go#L122
Error return value of `module.Init` is not checked (errcheck)
Lint cache: modules/cache/module_test.go#L179
Error return value of `module.RegisterConfig` is not checked (errcheck)
Lint cache: modules/cache/module_test.go#L190
Error return value of `module.Init` is not checked (errcheck)
Lint cache: modules/cache/module_test.go#L192
Error return value of `module.Start` is not checked (errcheck)
Lint cache: modules/cache/module_test.go#L209
Error return value of `module.Stop` is not checked (errcheck)
Lint cache: modules/cache/config.go#L24
File is not properly formatted (gofmt)
Lint cache: modules/cache/engine.go#L36
File is not properly formatted (gofmt)
Lint cache: modules/cache/errors.go#L23
File is not properly formatted (gofmt)
Lint eventbus: modules/eventbus/memory.go#L126
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"event bus shutdown timed out\")" (err113)
Lint eventbus: modules/eventbus/memory.go#L136
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"event bus not started\")" (err113)
Lint eventbus: modules/eventbus/memory.go#L198
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"event bus not started\")" (err113)
Lint eventbus: modules/eventbus/memory.go#L202
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"event handler cannot be nil\")" (err113)
Lint eventbus: modules/eventbus/memory.go#L234
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"event bus not started\")" (err113)
Lint eventbus: modules/eventbus/memory.go#L239
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid subscription type\")" (err113)
Lint eventbus: modules/eventbus/config.go#L27
File is not properly formatted (gofmt)
Lint eventbus: modules/eventbus/eventbus.go#L72
File is not properly formatted (gofmt)
Lint eventbus: modules/eventbus/memory.go#L29
File is not properly formatted (gofmt)
Lint eventbus: modules/eventbus/memory.go#L316
SA9003: empty branch (staticcheck)
Lint scheduler: modules/scheduler/scheduler.go#L154
Function `worker->executeJob` should pass the context parameter (contextcheck)
Lint scheduler: modules/scheduler/memory_store.go#L34
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"job with ID %s already exists\", job.ID)" (err113)
Lint scheduler: modules/scheduler/memory_store.go#L48
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"job with ID %s not found\", job.ID)" (err113)
Lint scheduler: modules/scheduler/memory_store.go#L62
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"job with ID %s not found\", jobID)" (err113)
Lint scheduler: modules/scheduler/memory_store.go#L122
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"job with ID %s not found\", jobID)" (err113)
Lint scheduler: modules/scheduler/memory_store.go#L149
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no executions found for job ID %s\", execution.JobID)" (err113)
Lint scheduler: modules/scheduler/memory_store.go#L161
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"execution with start time %v not found for job ID %s\", execution.StartTime, execution.JobID)" (err113)
Lint scheduler: modules/scheduler/scheduler.go#L205
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"scheduler shutdown timed out\")" (err113)
Lint scheduler: modules/scheduler/scheduler.go#L369
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"job must have either RunAt or Schedule specified\")" (err113)
Lint scheduler: modules/scheduler/scheduler.go#L375
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"recurring jobs must have a Schedule\")" (err113)
Lint chimux
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint database
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint cache
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
Lint eventbus
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
Lint jsonschema
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint reverseproxy
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint scheduler
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.