Skip to content

Add Image to text AI pipeline support #2039

Add Image to text AI pipeline support

Add Image to text AI pipeline support #2039

Triggered via pull request October 22, 2024 12:19
Status Failure
Total duration 10m 28s
Artifacts

test.yaml

on: pull_request
Run tests defined for the project
10m 20s
Run tests defined for the project
Perform CodeQL analysis
4m 11s
Perform CodeQL analysis
Run editorconfig checker
6s
Run editorconfig checker
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Run tests defined for the project: core/ai_test.go#L476
cannot use &wkr (value of type *stubAIWorker) as AI value in assignment: *stubAIWorker does not implement AI (missing method ImageToText)
Run tests defined for the project: server/ai_http_test.go#L32
cannot use newStubOrchestrator() (value of type *stubOrchestrator) as Orchestrator value in assignment: *stubOrchestrator does not implement Orchestrator (wrong type for method ImageToText)
Run tests defined for the project: server/ai_http_test.go#L49
cannot use newStubOrchestrator() (value of type *stubOrchestrator) as Orchestrator value in assignment: *stubOrchestrator does not implement Orchestrator (wrong type for method ImageToText)
Run tests defined for the project: server/ai_http_test.go#L67
cannot use newStubOrchestrator() (value of type *stubOrchestrator) as Orchestrator value in assignment: *stubOrchestrator does not implement Orchestrator (wrong type for method ImageToText)
Run tests defined for the project: server/ai_http_test.go#L101
cannot use &wkr (value of type *stubAIWorker) as "github.com/livepeer/go-livepeer/core".AI value in assignment: *stubAIWorker does not implement "github.com/livepeer/go-livepeer/core".AI (missing method ImageToText)
Run tests defined for the project: server/ai_worker_test.go#L52
cannot use &wkr (value of type *stubAIWorker) as "github.com/livepeer/go-livepeer/core".AI value in assignment: *stubAIWorker does not implement "github.com/livepeer/go-livepeer/core".AI (missing method ImageToText)
Run tests defined for the project: server/ai_worker_test.go#L235
cannot use &wkr (value of type *stubAIWorker) as "github.com/livepeer/go-livepeer/core".AI value in assignment: *stubAIWorker does not implement "github.com/livepeer/go-livepeer/core".AI (missing method ImageToText)
Run tests defined for the project: server/ot_rpc_test.go#L160
cannot use newStubOrchestrator() (value of type *stubOrchestrator) as Orchestrator value in assignment: *stubOrchestrator does not implement Orchestrator (wrong type for method ImageToText)
Run tests defined for the project: server/ot_rpc_test.go#L177
cannot use newStubOrchestrator() (value of type *stubOrchestrator) as Orchestrator value in assignment: *stubOrchestrator does not implement Orchestrator (wrong type for method ImageToText)
Run tests defined for the project: server/ot_rpc_test.go#L194
cannot use newStubOrchestrator() (value of type *stubOrchestrator) as Orchestrator value in assignment: *stubOrchestrator does not implement Orchestrator (wrong type for method ImageToText)
Run tests defined for the project: ai/file_worker.go#L20
parameter 'req' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: ai/file_worker.go#L20
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: ai/file_worker.go#L39
parameter 'req' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: ai/file_worker.go#L39
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: ai/file_worker.go#L58
parameter 'req' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: ai/file_worker.go#L58
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: ai/file_worker.go#L77
parameter 'req' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: ai/file_worker.go#L77
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: ai/file_worker.go#L96
parameter 'containerName' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: ai/file_worker.go#L96
parameter 'ctx' seems to be unused, consider removing or renaming it as _