Skip to content

More e2e nodejs tests #387

More e2e nodejs tests

More e2e nodejs tests #387

Triggered via pull request February 27, 2026 03:00
Status Failure
Total duration 2m 15s
Artifacts

nodejs-sdk-tests.yml

on: pull_request
Matrix: Node.js SDK Tests
Fit to window
Zoom out
Zoom in

Annotations

30 errors
test/e2e/client_lifecycle.test.ts > Client Lifecycle > should return undefined for getLastSessionId with no sessions: nodejs/src/client.ts#L818
Error: Client not connected ❯ CopilotClient.getLastSessionId src/client.ts:818:19 ❯ test/e2e/client_lifecycle.test.ts:28:44
test/e2e/client_lifecycle.test.ts > Client Lifecycle > should return last session id after sending a message: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/client_lifecycle.test.ts:13:38
test/e2e/builtin_tools.test.ts > Built-in Tools > glob > should find files by pattern: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:93:42
test/e2e/builtin_tools.test.ts > Built-in Tools > grep > should search for patterns in files: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:78:42
test/e2e/builtin_tools.test.ts > Built-in Tools > create_file > should create a new file: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:67:42
test/e2e/builtin_tools.test.ts > Built-in Tools > edit > should edit a file successfully: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:57:42
test/e2e/builtin_tools.test.ts > Built-in Tools > view > should handle nonexistent file gracefully: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:44:42
test/e2e/builtin_tools.test.ts > Built-in Tools > view > should read file with line range: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:35:42
test/e2e/builtin_tools.test.ts > Built-in Tools > bash > should capture stderr output: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:24:42
test/e2e/builtin_tools.test.ts > Built-in Tools > bash > should capture exit code in output: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:15:42
test/e2e/client_lifecycle.test.ts > Client Lifecycle > should return undefined for getLastSessionId with no sessions: nodejs/src/client.ts#L818
Error: Client not connected ❯ CopilotClient.getLastSessionId src/client.ts:818:19 ❯ test/e2e/client_lifecycle.test.ts:28:44
test/e2e/client_lifecycle.test.ts > Client Lifecycle > should return last session id after sending a message: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/client_lifecycle.test.ts:13:38
test/e2e/builtin_tools.test.ts > Built-in Tools > glob > should find files by pattern: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:93:42
test/e2e/builtin_tools.test.ts > Built-in Tools > grep > should search for patterns in files: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:78:42
test/e2e/builtin_tools.test.ts > Built-in Tools > create_file > should create a new file: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:67:42
test/e2e/builtin_tools.test.ts > Built-in Tools > edit > should edit a file successfully: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:57:42
test/e2e/builtin_tools.test.ts > Built-in Tools > view > should handle nonexistent file gracefully: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:44:42
test/e2e/builtin_tools.test.ts > Built-in Tools > view > should read file with line range: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:35:42
test/e2e/builtin_tools.test.ts > Built-in Tools > bash > should capture stderr output: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:24:42
test/e2e/builtin_tools.test.ts > Built-in Tools > bash > should capture exit code in output: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:15:42
test/e2e/client_lifecycle.test.ts > Client Lifecycle > should return undefined for getLastSessionId with no sessions: nodejs/src/client.ts#L818
Error: Client not connected ❯ CopilotClient.getLastSessionId src/client.ts:818:19 ❯ test/e2e/client_lifecycle.test.ts:28:44
test/e2e/client_lifecycle.test.ts > Client Lifecycle > should return last session id after sending a message: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/client_lifecycle.test.ts:13:38
test/e2e/builtin_tools.test.ts > Built-in Tools > glob > should find files by pattern: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:93:42
test/e2e/builtin_tools.test.ts > Built-in Tools > grep > should search for patterns in files: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:78:42
test/e2e/builtin_tools.test.ts > Built-in Tools > create_file > should create a new file: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:67:42
test/e2e/builtin_tools.test.ts > Built-in Tools > edit > should edit a file successfully: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:57:42
test/e2e/builtin_tools.test.ts > Built-in Tools > view > should handle nonexistent file gracefully: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:44:42
test/e2e/builtin_tools.test.ts > Built-in Tools > view > should read file with line range: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:35:42
test/e2e/builtin_tools.test.ts > Built-in Tools > bash > should capture stderr output: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:24:42
test/e2e/builtin_tools.test.ts > Built-in Tools > bash > should capture exit code in output: nodejs/src/client.ts#L514
Error: An onPermissionRequest handler is required when creating a session. For example, to allow all permissions, use { onPermissionRequest: approveAll }. ❯ CopilotClient.createSession src/client.ts:514:19 ❯ test/e2e/builtin_tools.test.ts:15:42