Skip to content

Add post-tool-use failure hooks #2003

Add post-tool-use failure hooks

Add post-tool-use failure hooks #2003

Triggered via pull request May 25, 2026 20:33
Status Failure
Total duration 5m 53s
Artifacts

nodejs-sdk-tests.yml

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

Annotations

24 errors, 9 warnings, and 1 notice
Node.js SDK Tests (ubuntu-latest)
Process completed with exit code 1.
test/e2e/hooks_extended.e2e.test.ts > Extended session hooks > should invoke postToolUseFailure hook for failed tool result: nodejs/test/e2e/hooks_extended.e2e.test.ts#L304
Error: Test timed out in 30000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/e2e/hooks_extended.e2e.test.ts:304:5
Node.js SDK Tests (ubuntu-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (ubuntu-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (ubuntu-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (ubuntu-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (ubuntu-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (ubuntu-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (macos-latest)
Process completed with exit code 1.
test/e2e/hooks_extended.e2e.test.ts > Extended session hooks > should invoke postToolUseFailure hook for failed tool result: nodejs/test/e2e/hooks_extended.e2e.test.ts#L304
Error: Test timed out in 30000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/e2e/hooks_extended.e2e.test.ts:304:5
Node.js SDK Tests (macos-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (macos-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (macos-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (macos-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (macos-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (macos-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (windows-latest)
Process completed with exit code 1.
test/e2e/hooks_extended.e2e.test.ts > Extended session hooks > should invoke postToolUseFailure hook for failed tool result: nodejs/test/e2e/hooks_extended.e2e.test.ts#L304
Error: Test timed out in 30000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/e2e/hooks_extended.e2e.test.ts:304:5
Node.js SDK Tests (windows-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (windows-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (windows-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (windows-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (windows-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (windows-latest): nodejs/test/e2e/hooks_extended.e2e.test.ts#L0
No cached response found for POST /chat/completions.
Node.js SDK Tests (ubuntu-latest): nodejs/test/shared-codegen.test.ts#L322
Unexpected any. Specify a different type
Node.js SDK Tests (ubuntu-latest): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
Node.js SDK Tests (ubuntu-latest): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest): nodejs/test/shared-codegen.test.ts#L322
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
Node.js SDK Tests (macos-latest): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest): nodejs/test/shared-codegen.test.ts#L322
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
Node.js SDK Tests (windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026