Draft: Support providing a custom session store#917
Draft: Support providing a custom session store#917SteveSandersonMS wants to merge 1 commit intomainfrom
Conversation
5b7cfff to
152e970
Compare
Cross-SDK Consistency ReviewI've reviewed this PR for consistency with the other SDK implementations (Python, Go, and .NET). This PR introduces a custom session data store feature to the Node.js/TypeScript SDK only. Summary of ChangesThis PR adds:
Consistency Gap IdentifiedFinding: This feature is not yet implemented in Python, Go, or .NET SDKs. The equivalent configuration options in other SDKs are:
None of these currently have a RecommendationSince this PR is marked as Draft and the body says "Not yet ready," I suggest:
ConclusionNo immediate action required since this is a draft PR. However, before marking this feature as generally available, consider implementing equivalent functionality in Python, Go, and .NET to maintain feature parity across the SDK suite. If this is intended as a Node.js-exclusive feature, that should be clearly documented with rationale. Great work on the test coverage and RPC handler design! The approach is clean and extensible. 👍
|
Cross-SDK Consistency ReviewI've reviewed this PR for consistency across the four SDK implementations (Node.js/TypeScript, Python, Go, and .NET). SummaryThis PR introduces a custom session data store feature to the Node.js/TypeScript SDK only. This creates a feature parity gap with the other SDK implementations. What This PR AddsThe PR adds a
Cross-SDK Status
RecommendationTo maintain feature parity, this capability should be added to the other three SDKs. Here's how it would map to each language's conventions: Python (
|
- Add sessionDataStore option to CopilotClientOptions - Extend codegen to generate client API handler types (SessionDataStoreHandler) - Register as session data storage provider on connection via sessionDataStore.setDataStore RPC - Add E2E tests for persist, resume, list, delete, and reject scenarios Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
152e970 to
3d11cff
Compare
Cross-SDK Consistency ReviewThis PR introduces a significant new feature: custom session data storage backend support via the What This PR Adds (Node.js/TypeScript only)
Missing From Other SDKsPython (
|
Not yet ready.