feat: add external plugin to build engine #8133
Annotations
9 errors and 5 warnings
golangci-lint:
internal/buildengine/languageplugin/external_plugin.go#L246
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
golangci-lint:
internal/buildengine/languageplugin/external_plugin.go#L80
error returned from interface method should be wrapped: sig: func (github.com/TBD54566975/ftl/internal/buildengine/languageplugin.externalPluginClient).kill() error (wrapcheck)
|
golangci-lint:
internal/buildengine/languageplugin/external_plugin.go#L90
error returned from interface method should be wrapped: sig: func (github.com/TBD54566975/ftl/internal/buildengine/languageplugin.externalPluginClient).getCreateModuleFlags(ctx context.Context, req *connectrpc.com/connect.Request[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.GetCreateModuleFlagsRequest]) (*connectrpc.com/connect.Response[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.GetCreateModuleFlagsResponse], error) (wrapcheck)
|
golangci-lint:
internal/buildengine/languageplugin/external_plugin.go#L141
error returned from interface method should be wrapped: sig: func (github.com/TBD54566975/ftl/internal/buildengine/languageplugin.externalPluginClient).createModule(ctx context.Context, req *connectrpc.com/connect.Request[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.CreateModuleRequest]) (*connectrpc.com/connect.Response[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.CreateModuleResponse], error) (wrapcheck)
|
golangci-lint:
internal/buildengine/languageplugin/external_plugin.go#L149
error returned from interface method should be wrapped: sig: func (github.com/TBD54566975/ftl/internal/buildengine/languageplugin.externalPluginClient).moduleConfigDefaults(ctx context.Context, req *connectrpc.com/connect.Request[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.ModuleConfigDefaultsRequest]) (*connectrpc.com/connect.Response[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.ModuleConfigDefaultsResponse], error) (wrapcheck)
|
golangci-lint:
internal/buildengine/languageplugin/external_plugin.go#L169
error returned from interface method should be wrapped: sig: func (github.com/TBD54566975/ftl/internal/buildengine/languageplugin.externalPluginClient).getDependencies(ctx context.Context, req *connectrpc.com/connect.Request[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.DependenciesRequest]) (*connectrpc.com/connect.Response[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.DependenciesResponse], error) (wrapcheck)
|
golangci-lint:
internal/buildengine/languageplugin/external_plugin_client.go#L150
error returned from interface method should be wrapped: sig: func (github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language/languagepbconnect.LanguageServiceClient).Build(context.Context, *connectrpc.com/connect.Request[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.BuildRequest]) (*connectrpc.com/connect.ServerStreamForClient[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.BuildEvent], error) (wrapcheck)
|
golangci-lint:
internal/buildengine/languageplugin/external_plugin_client.go#L159
error returned from interface method should be wrapped: sig: func (github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language/languagepbconnect.LanguageServiceClient).Build(context.Context, *connectrpc.com/connect.Request[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.BuildRequest]) (*connectrpc.com/connect.ServerStreamForClient[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/language.BuildEvent], error) (wrapcheck)
|
golangci-lint
Process completed with exit code 1.
|
Build Cache
Failed to restore: Cache service responded with 429
|
Build Cache
Failed to restore: Cache service responded with 429
|
Build Cache
Failed to restore: Cache service responded with 429
|
Build Cache
Failed to restore: Cache service responded with 429
|
golangci-lint:
internal/buildengine/build.go#L20
error-naming: error var invalidateDependenciesError should have name of the form errFoo (revive)
|
Loading