Skip to content

NEOS-1639: [MIGRATION] adds JobHook with Pre and Post Sync Timing Support to API #1481

NEOS-1639: [MIGRATION] adds JobHook with Pre and Post Sync Timing Support to API

NEOS-1639: [MIGRATION] adds JobHook with Pre and Post Sync Timing Support to API #1481

Triggered via pull request November 22, 2024 23:41
Status Failure
Total duration 8m 25s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors
vet
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
vet
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
vet
cannot use mockJobService (variable of type *mgmtv1alpha1connect.MockJobServiceHandler) as mgmtv1alpha1connect.JobServiceHandler value in argument to New: *mgmtv1alpha1connect.MockJobServiceHandler does not implement mgmtv1alpha1connect.JobServiceHandler (missing method GetActiveJobHooksByTiming)
vet
cannot use mockJobService (variable of type *mgmtv1alpha1connect.MockJobServiceHandler) as mgmtv1alpha1connect.JobServiceHandler value in argument to New: *mgmtv1alpha1connect.MockJobServiceHandler does not implement mgmtv1alpha1connect.JobServiceHandler (missing method GetActiveJobHooksByTiming)
vet
cannot use mockJobClient (variable of type *mgmtv1alpha1connect.MockJobServiceClient) as mgmtv1alpha1connect.JobServiceClient value in argument to newInitStatementBuilder: *mgmtv1alpha1connect.MockJobServiceClient does not implement mgmtv1alpha1connect.JobServiceClient (missing method GetActiveJobHooksByTiming)
vet
cannot use mgmtv1alpha1connect.NewMockJobServiceClient(t) (value of type *mgmtv1alpha1connect.MockJobServiceClient) as mgmtv1alpha1connect.JobServiceClient value in argument to New: *mgmtv1alpha1connect.MockJobServiceClient does not implement mgmtv1alpha1connect.JobServiceClient (missing method GetActiveJobHooksByTiming)
vet
cannot use mgmtv1alpha1connect.NewMockJobServiceClient(t) (value of type *mgmtv1alpha1connect.MockJobServiceClient) as mgmtv1alpha1connect.JobServiceClient value in argument to New: *mgmtv1alpha1connect.MockJobServiceClient does not implement mgmtv1alpha1connect.JobServiceClient (missing method GetActiveJobHooksByTiming)
vet
Process completed with exit code 1.
golang-lint: backend/internal/ee/hooks/jobs/service.go#L487
directive `//nolint:gosec // safe due to check above` is unused for linter "gosec" (nolintlint)
golang-lint
issues found
Unit Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L45
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Unit Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L69
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Unit Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L128
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Unit Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L147
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Unit Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L176
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Unit Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L192
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Unit Tests: backend/services/mgmt/v1alpha1/api-key-service/api-keys_test.go#L27
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Unit Tests: backend/services/mgmt/v1alpha1/api-key-service/api-keys_test.go#L81
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Unit Tests: backend/services/mgmt/v1alpha1/api-key-service/api-keys_test.go#L97
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Unit Tests: backend/services/mgmt/v1alpha1/api-key-service/api-keys_test.go#L128
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L45
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L69
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L128
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L147
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L176
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/internal/connect/interceptors/auth_logging/interceptor_test.go#L192
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/services/mgmt/v1alpha1/api-key-service/api-keys_test.go#L27
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/services/mgmt/v1alpha1/api-key-service/api-keys_test.go#L81
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/services/mgmt/v1alpha1/api-key-service/api-keys_test.go#L97
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)
Integration Tests: backend/services/mgmt/v1alpha1/api-key-service/api-keys_test.go#L128
cannot use mockQuerier (variable of type *db_queries.MockQuerier) as db_queries.Querier value in argument to neosyncdb.New: *db_queries.MockQuerier does not implement db_queries.Querier (missing method GetActiveJobHooks)