Skip to content

Add alert lifecycle observer #103

Add alert lifecycle observer

Add alert lifecycle observer #103

Triggered via push December 19, 2024 02:10
Status Failure
Total duration 3m 27s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
lint: api/v2/api_test.go#L19
File is not `goimports`-ed with -local github.com/prometheus/alertmanager (goimports)
lint: api/v2/api_test.go#L20
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: api/v2/api_test.go#L27
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: api/v2/api_test.go#L895
len: use require.Len (testifylint)
lint: dispatch/dispatch.go#L18
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: dispatch/dispatch.go#L20
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: dispatch/dispatch_test.go#L643
len: use require.Len (testifylint)
lint: dispatch/dispatch_test.go#L786
len: use require.Len (testifylint)
lint: dispatch/dispatch_test.go#L797
len: use require.Len (testifylint)
lint: notify/notify.go#L414
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: dispatch/dispatch_test.go#L791
var-naming: var groupId should be groupID (revive)
lint: dispatch/dispatch_test.go#L792
var-naming: var routeId should be routeID (revive)
lint: notify/notify.go#L124
var-naming: const keyGroupId should be keyGroupID (revive)
lint: notify/notify.go#L138
var-naming: func WithGroupId should be WithGroupID (revive)
lint: notify/notify.go#L199
var-naming: func GroupId should be GroupID (revive)