Skip to content

Implement Sync Versioned Transition logic #9826

Implement Sync Versioned Transition logic

Implement Sync Versioned Transition logic #9826

Triggered via pull request September 23, 2024 21:33
Status Failure
Total duration 3m 54s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: service/history/api/respondworkflowtaskcompleted/api_test.go#L125
cannot use mockEngine (variable of type *shard.MockEngine) as shard.Engine value in argument to s.mockShard.SetEngineForTesting: *shard.MockEngine does not implement shard.Engine (missing method ReplicateMutableState) (typecheck)
lint: service/history/ndc/hsm_state_replicator_test.go#L101
cannot use mockEngine (variable of type *shard.MockEngine) as shard.Engine value in argument to s.mockShard.SetEngineForTesting: *shard.MockEngine does not implement shard.Engine (missing method ReplicateMutableState)
lint: service/history/ndc/workflow_state_replicator_test.go#L571
cannot use engine (variable of type *shard.MockEngine) as shard.Engine value in argument to s.mockShard.SetEngineForTesting: *shard.MockEngine does not implement shard.Engine (missing method ReplicateMutableState) (typecheck)
lint: service/history/replication/stream_sender_test.go#L106
cannot use s.historyEngine (variable of type *shard.MockEngine) as shard.Engine value in argument to NewStreamSender: *shard.MockEngine does not implement shard.Engine (missing method ReplicateMutableState)
lint: service/history/replication/task_processor_manager_test.go#L123
cannot use s.mockEngine (variable of type *shard.MockEngine) as shard.Engine value in argument to NewTaskProcessorManager: *shard.MockEngine does not implement shard.Engine (missing method ReplicateMutableState)
lint: service/history/replication/task_processor_test.go#L144
cannot use s.mockEngine (variable of type *shard.MockEngine) as shard.Engine value in argument to NewTaskProcessor: *shard.MockEngine does not implement shard.Engine (missing method ReplicateMutableState) (typecheck)
lint: service/history/replication/dlq_writer_test.go#L44
could not import go.temporal.io/server/service/history/replication (-: # go.temporal.io/server/service/history/replication [go.temporal.io/server/service/history/replication.test]
lint: service/history/replication/stream_sender_test.go#L106
cannot use s.historyEngine (variable of type *shard.MockEngine) as shard.Engine value in argument to NewStreamSender: *shard.MockEngine does not implement shard.Engine (missing method ReplicateMutableState)
lint: service/history/replication/task_processor_manager_test.go#L123
cannot use s.mockEngine (variable of type *shard.MockEngine) as shard.Engine value in argument to NewTaskProcessorManager: *shard.MockEngine does not implement shard.Engine (missing method ReplicateMutableState)
lint: service/history/replication/task_processor_test.go#L144
cannot use s.mockEngine (variable of type *shard.MockEngine) as shard.Engine value in argument to NewTaskProcessor: *shard.MockEngine does not implement shard.Engine (missing method ReplicateMutableState)) (typecheck)