Skip to content

refactor(plugin): optimize plugin module code #394

refactor(plugin): optimize plugin module code

refactor(plugin): optimize plugin module code #394

Triggered via pull request September 23, 2025 12:38
@fanlvfanlv
synchronize #2247
fanlv
Status Failure
Total duration 8m 17s
Artifacts

ci@backend.yml

on: pull_request
backend-unit-test
8m 8s
backend-unit-test
benchmark-test
5m 37s
benchmark-test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
benchmark-test
Process completed with exit code 1.
benchmark-test: backend/api/handler/coze/workflow_service_test.go#L334
cannot use mockPluginSrv (variable of type *pluginmock.MockPluginService) as "github.com/coze-dev/coze-studio/backend/crossdomain/contract/plugin".PluginService value in argument to crossplugin.SetDefaultSVC: *pluginmock.MockPluginService does not implement "github.com/coze-dev/coze-studio/backend/crossdomain/contract/plugin".PluginService (missing method MGetDraftPlugins)
backend-unit-test
Process completed with exit code 1.
backend-unit-test: backend/api/handler/coze/workflow_service_test.go#L334
cannot use mockPluginSrv (variable of type *pluginmock.MockPluginService) as "github.com/coze-dev/coze-studio/backend/crossdomain/contract/plugin".PluginService value in argument to crossplugin.SetDefaultSVC: *pluginmock.MockPluginService does not implement "github.com/coze-dev/coze-studio/backend/crossdomain/contract/plugin".PluginService (missing method MGetDraftPlugins)
benchmark-test
Restore cache failed: Dependencies file is not found in /home/runner/work/coze-studio/coze-studio. Supported file pattern: go.sum
backend-unit-test
Restore cache failed: Dependencies file is not found in /home/runner/work/coze-studio/coze-studio. Supported file pattern: go.sum