Skip to content

NEOS-1690: Exposes FE to license checks, puts object storage behind license #1698

NEOS-1690: Exposes FE to license checks, puts object storage behind license

NEOS-1690: Exposes FE to license checks, puts object storage behind license #1698

Triggered via pull request December 19, 2024 22:49
Status Failure
Total duration 10m 47s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 5 warnings
golang-lint: backend/internal/userdata/client.go#L37
importShadow: shadow of imported from 'github.com/nucleuscloud/neosync/internal/ee/license' package 'license' (gocritic)
golang-lint
issues found
vet
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Users (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient) as mgmtv1alpha1connect.UserAccountServiceClient value in argument to tcneosyncapi.CreatePersonalAccount: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient does not implement mgmtv1alpha1connect.UserAccountServiceClient (missing method AcceptTeamAccountInvite)
vet
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Users (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient) as mgmtv1alpha1connect.UserAccountServiceClient value in argument to tcneosyncapi.CreatePersonalAccount: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient does not implement mgmtv1alpha1connect.UserAccountServiceClient (missing method AcceptTeamAccountInvite)
vet
Process completed with exit code 1.
Unit Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L30
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Users (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient) as mgmtv1alpha1connect.UserAccountServiceClient value in argument to tcneosyncapi.CreatePersonalAccount: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient does not implement mgmtv1alpha1connect.UserAccountServiceClient (missing method AcceptTeamAccountInvite)
Unit Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L31
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Connections (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient) as mgmtv1alpha1connect.ConnectionServiceClient value in argument to tcneosyncapi.CreatePostgresConnection: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient does not implement mgmtv1alpha1connect.ConnectionServiceClient (missing method CheckConnectionConfig)
Unit Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L32
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Connections (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient) as mgmtv1alpha1connect.ConnectionServiceClient value in argument to tcneosyncapi.CreatePostgresConnection: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient does not implement mgmtv1alpha1connect.ConnectionServiceClient (missing method CheckConnectionConfig)
Unit Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L34
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Connections (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient) as mgmtv1alpha1connect.ConnectionServiceClient value in argument to getConnections: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient does not implement mgmtv1alpha1connect.ConnectionServiceClient (missing method CheckConnectionConfig)
Unit Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L41
neosyncApi.OSSEEAuthdClients undefined (type *integrationtests_test.NeosyncApiTestClient has no field or method OSSEEAuthdClients)
Unit Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L42
neosyncApi.OSSEEAuthdClients undefined (type *integrationtests_test.NeosyncApiTestClient has no field or method OSSEEAuthdClients)
Unit Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L55
neosyncApi.NeosyncCloudClients undefined (type *integrationtests_test.NeosyncApiTestClient has no field or method NeosyncCloudClients)
Unit Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L56
neosyncApi.NeosyncCloudClients undefined (type *integrationtests_test.NeosyncApiTestClient has no field or method NeosyncCloudClients)
Unit Tests: cli/internal/cmds/neosync/sync/sync_integration_test.go#L45
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Users (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient) as mgmtv1alpha1connect.UserAccountServiceClient value in argument to tcneosyncapi.CreatePersonalAccount: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient does not implement mgmtv1alpha1connect.UserAccountServiceClient (missing method AcceptTeamAccountInvite)
Unit Tests: cli/internal/cmds/neosync/sync/sync_integration_test.go#L50
cannot use connclient (variable of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient) as mgmtv1alpha1connect.ConnectionServiceClient value in argument to tcneosyncapi.CreateS3Connection: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient does not implement mgmtv1alpha1connect.ConnectionServiceClient (missing method CheckConnectionConfig)
Integration Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L30
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Users (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient) as mgmtv1alpha1connect.UserAccountServiceClient value in argument to tcneosyncapi.CreatePersonalAccount: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient does not implement mgmtv1alpha1connect.UserAccountServiceClient (missing method AcceptTeamAccountInvite)
Integration Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L31
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Connections (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient) as mgmtv1alpha1connect.ConnectionServiceClient value in argument to tcneosyncapi.CreatePostgresConnection: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient does not implement mgmtv1alpha1connect.ConnectionServiceClient (missing method CheckConnectionConfig)
Integration Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L32
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Connections (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient) as mgmtv1alpha1connect.ConnectionServiceClient value in argument to tcneosyncapi.CreatePostgresConnection: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient does not implement mgmtv1alpha1connect.ConnectionServiceClient (missing method CheckConnectionConfig)
Integration Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L34
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Connections (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient) as mgmtv1alpha1connect.ConnectionServiceClient value in argument to getConnections: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient does not implement mgmtv1alpha1connect.ConnectionServiceClient (missing method CheckConnectionConfig)
Integration Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L41
neosyncApi.OSSEEAuthdClients undefined (type *integrationtests_test.NeosyncApiTestClient has no field or method OSSEEAuthdClients)
Integration Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L42
neosyncApi.OSSEEAuthdClients undefined (type *integrationtests_test.NeosyncApiTestClient has no field or method OSSEEAuthdClients)
Integration Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L55
neosyncApi.NeosyncCloudClients undefined (type *integrationtests_test.NeosyncApiTestClient has no field or method NeosyncCloudClients)
Integration Tests: cli/internal/cmds/neosync/connections/connections_integration_test.go#L56
neosyncApi.NeosyncCloudClients undefined (type *integrationtests_test.NeosyncApiTestClient has no field or method NeosyncCloudClients)
Integration Tests: cli/internal/cmds/neosync/sync/sync_integration_test.go#L45
cannot use neosyncApi.OSSUnauthenticatedLicensedClients.Users (value of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient) as mgmtv1alpha1connect.UserAccountServiceClient value in argument to tcneosyncapi.CreatePersonalAccount: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.UserAccountServiceClient does not implement mgmtv1alpha1connect.UserAccountServiceClient (missing method AcceptTeamAccountInvite)
Integration Tests: cli/internal/cmds/neosync/sync/sync_integration_test.go#L50
cannot use connclient (variable of type func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient) as mgmtv1alpha1connect.ConnectionServiceClient value in argument to tcneosyncapi.CreateS3Connection: func(opts ...integrationtests_test.ClientConfigOption) mgmtv1alpha1connect.ConnectionServiceClient does not implement mgmtv1alpha1connect.ConnectionServiceClient (missing method CheckConnectionConfig)
go-mod-tidy-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golang-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
vet
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636