Skip to content

Add alert lifecycle observer #29

Add alert lifecycle observer

Add alert lifecycle observer #29

Triggered via push May 25, 2024 01:54
Status Failure
Total duration 1m 12s
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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)