Add graceful runtime shutdown to SDK clients (#1667) · github/copilot-sdk@b49fbab · GitHub
Skip to content

Commit b49fbab

Browse files
stephentoubCopilot
andauthored
Add graceful runtime shutdown to SDK clients (#1667)
Call runtime.shutdown during normal client stop for SDK-owned CLI processes across all language SDKs (Node, Python, Go, .NET, Rust, Java). Add bounded cleanup, timing diagnostics, and lifecycle coverage while preserving force-stop and external-runtime behavior. Restores the functionality from PR #1539, whose commits were lost from main. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bd7b50a commit b49fbab

16 files changed

Lines changed: 978 additions & 226 deletions

File tree

‎dotnet/src/Client.cs‎

Lines changed: 80 additions & 11 deletions

‎dotnet/test/E2E/TelemetryExportE2ETests.cs‎

Lines changed: 12 additions & 38 deletions

0 commit comments

Comments
 (0)