Skip to content

Add new websocket handler and skeleton for its deps #35663

Add new websocket handler and skeleton for its deps

Add new websocket handler and skeleton for its deps #35663

Triggered via pull request November 8, 2024 08:13
Status Failure
Total duration 13m 27s
Artifacts

ci.yml

on: pull_request
Create Dynamic Integration Test Package Matrix
31s
Create Dynamic Integration Test Package Matrix
Create Dynamic Test Matrix
29s
Create Dynamic Test Matrix
Create Dynamic Unit Test Insecure Package Matrix
2m 53s
Create Dynamic Unit Test Insecure Package Matrix
Matrix: Lint
Matrix: Integration Tests
Matrix: integration-test-others
Matrix: unit-test
Matrix: unit-test-insecure
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 57 warnings
Docker Build
not enough arguments in call to builder.AddWebsocketsRoute
Docker Build
not enough arguments in call to builder.AddWebsocketsRoute
Docker Build
Process completed with exit code 2.
Lint (./insecure/)
golangci-lint exit with code 3
Lint (./): engine/access/rest/server.go#L1
: # github.com/onflow/flow-go/engine/access/rest
Lint (./): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Lint (./): cmd/util/cmd/run-script/cmd.go#L18
could not import github.com/onflow/flow-go/engine/access/rest (-: # github.com/onflow/flow-go/engine/access/rest
Lint (./): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Lint (./): engine/access/handle_irrecoverable_state_test.go#L24
could not import github.com/onflow/flow-go/engine/access/rest (-: # github.com/onflow/flow-go/engine/access/rest
Lint (./): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Lint (./): engine/access/rpc/engine.go#L16
could not import github.com/onflow/flow-go/engine/access/rest (-: # github.com/onflow/flow-go/engine/access/rest
Lint (./): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Lint (./): engine/access/rest/websockets/controller.go#L62
Error return value of `c.conn.WriteJSON` is not checked (errcheck)
Lint (./): engine/access/rest/websockets/handler_test.go#L57
SA5001: should check returned error before deferring conn.Close() (staticcheck)
Unit Tests Insecure (insecure)
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests Insecure (insecure)
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests Insecure (insecure)
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests Insecure (insecure)
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests Insecure (insecure)
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests Insecure (insecure)
Final attempt failed. Child_process exited with error code 2
Unit Tests (cmd): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (cmd): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (cmd): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (cmd): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (cmd): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (cmd)
Final attempt failed. Child_process exited with error code 2
Unit Tests (engine/access): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (engine/access): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (engine/access): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (engine/access): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (engine/access): engine/access/rest/server.go#L53
not enough arguments in call to builder.AddWebsocketsRoute
Unit Tests (engine/access)
Final attempt failed. Child_process exited with error code 2
Create Dynamic Test Matrix
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Create Dynamic Test Matrix
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Create Dynamic Integration Test Package Matrix
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Create Dynamic Integration Test Package Matrix
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tidy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Docker Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Create Dynamic Unit Test Insecure Package Matrix
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Create Dynamic Unit Test Insecure Package Matrix
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint (./insecure/)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (./integration/)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (network/test/cohort2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (network/p2p/node)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (engine/execution/computation)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (storage)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (admin)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (network)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (engine/consensus)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (state)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (network/p2p)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (utils)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (network/alsp)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (network/test/cohort1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (engine/collection)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (engine/execution)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (others)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (network/p2p/connection)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (consensus)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (./)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (engine/verification)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (module)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (fvm)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (network/p2p/scoring)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (ledger)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (engine/execution/ingestion)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests Insecure (insecure)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests Insecure (insecure)
Attempt 1 failed. Reason: Child_process exited with error code 2
Unit Tests Insecure (insecure)
Attempt 2 failed. Reason: Child_process exited with error code 2
Unit Tests Insecure (insecure)
Attempt 3 failed. Reason: Child_process exited with error code 2
Unit Tests Insecure (insecure)
Attempt 4 failed. Reason: Child_process exited with error code 2
Unit Tests (engine/common)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (engine/common)
Attempt 1 failed. Reason: Child_process exited with error code 2
Unit Tests Insecure (insecure/integration/functional/test/gossipsub/rpc_inspector)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (module/dkg)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Integration Tests Others (integration)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Integration Tests Others (integration)
Attempt 1 failed. Reason: Child_process exited with error code 2
Unit Tests Insecure (insecure/integration/functional/test/gossipsub/scoring)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (engine)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (cmd)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (cmd)
Attempt 1 failed. Reason: Child_process exited with error code 2
Unit Tests (cmd)
Attempt 2 failed. Reason: Child_process exited with error code 2
Unit Tests (cmd)
Attempt 3 failed. Reason: Child_process exited with error code 2
Unit Tests (cmd)
Attempt 4 failed. Reason: Child_process exited with error code 2
Unit Tests (engine/access)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, nick-fields/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (engine/access)
Attempt 1 failed. Reason: Child_process exited with error code 2
Unit Tests (engine/access)
Attempt 2 failed. Reason: Child_process exited with error code 2
Unit Tests (engine/access)
Attempt 3 failed. Reason: Child_process exited with error code 2
Unit Tests (engine/access)
Attempt 4 failed. Reason: Child_process exited with error code 2