reduce blocking HTTP requests during authentication #22292
ci.yml
on: pull_request
fast_tests_matrix_prep
0s
slow_tests_matrix_prep
0s
build
2m 31s
Matrix: test-integration
Matrix: test-unit
Matrix: test-e2e
Annotations
15 errors, 13 warnings, and 5 notices
test-unit (ubuntu, 20)
The v0 series of google-github-actions/auth is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/auth
|
test-unit (ubuntu, 20)
The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/setup-gcloud
|
src/jsonrpc/protocol.test.ts > protocol null/undefined robustness > protocol.ts:
vscode/src/jsonrpc/protocol.test.ts#L62
AssertionError: Invalid protocol definitions: 1 problems.
Problem: If a property's type includes any of `null`, `undefined`, or `?` (optional field), then it must use *all* of them.
Fix: Use `field?: T | null | undefined` instead of `field?: T`.
Explanation: To prevent bugs when communicating with peers implemented in different programming languages cross-process RPC protocols must not differentiate between `undefined`, ECMAScript property presence (`hasOwnProperty`), and `null`.
Anywhere that a value can be `undefined`, our code needs to handle `null` values or no such property existing, and all must be handled in the same way (and vice versa).
vscode/src/chat/protocol.ts:141:11: property "userProductSubscription" type must accept null, undefined, and optional ("userProductSubscription?: T | undefined | null")
❯ src/jsonrpc/protocol.test.ts:62:20
|
test-unit (ubuntu, 20)
Process completed with exit code 1.
|
test-unit (ubuntu, 18)
The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/setup-gcloud
|
test-unit (ubuntu, 18)
The v0 series of google-github-actions/auth is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/auth
|
src/jsonrpc/protocol.test.ts > protocol null/undefined robustness > protocol.ts:
vscode/src/jsonrpc/protocol.test.ts#L62
AssertionError: Invalid protocol definitions: 1 problems.
Problem: If a property's type includes any of `null`, `undefined`, or `?` (optional field), then it must use *all* of them.
Fix: Use `field?: T | null | undefined` instead of `field?: T`.
Explanation: To prevent bugs when communicating with peers implemented in different programming languages cross-process RPC protocols must not differentiate between `undefined`, ECMAScript property presence (`hasOwnProperty`), and `null`.
Anywhere that a value can be `undefined`, our code needs to handle `null` values or no such property existing, and all must be handled in the same way (and vice versa).
vscode/src/chat/protocol.ts:141:11: property "userProductSubscription" type must accept null, undefined, and optional ("userProductSubscription?: T | undefined | null")
❯ src/jsonrpc/protocol.test.ts:62:20
|
src/auth.test.ts > Auth:
agent/src/TestClient.ts#L905
Error: PollyError: [Polly] [adapter:node-http] Recording for the following request is not found and `recordIfMissing` is `false`..
To fix this problem, run the following commands to update the HTTP recordings:
source agent/scripts/export-cody-http-recording-tokens.sh
pnpm update-agent-recordings
❯ TestClient.shutdownAndExit src/TestClient.ts:905:23
❯ TestClient.afterAll src/TestClient.ts:892:9
❯ src/auth.test.ts:57:13
|
src/auth.test.ts > Auth > switches to a different account:
agent/src/auth.test.ts#L174
AssertionError: expected 'https://sourcegraph.com/' to be 'https://sourcegraph.sourcegraph.com/' // Object.is equality
Expected: "https://sourcegraph.sourcegraph.com/"
Received: "https://sourcegraph.com/"
❯ src/auth.test.ts:174:42
|
src/auth.test.ts > Auth > switches to a different account:
agent/src/auth.test.ts#L174
AssertionError: expected 'https://sourcegraph.com/' to be 'https://sourcegraph.sourcegraph.com/' // Object.is equality
Expected: "https://sourcegraph.sourcegraph.com/"
Received: "https://sourcegraph.com/"
❯ src/auth.test.ts:174:42
|
test-unit (ubuntu, 18)
Process completed with exit code 1.
|
test-unit (windows, 20)
The job running on runner GitHub Actions 49 has exceeded the maximum execution time of 10 minutes.
|
test-unit (windows, 20)
The v0 series of google-github-actions/auth is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/auth
|
test-unit (windows, 20)
The operation was canceled.
|
test-unit (windows, 20)
The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/setup-gcloud
|
Slow Test:
vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 37.0s
|
Slow Test:
vscode/enterprise-cody-ignore.test.ts#L1
vscode/enterprise-cody-ignore.test.ts took 18.5s
|
Slow Test:
vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 43.3s
|
Slow Test:
vscode/chat-atFile.test.ts#L1
vscode/chat-atFile.test.ts took 1.1m
|
Slow Test:
vscode/attribution.test.ts#L1
vscode/attribution.test.ts took 17.9s
|
Slow Test:
vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 48.8s
|
Slow Test:
vscode/chat-keyboard-shortcuts.test.ts#L1
vscode/chat-keyboard-shortcuts.test.ts took 25.0s
|
Slow Test:
vscode/chat-rateLimit.test.ts#L1
vscode/chat-rateLimit.test.ts took 23.9s
|
Slow Test:
vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 58.0s
|
Slow Test:
vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 36.1s
|
Slow Test:
vscode/code-actions.test.ts#L1
vscode/code-actions.test.ts took 33.0s
|
test-unit (ubuntu, 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: google-github-actions/auth@v0, google-github-actions/setup-gcloud@v0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test-unit (ubuntu, 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: google-github-actions/auth@v0, google-github-actions/setup-gcloud@v0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🎭 Playwright Run Summary
1 skipped
6 passed (1.3m)
|
🎭 Playwright Run Summary
2 skipped
7 passed (1.3m)
|
🎭 Playwright Run Summary
10 passed (1.9m)
|
🎭 Playwright Run Summary
10 passed (1.9m)
|
🎭 Playwright Run Summary
10 passed (2.4m)
|