feat: extract Execution Worker #8121
Annotations
7 errors
Lint using golangci-lint:
pkg/agent/agent_test.go#L64
cannot use workflowNotificationsStreamFunc (variable of type func(ctx context.Context, executionID string) (chan testkube.TestWorkflowExecutionNotification, error)) as func(ctx context.Context, executionID string) (<-chan testkube.TestWorkflowExecutionNotification, error) value in argument to agent.NewAgent
|
Lint using golangci-lint:
pkg/agent/events_test.go#L60
cannot use workflowNotificationsStreamFunc (variable of type func(ctx context.Context, executionID string) (chan testkube.TestWorkflowExecutionNotification, error)) as func(ctx context.Context, executionID string) (<-chan testkube.TestWorkflowExecutionNotification, error) value in argument to agent.NewAgent
|
Lint using golangci-lint:
pkg/agent/logs_test.go#L71
cannot use workflowNotificationsStreamFunc (variable of type func(ctx context.Context, executionID string) (chan testkube.TestWorkflowExecutionNotification, error)) as func(ctx context.Context, executionID string) (<-chan testkube.TestWorkflowExecutionNotification, error) value in argument to agent.NewAgent (typecheck)
|
Lint using golangci-lint:
pkg/triggers/service_test.go#L178
cannot use mockTestWorkflowExecutor (variable of type *testworkflowexecutor.MockTestWorkflowExecutor) as executionworker.Worker value in argument to NewService: *testworkflowexecutor.MockTestWorkflowExecutor does not implement executionworker.Worker (missing method Destroy)
|
Lint using golangci-lint:
pkg/triggers/service_test.go#L179
cannot use mockTestWorkflowRepository (variable of type *testworkflow.MockRepository) as testworkflowexecutor.TestWorkflowExecutor value in argument to NewService: *testworkflow.MockRepository does not implement testworkflowexecutor.TestWorkflowExecutor (missing method Control)
|
Lint using golangci-lint:
pkg/triggers/service_test.go#L180
cannot use WithClusterID(testClusterID) (value of type Option) as testworkflow.Repository value in argument to NewService: Option does not implement testworkflow.Repository (missing method DeleteAll) (typecheck)
|
Lint using golangci-lint
issues found
|
Loading