Skip to content

[WIP] Add support for Auto Edits in JetBrains #27740

[WIP] Add support for Auto Edits in JetBrains

[WIP] Add support for Auto Edits in JetBrains #27740

Triggered via pull request March 10, 2025 16:19
Status Failure
Total duration 9m 16s
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

30 errors, 16 warnings, and 5 notices
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > analytics events for the suggested -> accepted transition: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > analytics events for the suggested -> rejected transition: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > marks the suggestion as read after a certain timeout: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > errors are reported via telemetry recorded and Sentry: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > rejects the current suggestion when the new one is shown: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > do not set the the cody.supersuggest.active context for inline completion items: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > set the cody.supersuggest.active context for inline decoration items: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > unset the cody.supersuggest.active context for inline decoration rejection: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > do not trigger the editBuilder for inline completion items: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/autoedits/autoedits-provider.test.ts > AutoeditsProvider > trigger the editBuilder for inline decorations items: vscode/src/autoedits/renderer/image-gen/canvas/index.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' ❯ initFont src/autoedits/renderer/image-gen/canvas/index.ts:26:20 ❯ Module.initCanvas src/autoedits/renderer/image-gen/canvas/index.ts:32:21 ❯ src/autoedits/autoedits-provider.test.ts:87:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cody/cody/vscode/src/autoedits/renderer/image-gen/canvas/DejaVuSansMono.ttf' }
src/completions/inline-completion-item-provider.test.ts > InlineCompletionItemProvider > logger > timer based > logs a completion after 750ms: vscode/src/completions/inline-completion-item-provider.test.ts#L489
AssertionError: expected "recordEvent" to be called +0 times, but got 1 times ❯ src/completions/inline-completion-item-provider.test.ts:489:29
src/jsonrpc/protocol.test.ts > protocol null/undefined robustness > agent-protocol.ts: vscode/src/jsonrpc/protocol.test.ts#L62
AssertionError: Invalid protocol definitions: 4 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/jsonrpc/agent-protocol.ts:554:5: property "text" type must accept null, undefined, and optional ("text?: T | undefined | null") vscode/src/jsonrpc/agent-protocol.ts:587:13: property "changes" type must accept null, undefined, and optional ("changes?: T | undefined | null") vscode/src/jsonrpc/agent-protocol.ts:594:13: property "image" type must accept null, undefined, and optional ("image?: T | undefined | null") vscode/src/jsonrpc/agent-protocol.ts:595:13: property "diff" type must accept null, undefined, and optional ("diff?: T | undefined | null") ❯ src/jsonrpc/protocol.test.ts:62:20
src/autoedit.test.ts > Autoedit > autoedit - completions > autocomplete/execute (non-empty result): agent/src/autoedit.test.ts#L69
AssertionError: expected 0 to be greater than 0 ❯ src/autoedit.test.ts:69:41
src/autoedit.test.ts > Autoedit > autoedit - completions > autocomplete/execute multiline (non-empty result): agent/src/autoedit.test.ts#L99
AssertionError: expected 0 to be greater than 0 ❯ src/autoedit.test.ts:99:41
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render inline diffs > produces an inline diff for a simple suggestion: agent/src/autoedit.test.ts#L160
Error: Snapshot `Autoedit > autoedit - edits > client can only render inline diffs > produces an inline diff for a simple suggestion 1` mismatched - Expected + Received - " - export function sumAge(humanA: Person, humanB: Person): number { - return humanA.age + humanB.age - } - " + undefined ❯ src/autoedit.test.ts:160:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render inline diffs > produces an inline diff for a complex suggestion: agent/src/autoedit.test.ts#L186
Error: Snapshot `Autoedit > autoedit - edits > client can only render inline diffs > produces an inline diff for a complex suggestion 1` mismatched - Expected + Received - "export function sumAge(a: Person, b: Person): number { - return a.age + b.age - } - " + undefined ❯ src/autoedit.test.ts:186:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render aside diffs as images > produces a unified image diff for a simple suggestion: agent/src/autoedit.test.ts#L234
Error: Snapshot `Autoedit > autoedit - edits > client can only render aside diffs as images > produces a unified image diff for a simple suggestion 1` mismatched - Expected + Received - " - export function sumAge(humanA: Person, humanB: Person): number { - return humanA.age + humanB.age - } - " + undefined ❯ src/autoedit.test.ts:234:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render aside diffs as images > produces a unified image diff for a complex suggestion: agent/src/autoedit.test.ts#L268
Error: Snapshot `Autoedit > autoedit - edits > client can only render aside diffs as images > produces a unified image diff for a complex suggestion 1` mismatched - Expected + Received - "export function sumAge(a: Person, b: Person): number { - return a.age + b.age - } - " + undefined ❯ src/autoedit.test.ts:268:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a diff for a simple suggestion: agent/src/autoedit.test.ts#L326
Error: Snapshot `Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a diff for a simple suggestion 1` mismatched - Expected + Received - " - export function sumAge(humanA: Person, humanB: Person): number { - return humanA.age + humanB.age - } - " + undefined ❯ src/autoedit.test.ts:326:43
src/autoedit.test.ts > Autoedit > autoedit - completions > autocomplete/execute (non-empty result): agent/src/autoedit.test.ts#L69
AssertionError: expected 0 to be greater than 0 ❯ src/autoedit.test.ts:69:41
src/autoedit.test.ts > Autoedit > autoedit - completions > autocomplete/execute multiline (non-empty result): agent/src/autoedit.test.ts#L99
AssertionError: expected 0 to be greater than 0 ❯ src/autoedit.test.ts:99:41
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render inline diffs > produces an inline diff for a simple suggestion: agent/src/autoedit.test.ts#L160
Error: Snapshot `Autoedit > autoedit - edits > client can only render inline diffs > produces an inline diff for a simple suggestion 1` mismatched - Expected + Received - " - export function sumAge(humanA: Person, humanB: Person): number { - return humanA.age + humanB.age - } - " + undefined ❯ src/autoedit.test.ts:160:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render inline diffs > produces an inline diff for a complex suggestion: agent/src/autoedit.test.ts#L186
Error: Snapshot `Autoedit > autoedit - edits > client can only render inline diffs > produces an inline diff for a complex suggestion 1` mismatched - Expected + Received - "export function sumAge(a: Person, b: Person): number { - return a.age + b.age - } - " + undefined ❯ src/autoedit.test.ts:186:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render aside diffs as images > produces a unified image diff for a simple suggestion: agent/src/autoedit.test.ts#L234
Error: Snapshot `Autoedit > autoedit - edits > client can only render aside diffs as images > produces a unified image diff for a simple suggestion 1` mismatched - Expected + Received - " - export function sumAge(humanA: Person, humanB: Person): number { - return humanA.age + humanB.age - } - " + undefined ❯ src/autoedit.test.ts:234:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render aside diffs as images > produces a unified image diff for a complex suggestion: agent/src/autoedit.test.ts#L268
Error: Snapshot `Autoedit > autoedit - edits > client can only render aside diffs as images > produces a unified image diff for a complex suggestion 1` mismatched - Expected + Received - "export function sumAge(a: Person, b: Person): number { - return a.age + b.age - } - " + undefined ❯ src/autoedit.test.ts:268:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a diff for a simple suggestion: agent/src/autoedit.test.ts#L326
Error: Snapshot `Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a diff for a simple suggestion 1` mismatched - Expected + Received - " - export function sumAge(humanA: Person, humanB: Person): number { - return humanA.age + humanB.age - } - " + undefined ❯ src/autoedit.test.ts:326:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a unified image diff for a complex suggestion: agent/src/autoedit.test.ts#L355
Error: Snapshot `Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a unified image diff for a complex suggestion 1` mismatched - Expected + Received - "export function sumAge(a: Person, b: Person): number { - return a.age + b.age - } - " + undefined ❯ src/autoedit.test.ts:355:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a diff for a simple suggestion: agent/src/autoedit.test.ts#L408
Error: Snapshot `Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a diff for a simple suggestion 2` mismatched - Expected + Received - " - export function sumAge(humanA: Person, humanB: Person): number { - return humanA.age + humanB.age - } - " + undefined ❯ src/autoedit.test.ts:408:43
src/autoedit.test.ts > Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a diff for a complex suggestion: agent/src/autoedit.test.ts#L437
Error: Snapshot `Autoedit > autoedit - edits > client can only render aside diffs with their own implementation > produces a diff for a complex suggestion 1` mismatched - Expected + Received - "export function sumAge(a: Person, b: Person): number { - return a.age + b.age - } - " + undefined ❯ src/autoedit.test.ts:437:43
Slow Test: vscode/auth.test.ts#L1
vscode/auth.test.ts took 35.3s
Slow Test: vscode/attribution.test.ts#L1
vscode/attribution.test.ts took 24.5s
Slow Test: vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 42.0s
Slow Test: vscode/support-menu-items.test.ts#L1
vscode/support-menu-items.test.ts took 23.3s
Slow Test: vscode/enterprise-server-sent-models.test.ts#L1
vscode/enterprise-server-sent-models.test.ts took 15.2s
Slow Test: vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 1.3m
Slow Test: vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 46.7s
Slow Test: vscode/enterprise-cody-ignore.test.ts#L1
vscode/enterprise-cody-ignore.test.ts took 19.4s
Slow Test: vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 46.2s
Slow Test: vscode/code-actions.test.ts#L1
vscode/code-actions.test.ts took 36.1s
Slow Test: vscode/chat-rateLimit.test.ts#L1
vscode/chat-rateLimit.test.ts took 35.5s
Slow Test: vscode/chat-messages.test.ts#L1
vscode/chat-messages.test.ts took 23.2s
Slow Test: vscode/command-commit.test.ts#L1
vscode/command-commit.test.ts took 15.7s
Slow Test: vscode/chat-atFile.test.ts#L1
vscode/chat-atFile.test.ts took 1.5m
Slow Test: vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 48.5s
Slow Test: vscode/chat-history.test.ts#L1
vscode/chat-history.test.ts took 24.1s
🎭 Playwright Run Summary
9 skipped 5 passed (1.1m)
🎭 Playwright Run Summary
4 skipped 7 passed (1.6m)
🎭 Playwright Run Summary
9 passed (2.6m)
🎭 Playwright Run Summary
2 skipped 10 passed (2.7m)
🎭 Playwright Run Summary
1 skipped 11 passed (3.0m)