Skip to content

feat(source): source event #581

feat(source): source event

feat(source): source event #581

Triggered via pull request January 14, 2025 08:51
Status Failure
Total duration 6m 9s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: cmd/scheduler/main.go#L68
SA2000: should call wg.Add(1) before starting the goroutine to avoid a race (staticcheck)
build: cmd/scheduler/main.go#L73
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
build: scheduler/scheduler.go#L36
mnd: Magic number: 2, in <argument> detected (gomnd)
build: source/adapter/manager/writekey_validation.go#L26
return with no blank line before (nlreturn)
build: source/adapter/manager/writekey_validation.go#L33
return with no blank line before (nlreturn)
build: source/eventhandler/newsource.go#L47
return with no blank line before (nlreturn)
build: source/eventhandler/newsource.go#L92
return with no blank line before (nlreturn)
build: source/eventhandler/newsource.go#L100
switch on an error will fail on wrapped errors. Use errors.Is to check for specific errors (errorlint)
build: source/eventhandler/newsource.go#L106
return with no blank line before (nlreturn)
build: source/repository/redis/rediswritekey/writekey.go#L21
return with no blank line before (nlreturn)
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636