Skip to content

feat(context): Add Prompt Caching to Code Context (CODY-4807) #26172

feat(context): Add Prompt Caching to Code Context (CODY-4807)

feat(context): Add Prompt Caching to Code Context (CODY-4807) #26172

Triggered via pull request January 30, 2025 00:14
Status Cancelled
Total duration 3m 44s
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

82 errors and 5 warnings
build: vscode/src/prompt-builder/utils.ts#L64
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
build: vscode/src/edit/prompt/context.ts#L66
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
build: vscode/src/edit/prompt/context.ts#L95
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
build: vscode/src/edit/prompt/context.ts#L102
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
build: vscode/src/edit/prompt/context.ts#L121
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
build: vscode/src/edit/prompt/context.ts#L128
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
build: vscode/src/edit/prompt/context.ts#L138
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
build
Process completed with exit code 1.
test-integration (ubuntu)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
test-integration (ubuntu)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
test-integration (ubuntu)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-integration (ubuntu)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-integration (ubuntu)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
test-integration (ubuntu)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-integration (ubuntu)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-integration (ubuntu)
Process completed with exit code 1.
test-unit (ubuntu, 18): vscode/src/prompt-builder/utils.ts#L64
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
test-unit (ubuntu, 18): vscode/src/edit/prompt/context.ts#L66
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
test-unit (ubuntu, 18): vscode/src/edit/prompt/context.ts#L95
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-unit (ubuntu, 18): vscode/src/edit/prompt/context.ts#L102
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-unit (ubuntu, 18): vscode/src/edit/prompt/context.ts#L121
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
test-unit (ubuntu, 18): vscode/src/edit/prompt/context.ts#L128
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-unit (ubuntu, 18): vscode/src/edit/prompt/context.ts#L138
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-unit (ubuntu, 18)
Process completed with exit code 1.
test-unit (ubuntu, 20): vscode/src/prompt-builder/utils.ts#L64
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
test-unit (ubuntu, 20): vscode/src/edit/prompt/context.ts#L66
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
test-unit (ubuntu, 20): vscode/src/edit/prompt/context.ts#L95
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-unit (ubuntu, 20): vscode/src/edit/prompt/context.ts#L102
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-unit (ubuntu, 20): vscode/src/edit/prompt/context.ts#L121
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
test-unit (ubuntu, 20): vscode/src/edit/prompt/context.ts#L128
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-unit (ubuntu, 20): vscode/src/edit/prompt/context.ts#L138
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-unit (ubuntu, 20)
Process completed with exit code 1.
test-e2e (ubuntu, 2/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 2/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 2/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 2/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 2/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
test-e2e (ubuntu, 2/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 2/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 2/5)
Process completed with exit code 1.
test-e2e (ubuntu, 5/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 5/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 5/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 5/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 5/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
test-e2e (ubuntu, 5/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 5/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 5/5)
Process completed with exit code 1.
test-e2e (ubuntu, 1/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 1/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 1/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 1/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 1/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
test-e2e (ubuntu, 1/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 1/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 1/5)
Process completed with exit code 1.
test-e2e (ubuntu, 4/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 4/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 4/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 4/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 4/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
test-e2e (ubuntu, 4/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 4/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 4/5)
Process completed with exit code 1.
test-e2e (ubuntu, 3/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 3/5)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
test-e2e (ubuntu, 3/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 3/5)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-e2e (ubuntu, 3/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
test-e2e (ubuntu, 3/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 3/5)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-e2e (ubuntu, 3/5)
Process completed with exit code 1.
test-integration (windows)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: ContextItem; }' but required in type 'ContextMessage'.
test-integration (windows)
Property 'cache_control' is missing in type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' but required in type 'ContextMessage'.
test-integration (windows)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-integration (windows)
Argument of type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; range: vscode.Range; }; }' is not assignable to parameter of type 'ContextMessage'.
test-integration (windows)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: Uri; source: ContextItemSource.Editor; }; }[]' is not assignable to type 'ContextMessage[]'.
test-integration (windows)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-integration (windows)
Type '{ speaker: "human"; text: PromptString; file: { type: "file"; uri: vscode.Uri; source: ContextItemSource.Editor; }; }' does not satisfy the expected type 'ContextMessage'.
test-integration (windows)
Process completed with exit code 1.
test-unit (windows, 20)
Canceling since a higher priority waiting request for 'ci-6878' exists
test-unit (windows, 20)
The operation was canceled.
test-e2e (ubuntu, 2/5)
No files were found with the provided path: playwright/ vscode/test-results/. No artifacts will be uploaded.
test-e2e (ubuntu, 5/5)
No files were found with the provided path: playwright/ vscode/test-results/. No artifacts will be uploaded.
test-e2e (ubuntu, 1/5)
No files were found with the provided path: playwright/ vscode/test-results/. No artifacts will be uploaded.
test-e2e (ubuntu, 4/5)
No files were found with the provided path: playwright/ vscode/test-results/. No artifacts will be uploaded.
test-e2e (ubuntu, 3/5)
No files were found with the provided path: playwright/ vscode/test-results/. No artifacts will be uploaded.