feat: extract Execution Worker #8121
lint.yaml
on: pull_request
Lint OpenAPI
28s
Lint Go
2m 1s
Annotations
7 errors
Lint Go:
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 Go:
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 Go:
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 Go:
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 Go:
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 Go:
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 Go
issues found
|