Skip to content

Update SDK E2E tests for canonical exit_plan_mode action order #3085

Update SDK E2E tests for canonical exit_plan_mode action order

Update SDK E2E tests for canonical exit_plan_mode action order #3085

Triggered via pull request July 17, 2026 12:06
Status Failure
Total duration 7m 53s
Artifacts

nodejs-sdk-tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 18 warnings
Node.js SDK Tests (ubuntu-latest, default)
Process completed with exit code 1.
test/e2e/mode_handlers.e2e.test.ts > Mode handlers > should invoke exit plan mode handler when model uses tool: nodejs/test/e2e/mode_handlers.e2e.test.ts#L111
AssertionError: expected { …(4) } to match object { …(3) } (1 matching property omitted from actual) - Expected + Received { "actions": [ - "autopilot", "interactive", + "autopilot", "exit_only", ], "recommendedAction": "interactive", "summary": "Greeting file implementation plan", } ❯ test/e2e/mode_handlers.e2e.test.ts:111:45
Node.js SDK Tests (macos-latest, default)
Process completed with exit code 1.
test/e2e/mode_handlers.e2e.test.ts > Mode handlers > should invoke exit plan mode handler when model uses tool: nodejs/test/e2e/mode_handlers.e2e.test.ts#L111
AssertionError: expected { …(4) } to match object { …(3) } (1 matching property omitted from actual) - Expected + Received { "actions": [ - "autopilot", "interactive", + "autopilot", "exit_only", ], "recommendedAction": "interactive", "summary": "Greeting file implementation plan", } ❯ test/e2e/mode_handlers.e2e.test.ts:111:45
Node.js SDK Tests (macos-latest, inprocess)
Process completed with exit code 1.
test/e2e/mode_handlers.e2e.test.ts > Mode handlers > should invoke exit plan mode handler when model uses tool: nodejs/test/e2e/mode_handlers.e2e.test.ts#L111
AssertionError: expected { …(4) } to match object { …(3) } (1 matching property omitted from actual) - Expected + Received { "actions": [ - "autopilot", "interactive", + "autopilot", "exit_only", ], "recommendedAction": "interactive", "summary": "Greeting file implementation plan", } ❯ test/e2e/mode_handlers.e2e.test.ts:111:45
Node.js SDK Tests (ubuntu-latest, inprocess)
Process completed with exit code 1.
test/e2e/mode_handlers.e2e.test.ts > Mode handlers > should invoke exit plan mode handler when model uses tool: nodejs/test/e2e/mode_handlers.e2e.test.ts#L111
AssertionError: expected { …(4) } to match object { …(3) } (1 matching property omitted from actual) - Expected + Received { "actions": [ - "autopilot", "interactive", + "autopilot", "exit_only", ], "recommendedAction": "interactive", "summary": "Greeting file implementation plan", } ❯ test/e2e/mode_handlers.e2e.test.ts:111:45
Node.js SDK Tests (windows-latest, default)
Process completed with exit code 1.
test/e2e/mode_handlers.e2e.test.ts > Mode handlers > should invoke exit plan mode handler when model uses tool: nodejs/test/e2e/mode_handlers.e2e.test.ts#L111
AssertionError: expected { …(4) } to match object { …(3) } (1 matching property omitted from actual) - Expected + Received { "actions": [ - "autopilot", "interactive", + "autopilot", "exit_only", ], "recommendedAction": "interactive", "summary": "Greeting file implementation plan", } ❯ test/e2e/mode_handlers.e2e.test.ts:111:45
Node.js SDK Tests (windows-latest, inprocess)
Process completed with exit code 1.
test/e2e/mode_handlers.e2e.test.ts > Mode handlers > should invoke exit plan mode handler when model uses tool: nodejs/test/e2e/mode_handlers.e2e.test.ts#L111
AssertionError: expected { …(4) } to match object { …(3) } (1 matching property omitted from actual) - Expected + Received { "actions": [ - "autopilot", "interactive", + "autopilot", "exit_only", ], "recommendedAction": "interactive", "summary": "Greeting file implementation plan", } ❯ test/e2e/mode_handlers.e2e.test.ts:111:45
Node.js SDK Tests (ubuntu-latest, default): nodejs/test/shared-codegen.test.ts#L322
Unexpected any. Specify a different type
Node.js SDK Tests (ubuntu-latest, default): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
Node.js SDK Tests (ubuntu-latest, default): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest, default): nodejs/test/shared-codegen.test.ts#L322
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest, default): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest, default): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest, inprocess): nodejs/test/shared-codegen.test.ts#L322
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest, inprocess): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest, inprocess): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
Node.js SDK Tests (ubuntu-latest, inprocess): nodejs/test/shared-codegen.test.ts#L322
Unexpected any. Specify a different type
Node.js SDK Tests (ubuntu-latest, inprocess): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
Node.js SDK Tests (ubuntu-latest, inprocess): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest, default): nodejs/test/shared-codegen.test.ts#L322
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest, default): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest, default): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest, inprocess): nodejs/test/shared-codegen.test.ts#L322
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest, inprocess): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest, inprocess): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type