Skip to content

chore(api): Remove authz middleware and update Turing API server, router, plugin dependencies #1947

chore(api): Remove authz middleware and update Turing API server, router, plugin dependencies

chore(api): Remove authz middleware and update Turing API server, router, plugin dependencies #1947

Triggered via pull request March 13, 2024 03:34
Status Failure
Total duration 3m 48s
Artifacts 4

turing.yaml

on: pull_request
build-router
58s
build-router
build-ui
1m 52s
build-ui
test-engines-experiment
1m 23s
test-engines-experiment
release-rules
3s
release-rules
build-test-experiment-engine-plugin
35s
build-test-experiment-engine-plugin
build-cluster-init
14s
build-cluster-init
test-api
0s
test-api
test-engines-router
2m 37s
test-engines-router
Matrix: test-e2e
publish  /  publish-app
publish / publish-app
publish  /  publish-router
publish / publish-router
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 35 warnings
test-engines-experiment
issues found
build-api
cannot use Wrapper{…} (value of type Wrapper) as hclog.Logger value in return statement: Wrapper does not implement hclog.Logger (missing method GetLevel)
build-api
cannot use &Wrapper{…} (value of type *Wrapper) as hclog.Logger value in return statement: *Wrapper does not implement hclog.Logger (missing method GetLevel)
build-api
cannot use &Wrapper{…} (value of type *Wrapper) as hclog.Logger value in return statement: *Wrapper does not implement hclog.Logger (missing method GetLevel)
build-api
cannot use &Wrapper{…} (value of type *Wrapper) as hclog.Logger value in return statement: *Wrapper does not implement hclog.Logger (missing method GetLevel)
build-api
cannot use l (variable of type *Nop) as hclog.Logger value in return statement: *Nop does not implement hclog.Logger (missing method GetLevel)
build-api
cannot use l (variable of type *Nop) as hclog.Logger value in return statement: *Nop does not implement hclog.Logger (missing method GetLevel)
build-api
cannot use l (variable of type *Nop) as hclog.Logger value in return statement: *Nop does not implement hclog.Logger (missing method GetLevel)
build-api
undefined: jsonError
build-api
undefined: jsonError
build-api
Process completed with exit code 2.
test-engines-router
issues found
release-rules
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/
release-rules
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-cluster-init
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/
build-cluster-init
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-cluster-init
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-test-experiment-engine-plugin
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-test-experiment-engine-plugin
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-router
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-router
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-router
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/
test-engines-experiment
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, actions/cache@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-engines-experiment
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-engines-experiment
Restore cache failed: Dependencies file is not found in /home/runner/work/turing/turing. Supported file pattern: go.sum
test-engines-experiment
The `save-state` 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/
test-engines-experiment: engines/experiment/plugin/inproc/factory_test.go#L50
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-experiment: engines/experiment/plugin/inproc/factory_test.go#L95
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-experiment: engines/experiment/plugin/rpc/runner/rpc.go#L147
var-naming: method parameter brokerIds should be brokerIDs (revive)
test-engines-experiment: engines/experiment/plugin/rpc/factory_test.go#L25
unused-parameter: parameter 'pluginBinary' seems to be unused, consider removing or renaming it as _ (revive)
build-ui
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v1, actions/cache@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-ui
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-api
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-engines-router
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, actions/cache@v2, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-engines-router
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-engines-router
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
test-engines-router: engines/router/missionctl/internal/safe_chan.go#L67
empty-block: this block is empty, you can remove it (revive)
test-engines-router: engines/router/missionctl/internal/safe_chan_test.go#L59
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-router: engines/router/missionctl/server/upi/interceptors/recoverer.go#L14
unused-parameter: parameter 'info' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-router: engines/router/missionctl/server/upi/interceptors/recoverer.go#L16
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-router: engines/router/missionctl/server/upi/interceptors/recoverer_test.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-router: engines/router/missionctl/fiberapi/internal/testutils/helpers.go#L20
unused-parameter: parameter 'request' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-router: engines/router/missionctl/internal/testutils/request.go#L23
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-router: engines/router/missionctl/fiberapi/fan_in_test.go#L105
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-router: engines/router/missionctl/fiberapi/interceptors_test.go#L107
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
test-engines-router
Restore cache failed: Dependencies file is not found in /home/runner/work/turing/turing. Supported file pattern: go.sum
test-engines-router
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']

Artifacts

Produced during runtime
Name Size
cluster-init.v1.9.0-build.56-705608a.tar Expired
58.6 MB
test-experiment-engine-plugin.latest.tar Expired
23.2 MB
turing-router.v1.17.2-build.11-705608a.tar Expired
42.4 MB
turing-ui-dist Expired
25.6 MB