Skip to content

Use session.detach for SDK session cleanup #556

Use session.detach for SDK session cleanup

Use session.detach for SDK session cleanup #556

Triggered via pull request August 10, 2026 21:08
Status Failure
Total duration 15m 59s
Artifacts

required-checks.yml

on: pull_request
Select SDK workflows
5s
Select SDK workflows
Matrix: dotnet / test
Matrix: go / test
Matrix: java / java-sdk
Matrix: nodejs / test
Matrix: python / test
Matrix: rust / bundle
Matrix: rust / test-inprocess
Matrix: rust / test
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

67 errors and 33 warnings
nodejs / Node.js SDK Tests (ubuntu-latest, inprocess)
Process completed with exit code 1.
test/e2e/session.e2e.test.ts > Sessions > resumes a persisted session from a new client when an MCP OAuth handler is configured: nodejs/src/session.ts#L1976
Error: Failed to disconnect session cbb3f107-13f7-4277-b6ad-a7080234a9a1: Error: Request session.shutdown failed with message: Session not found for sessionId: cbb3f107-13f7-4277-b6ad-a7080234a9a1 ❯ CopilotSession.disconnect src/session.ts:1976:19 ❯ test/e2e/session.e2e.test.ts:496:4
test/e2e/session.e2e.test.ts > Sessions > should resume a session using a new client: nodejs/src/session.ts#L1976
Error: Failed to disconnect session 9eae72ca-90be-4577-b078-72d41a5c72ab: Error: Request session.shutdown failed with message: Session not found for sessionId: 9eae72ca-90be-4577-b078-72d41a5c72ab ❯ CopilotSession.disconnect src/session.ts:1976:19 ❯ test/e2e/session.e2e.test.ts:408:4
nodejs / Node.js SDK Tests (macos-latest, inprocess)
Process completed with exit code 1.
test/e2e/session.e2e.test.ts > Sessions > resumes a persisted session from a new client when an MCP OAuth handler is configured: nodejs/src/session.ts#L1976
Error: Failed to disconnect session f7295207-570f-4e7a-afa9-8922d96c7562: Error: Request session.shutdown failed with message: Session not found for sessionId: f7295207-570f-4e7a-afa9-8922d96c7562 ❯ CopilotSession.disconnect src/session.ts:1976:19 ❯ test/e2e/session.e2e.test.ts:496:4
test/e2e/session.e2e.test.ts > Sessions > should resume a session using a new client: nodejs/src/session.ts#L1976
Error: Failed to disconnect session 34d8ca33-f5ca-4387-9162-6291433c9c5f: Error: Request session.shutdown failed with message: Session not found for sessionId: 34d8ca33-f5ca-4387-9162-6291433c9c5f ❯ CopilotSession.disconnect src/session.ts:1976:19 ❯ test/e2e/session.e2e.test.ts:408:4
python / Python SDK Tests (ubuntu-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, default)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (ubuntu-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, inprocess)
No cached response found for POST /chat/completions.
python / Python SDK Tests (macos-latest, inprocess)
No cached response found for POST /chat/completions.
nodejs / Node.js SDK Tests (windows-latest, inprocess)
Process completed with exit code 1.
test/e2e/session.e2e.test.ts > Sessions > resumes a persisted session from a new client when an MCP OAuth handler is configured: nodejs/src/session.ts#L1976
Error: Failed to disconnect session 57732483-6238-4577-a16e-4645f5b2ac0e: Error: Request session.shutdown failed with message: Session not found for sessionId: 57732483-6238-4577-a16e-4645f5b2ac0e ❯ CopilotSession.disconnect src/session.ts:1976:19 ❯ test/e2e/session.e2e.test.ts:496:4
test/e2e/session.e2e.test.ts > Sessions > should resume a session using a new client: nodejs/src/session.ts#L1976
Error: Failed to disconnect session 00e8e8d8-a7c8-4cbf-b2c9-9d1499274462: Error: Request session.shutdown failed with message: Session not found for sessionId: 00e8e8d8-a7c8-4cbf-b2c9-9d1499274462 ❯ CopilotSession.disconnect src/session.ts:1976:19 ❯ test/e2e/session.e2e.test.ts:408:4
dotnet / .NET SDK Tests (macos-latest, inprocess, capi, full)
Process completed with exit code 1.
dotnet / .NET SDK Tests (macos-latest, inprocess, capi, full)
No cached response found for POST /chat/completions.
dotnet / .NET SDK Tests (macos-latest, inprocess, capi, full)
No cached response found for POST /chat/completions.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, openai-responses, full)
Process completed with exit code 1.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, openai-responses, full)
No cached response found for POST /responses.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, openai-responses, full)
No cached response found for POST /responses.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, openai-completions, full)
Process completed with exit code 1.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, openai-completions, full)
No cached response found for POST /chat/completions.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, openai-completions, full)
No cached response found for POST /chat/completions.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, anthropic-messages, full)
Process completed with exit code 1.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, anthropic-messages, full)
No cached response found for POST /v1/messages.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, anthropic-messages, full)
No cached response found for POST /v1/messages.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, capi, full)
Process completed with exit code 1.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, capi, full)
No cached response found for POST /chat/completions.
dotnet / .NET SDK Tests (ubuntu-latest, inprocess, capi, full)
No cached response found for POST /chat/completions.
dotnet / .NET SDK Tests (windows-latest, default, capi, 2)
No cached response found for POST /chat/completions.
dotnet / .NET SDK Tests (windows-latest, default, capi, 2)
No cached response found for POST /chat/completions.
dotnet / .NET SDK Tests (windows-latest, default, capi, 2)
No cached response found for POST /chat/completions.
.NET required
Process completed with exit code 1.
.NET required
dotnet SDK checks were selected=true with result=failure.
Node.js required
Process completed with exit code 1.
Node.js required
nodejs SDK checks were selected=true with result=failure.
Select SDK workflows
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: dorny/paths-filter@6852f92c20ea7fd3b0c25de3b5112db3a98da050. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
rust / Rust SDK Bundled CLI Build (ubuntu-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
nodejs / Node.js SDK Tests (macos-latest, default): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
nodejs / Node.js SDK Tests (macos-latest, default): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
nodejs / Node.js SDK Tests (ubuntu-latest, default): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
nodejs / Node.js SDK Tests (ubuntu-latest, default): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
rust / Rust SDK Bundled CLI Build (macos-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
nodejs / Node.js SDK Tests (ubuntu-latest, inprocess): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
nodejs / Node.js SDK Tests (ubuntu-latest, inprocess): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
rust / Rust SDK Bundled CLI Build (windows-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
nodejs / Node.js SDK Tests (macos-latest, inprocess): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
nodejs / Node.js SDK Tests (macos-latest, inprocess): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
rust / Rust SDK Tests (macos-latest, default)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
go / Go SDK Tests (macos-latest, default)
Restore cache failed: Dependencies file is not found in /Users/runner/work/copilot-sdk/copilot-sdk. Supported file pattern: go.mod
go / Go SDK Tests (ubuntu-latest, default)
Restore cache failed: Dependencies file is not found in /home/runner/work/copilot-sdk/copilot-sdk. Supported file pattern: go.mod
nodejs / Node.js SDK Tests (windows-latest, default): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
nodejs / Node.js SDK Tests (windows-latest, default): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
go / Go SDK Tests (ubuntu-latest, inprocess)
Restore cache failed: Dependencies file is not found in /home/runner/work/copilot-sdk/copilot-sdk. Supported file pattern: go.mod
go / Go SDK Tests (macos-latest, inprocess)
Restore cache failed: Dependencies file is not found in /Users/runner/work/copilot-sdk/copilot-sdk. Supported file pattern: go.mod
rust / Rust SDK Tests (ubuntu-latest, default)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
nodejs / Node.js SDK Tests (windows-latest, inprocess): nodejs/test/extension.test.ts#L41
Unexpected any. Specify a different type
nodejs / Node.js SDK Tests (windows-latest, inprocess): nodejs/test/extension.test.ts#L23
Unexpected any. Specify a different type
rust / Rust SDK Tests (macos-latest, inprocess)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
rust / Rust SDK Tests (ubuntu-latest, inprocess)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
rust / Rust SDK Tests (windows-latest, default)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
go / Go SDK Tests (windows-latest, default)
Restore cache failed: Dependencies file is not found in D:\a\copilot-sdk\copilot-sdk. Supported file pattern: go.mod
go / Go SDK Tests (windows-latest, inprocess)
Restore cache failed: Dependencies file is not found in D:\a\copilot-sdk\copilot-sdk. Supported file pattern: go.mod