Skip to content

backport subscriptions refactoring from v1 to v2(#605) ad5d5159 #125

backport subscriptions refactoring from v1 to v2(#605) ad5d5159

backport subscriptions refactoring from v1 to v2(#605) ad5d5159 #125

Triggered via pull request October 4, 2023 13:41
Status Failure
Total duration 2m 24s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

v2.yml

on: pull_request
Matrix: test
CI Success
0s
CI Success
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 5 warnings
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L364
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L401
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L405
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L434
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L462
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L483
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L502
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L520
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L540
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / ubuntu-latest): pkg/subscription/websocket/protocol_graphql_ws_test.go#L296
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.19 / windows-latest)
The job was canceled because "_1_19_ubuntu-latest" failed.
Build and test (go 1.19 / windows-latest)
The operation was canceled.
Build and test (go 1.20 / windows-latest)
The job was canceled because "_1_19_ubuntu-latest" failed.
Build and test (go 1.20 / windows-latest)
The operation was canceled.
Linters: v2/pkg/subscription/websocket/client.go#L1
: # github.com/wundergraph/graphql-go-tools/v2/pkg/subscription/websocket [github.com/wundergraph/graphql-go-tools/v2/pkg/subscription/websocket.test]
Linters: pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L364
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Linters: pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L401
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Linters: pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L405
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Linters: pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L434
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Linters: pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L462
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Linters: pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L483
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Linters: pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L502
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Linters: pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L520
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Linters: pkg/subscription/websocket/protocol_graphql_transport_ws_test.go#L540
cannot use mockEngine (variable of type *MockEngine) as "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine value in argument to protocol.Handle: *MockEngine does not implement "github.com/wundergraph/graphql-go-tools/pkg/subscription".Engine (wrong type for method StartOperation)
Build and test (go 1.20 / ubuntu-latest)
The job was canceled because "_1_19_ubuntu-latest" failed.
Build and test (go 1.20 / ubuntu-latest)
The operation was canceled.
CI Success
Process completed with exit code 1.
Build and test (go 1.19 / ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/graphql-go-tools/graphql-go-tools. Supported file pattern: go.sum
Build and test (go 1.19 / windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\graphql-go-tools\graphql-go-tools. Supported file pattern: go.sum
Build and test (go 1.20 / windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\graphql-go-tools\graphql-go-tools. Supported file pattern: go.sum
Linters
Restore cache failed: Dependencies file is not found in /home/runner/work/graphql-go-tools/graphql-go-tools. Supported file pattern: go.sum
Build and test (go 1.20 / ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/graphql-go-tools/graphql-go-tools. Supported file pattern: go.sum