Skip to content

Usage metrics implementation #2

Usage metrics implementation

Usage metrics implementation #2

Triggered via push September 10, 2025 14:26
Status Failure
Total duration 1m 28s
Artifacts

analysis.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Static-Check: utils/usage/visibility/commands_count_metric_test.go#L121
cannot use labels.IsContainer (variable of type string) as bool value in argument to assert.False
Static-Check: utils/usage/visibility/commands_count_metric_test.go#L119
cannot use labels.IsCI (variable of type string) as bool value in argument to assert.False
Static-Check: utils/usage/visibility/commands_count_metric_test.go#L117
labels.OS undefined (type *commandsCountLabels has no field or method OS)
Static-Check: utils/usage/visibility/commands_count_metric_test.go#L116
labels.FlagsUsed undefined (type *commandsCountLabels has no field or method FlagsUsed)
Static-Check: utils/usage/visibility/commands_count_metric_test.go#L96
cannot use labels.IsContainer (variable of type string) as bool value in argument to assert.False
Static-Check: utils/usage/visibility/commands_count_metric_test.go#L94
cannot use labels.IsCI (variable of type string) as bool value in argument to assert.True
Static-Check: utils/usage/visibility/commands_count_metric_test.go#L92
labels.OS undefined (type *commandsCountLabels has no field or method OS)
Static-Check: utils/usage/visibility/commands_count_metric_test.go#L91
labels.FlagsUsed undefined (type *commandsCountLabels has no field or method FlagsUsed)
Static-Check: common/commands/metrics_collector_test.go#L548
undefined: SanitizeFlags (typecheck)
Static-Check: common/commands/metrics_collector_test.go#L301
undefined: SanitizeFlags
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L212
labels.OS undefined (type *commandsCountLabels has no field or method OS)
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L211
labels.FlagsUsed undefined (type *commandsCountLabels has no field or method FlagsUsed)
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L121
cannot use labels.IsContainer (variable of type string) as bool value in argument to assert.False
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L119
cannot use labels.IsCI (variable of type string) as bool value in argument to assert.False
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L117
labels.OS undefined (type *commandsCountLabels has no field or method OS)
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L116
labels.FlagsUsed undefined (type *commandsCountLabels has no field or method FlagsUsed)
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L96
cannot use labels.IsContainer (variable of type string) as bool value in argument to assert.False
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L94
cannot use labels.IsCI (variable of type string) as bool value in argument to assert.True
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L92
labels.OS undefined (type *commandsCountLabels has no field or method OS)
Go-Sec: utils/usage/visibility/commands_count_metric_test.go#L91
labels.FlagsUsed undefined (type *commandsCountLabels has no field or method FlagsUsed)