Skip to content

Autocomplete: add unit tests for server-side models config #21311

Autocomplete: add unit tests for server-side models config

Autocomplete: add unit tests for server-side models config #21311

Triggered via pull request September 13, 2024 05:48
Status Failure
Total duration 4m 2s
Artifacts

ci.yml

on: pull_request
fast_tests_matrix_prep
0s
fast_tests_matrix_prep
slow_tests_matrix_prep
0s
slow_tests_matrix_prep
Matrix: test-integration
Matrix: test-unit
Matrix: test-e2e
Fit to window
Zoom out
Zoom in

Annotations

116 errors and 8 warnings
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L63
Type '"balanced"' is not assignable to type 'ModelCategory'.
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L65
Type '"free"' is not assignable to type 'ModelTier'.
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L76
Type '"power"' is not assignable to type 'ModelCategory'.
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L78
Type '"pro"' is not assignable to type 'ModelTier'.
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L89
Type '"power"' is not assignable to type 'ModelCategory'.
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L91
Type '"pro"' is not assignable to type 'ModelTier'.
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L102
Type '"speed"' is not assignable to type 'ModelCategory'.
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L104
Type '"pro"' is not assignable to type 'ModelTier'.
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L115
Type '"speed"' is not assignable to type 'ModelCategory'.
build: vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L117
Type '"pro"' is not assignable to type 'ModelTier'.
test-integration (ubuntu)
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-integration (ubuntu)
Type '"free"' is not assignable to type 'ModelTier'.
test-integration (ubuntu)
Type '"power"' is not assignable to type 'ModelCategory'.
test-integration (ubuntu)
Type '"pro"' is not assignable to type 'ModelTier'.
test-integration (ubuntu)
Type '"power"' is not assignable to type 'ModelCategory'.
test-integration (ubuntu)
Type '"pro"' is not assignable to type 'ModelTier'.
test-integration (ubuntu)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-integration (ubuntu)
Type '"pro"' is not assignable to type 'ModelTier'.
test-integration (ubuntu)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-integration (ubuntu)
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L63
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L65
Type '"free"' is not assignable to type 'ModelTier'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L76
Type '"power"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L78
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L89
Type '"power"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L91
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L102
Type '"speed"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L104
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L115
Type '"speed"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 18): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L117
Type '"pro"' is not assignable to type 'ModelTier'.
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
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
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L63
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L65
Type '"free"' is not assignable to type 'ModelTier'.
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L76
Type '"power"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L78
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L89
Type '"power"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L91
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L102
Type '"speed"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L104
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L115
Type '"speed"' is not assignable to type 'ModelCategory'.
test-unit (ubuntu, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L117
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 4/5)
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 4/5)
Type '"free"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 4/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 4/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 4/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 4/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 4/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 4/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 4/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 4/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 1/5)
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 1/5)
Type '"free"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 1/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 1/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 1/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 1/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 1/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 1/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 1/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 1/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 3/5)
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 3/5)
Type '"free"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 3/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 3/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 3/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 3/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 3/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 3/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 3/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 3/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 2/5)
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 2/5)
Type '"free"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 2/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 2/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 2/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 2/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 2/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 2/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 2/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 2/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 5/5)
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 5/5)
Type '"free"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 5/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 5/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 5/5)
Type '"power"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 5/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 5/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 5/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-e2e (ubuntu, 5/5)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-e2e (ubuntu, 5/5)
Type '"pro"' is not assignable to type 'ModelTier'.
test-integration (windows)
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-integration (windows)
Type '"free"' is not assignable to type 'ModelTier'.
test-integration (windows)
Type '"power"' is not assignable to type 'ModelCategory'.
test-integration (windows)
Type '"pro"' is not assignable to type 'ModelTier'.
test-integration (windows)
Type '"power"' is not assignable to type 'ModelCategory'.
test-integration (windows)
Type '"pro"' is not assignable to type 'ModelTier'.
test-integration (windows)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-integration (windows)
Type '"pro"' is not assignable to type 'ModelTier'.
test-integration (windows)
Type '"speed"' is not assignable to type 'ModelCategory'.
test-integration (windows)
Type '"pro"' is not assignable to type 'ModelTier'.
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): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L63
Type '"balanced"' is not assignable to type 'ModelCategory'.
test-unit (windows, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L65
Type '"free"' is not assignable to type 'ModelTier'.
test-unit (windows, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L76
Type '"power"' is not assignable to type 'ModelCategory'.
test-unit (windows, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L78
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (windows, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L89
Type '"power"' is not assignable to type 'ModelCategory'.
test-unit (windows, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L91
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (windows, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L102
Type '"speed"' is not assignable to type 'ModelCategory'.
test-unit (windows, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L104
Type '"pro"' is not assignable to type 'ModelTier'.
test-unit (windows, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L115
Type '"speed"' is not assignable to type 'ModelCategory'.
test-unit (windows, 20): vscode/src/completions/providers/__mocks__/create-provider-mocks.ts#L117
Type '"pro"' is not assignable to type 'ModelTier'.
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
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/
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-e2e (ubuntu, 4/5)
No files were found with the provided path: playwright/. No artifacts will be uploaded.
test-e2e (ubuntu, 1/5)
No files were found with the provided path: playwright/. No artifacts will be uploaded.
test-e2e (ubuntu, 3/5)
No files were found with the provided path: playwright/. No artifacts will be uploaded.
test-e2e (ubuntu, 2/5)
No files were found with the provided path: playwright/. No artifacts will be uploaded.
test-e2e (ubuntu, 5/5)
No files were found with the provided path: playwright/. No artifacts will be uploaded.
test-unit (windows, 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/