Skip to content

Add lifecycle interface for connectors #860

Add lifecycle interface for connectors

Add lifecycle interface for connectors #860

Triggered via pull request January 3, 2025 13:22
Status Failure
Total duration 1m 26s
Artifacts

ci.yaml

on: pull_request
go-lint
1m 13s
go-lint
buf-lint-and-breaking-change-detection
20s
buf-lint-and-breaking-change-detection
Matrix: go-test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 7 warnings
go-test (1.22.x, ubuntu-latest): pkg/sync/syncer_test.go#L75
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-test (1.22.x, ubuntu-latest): pkg/sync/syncer_test.go#L116
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-test (1.22.x, ubuntu-latest): pkg/sync/syncer_test.go#L222
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-test (1.22.x, ubuntu-latest): pkg/sync/syncer_test.go#L349
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-test (1.22.x, ubuntu-latest): pkg/sync/syncer_test.go#L385
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-test (1.22.x, ubuntu-latest): pkg/sync/syncer_test.go#L423
undefined: v2.ConnectorLifeCycleClient
go-test (1.22.x, ubuntu-latest)
Process completed with exit code 1.
go-lint: pkg/sync/syncer_test.go#L75
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-lint: pkg/sync/syncer_test.go#L116
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-lint: pkg/sync/syncer_test.go#L222
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-lint: pkg/sync/syncer_test.go#L349
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-lint: pkg/sync/syncer_test.go#L385
cannot use mc (variable of type *mockConnector) as "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient value in argument to NewSyncer: *mockConnector does not implement "github.com/conductorone/baton-sdk/pkg/types".ConnectorClient (missing method OnEnd)
go-lint: pkg/sync/syncer_test.go#L423
undefined: v2.ConnectorLifeCycleClient (typecheck)
go-lint
issues found
go-test (1.22.x, windows-latest)
The job was canceled because "_1_22_x_ubuntu-latest" failed.
go-test (1.22.x, windows-latest)
The operation was canceled.
buf-lint-and-breaking-change-detection
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
buf-lint-and-breaking-change-detection
Unexpected input(s) 'github_token', valid inputs are ['input', 'against', 'buf_input_https_username', 'buf_input_https_password', 'buf_token']
go-test (1.22.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go-test (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-sdk/baton-sdk. Supported file pattern: go.sum
go-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-sdk/baton-sdk. Supported file pattern: go.sum
go-test (1.22.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\baton-sdk\baton-sdk. Supported file pattern: go.sum