Skip to content

fix: regenerate stale hook snapshots for updated runtime #903

fix: regenerate stale hook snapshots for updated runtime

fix: regenerate stale hook snapshots for updated runtime #903

Triggered via pull request April 1, 2026 13:48
Status Failure
Total duration 3m 34s
Artifacts

nodejs-sdk-tests.yml

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

Annotations

13 errors and 6 warnings
Node.js SDK Tests (ubuntu-latest)
Process completed with exit code 1.
test/e2e/hooks.test.ts > Session hooks > should invoke both preToolUse and postToolUse hooks for a single tool call: nodejs/test/e2e/hooks.test.ts#L108
AssertionError: expected 0 to be greater than 0 ❯ test/e2e/hooks.test.ts:108:42
test/e2e/hooks.test.ts > Session hooks > should invoke postToolUse hook after model runs a tool: nodejs/test/e2e/hooks.test.ts#L73
AssertionError: expected 0 to be greater than 0 ❯ test/e2e/hooks.test.ts:73:42
Node.js SDK Tests (ubuntu-latest): nodejs/test/e2e/session_config.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user"}
Node.js SDK Tests (ubuntu-latest): nodejs/test/e2e/session.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user","content":"Run 'sleep 2 && echo done'"}
Node.js SDK Tests (macos-latest)
Process completed with exit code 1.
test/e2e/hooks.test.ts > Session hooks > should invoke both preToolUse and postToolUse hooks for a single tool call: nodejs/test/e2e/hooks.test.ts#L108
AssertionError: expected 0 to be greater than 0 ❯ test/e2e/hooks.test.ts:108:42
test/e2e/hooks.test.ts > Session hooks > should invoke postToolUse hook after model runs a tool: nodejs/test/e2e/hooks.test.ts#L73
AssertionError: expected 0 to be greater than 0 ❯ test/e2e/hooks.test.ts:73:42
Node.js SDK Tests (macos-latest): nodejs/test/e2e/session_config.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user"}
Node.js SDK Tests (windows-latest)
Process completed with exit code 1.
test/e2e/hooks.test.ts > Session hooks > should invoke both preToolUse and postToolUse hooks for a single tool call: nodejs/test/e2e/hooks.test.ts#L108
AssertionError: expected 0 to be greater than 0 ❯ test/e2e/hooks.test.ts:108:42
test/e2e/hooks.test.ts > Session hooks > should invoke postToolUse hook after model runs a tool: nodejs/test/e2e/hooks.test.ts#L73
AssertionError: expected 0 to be greater than 0 ❯ test/e2e/hooks.test.ts:73:42
Node.js SDK Tests (windows-latest): nodejs/test/e2e/session_config.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user"}
Node.js SDK Tests (ubuntu-latest): nodejs/test/extension.test.ts#L39
Unexpected any. Specify a different type
Node.js SDK Tests (ubuntu-latest): nodejs/test/extension.test.ts#L22
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest): nodejs/test/extension.test.ts#L39
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest): nodejs/test/extension.test.ts#L22
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest): nodejs/test/extension.test.ts#L39
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest): nodejs/test/extension.test.ts#L22
Unexpected any. Specify a different type