Skip to content

fix(tests): work around type check failures #1181

fix(tests): work around type check failures

fix(tests): work around type check failures #1181

Triggered via pull request July 23, 2024 18:57
@punyapunya
synchronize #1566
fix-typecheck
Status Failure
Total duration 5m 3s
Artifacts

ci.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 9 warnings
docs
Process completed with exit code 1.
lint: scripts/index.ts#L91
Don't use process.exit(); throw an error instead
lint: src/plugins/plugin-connect.ts#L16
Definition for rule 'node/no-deprecated-api' was not found
lint: src/plugins/plugin-connect.ts#L17
'url.parse' was deprecated since v11.0.0. Use 'url.URL' constructor instead
lint: src/plugins/plugin-hapi.ts#L17
Definition for rule 'node/no-deprecated-api' was not found
lint: src/plugins/plugin-hapi.ts#L18
'url.parse' was deprecated since v11.0.0. Use 'url.URL' constructor instead
lint: src/plugins/plugin-http2.ts#L18
Definition for rule 'node/no-unsupported-features/node-builtins' was not found
lint: src/plugins/plugin-koa.ts#L17
Definition for rule 'node/no-deprecated-api' was not found
lint: src/plugins/plugin-koa.ts#L18
'url.parse' was deprecated since v11.0.0. Use 'url.URL' constructor instead
lint: src/trace-writer.ts#L156
Don't use process.exit(); throw an error instead
lint: test/non-interference/http-e2e.js#L48
Don't use process.exit(); throw an error instead
test (16)
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
test (18)
The job was canceled because "_16" failed.
test (18)
The operation was canceled.
test (20)
The job was canceled because "_16" failed.
test (20)
The operation was canceled.
test (14)
The job was canceled because "_16" failed.
test (14)
The operation was canceled.
license
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
docs
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@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
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@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: test/plugins/test-trace-http.ts#L205
'result' is assigned a value but never used
lint: test/plugins/test-trace-http2.ts#L84
Unexpected any. Specify a different type
lint: test/test-mysql-pool.ts#L58
'result' is assigned a value but never used
lint: test/trace.ts#L123
Unexpected any. Specify a different type
windows
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, codecov/codecov-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/
test (16)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, codecov/codecov-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/