This repository was archived by the owner on May 20, 2026. It is now read-only.
clean up unused chat replay feature#4879
Merged
Merged
Conversation
d92a0e3 to
63d9634
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Removes the unused “chat replay” feature (participant, notebook serializer, debug session, and tool) and updates request log exporting to a simpler JSON export format.
Changes:
- Deleted the chat replay runtime implementation (participant/session provider/notebook serializer/debug adapter) and its associated tests.
- Removed the
tool_replaytool and all related tool name/registration/snapshot references. - Switched request log JSON export helpers from the replay module to
chatLogExportand changed default export filenames to*.json.
Reviewed changes
Copilot reviewed 26 out of 27 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/extension/tools/node/toolReplayTool.tsx | Deleted tool implementation used to replay tool results from recorded sessions. |
| src/extension/tools/node/allTools.ts | Removed registration import for the deleted tool replay tool. |
| src/extension/tools/common/toolNames.ts | Removed ToolReplay from tool enums and category mapping. |
| src/extension/replay/vscode-node/test/chatReplayNotebook.spec.ts | Deleted notebook serializer/export tests for the removed replay feature. |
| src/extension/replay/vscode-node/replayDebugSession.ts | Deleted debug adapter session used for stepping through replay logs. |
| src/extension/replay/vscode-node/chatReplaySessionProvider.ts | Deleted chat session content provider for replay logs. |
| src/extension/replay/vscode-node/chatReplayParticipant.ts | Deleted chat participant that executed replay steps and invoked the replay tool. |
| src/extension/replay/vscode-node/chatReplayNotebookSerializer.ts | Deleted notebook serializer for *.chatreplay.json files. |
| src/extension/replay/vscode-node/chatReplayContrib.ts | Deleted contribution wiring for the replay participant, notebook serializer, and debug adapter/commands. |
| src/extension/replay/node/replayParsing.spec.ts | Deleted replay parser unit test. |
| src/extension/replay/node/replayParser.ts | Deleted replay parser used to interpret exported replay JSON into steps. |
| src/extension/replay/node/chatReplayExport.ts | Deleted replay export helpers (replaced by chat log export helpers). |
| src/extension/replay/common/chatReplayResponses.ts | Deleted shared replay response queue/state container. |
| src/extension/prompts/node/agent/test/snapshots/agentPrompts-claude-sonnet-4.5/all_tools.spec.snap | Updated snapshot to remove tool_replay from available tools list. |
| src/extension/prompts/node/agent/test/snapshots/agentPrompts-claude-sonnet-4.5/all_non_edit_tools.spec.snap | Updated snapshot to remove tool_replay from available tools list. |
| src/extension/prompts/node/agent/test/snapshots/agentPrompts-claude-opus-4.6/all_tools.spec.snap | Updated snapshot to remove tool_replay from available tools list. |
| src/extension/prompts/node/agent/test/snapshots/agentPrompts-claude-opus-4.6/all_non_edit_tools.spec.snap | Updated snapshot to remove tool_replay from available tools list. |
| src/extension/prompts/node/agent/test/snapshots/agentPrompts-claude-opus-4.6-fast/all_tools.spec.snap | Updated snapshot to remove tool_replay from available tools list. |
| src/extension/prompts/node/agent/test/snapshots/agentPrompts-claude-opus-4.6-fast/all_non_edit_tools.spec.snap | Updated snapshot to remove tool_replay from available tools list. |
| src/extension/prompts/node/agent/test/snapshots/agentPrompts-claude-opus-4.5/all_tools.spec.snap | Updated snapshot to remove tool_replay from available tools list. |
| src/extension/prompts/node/agent/test/snapshots/agentPrompts-claude-opus-4.5/all_non_edit_tools.spec.snap | Updated snapshot to remove tool_replay from available tools list. |
| src/extension/log/vscode-node/requestLogTree.ts | Switched export helpers to chatLogExport and changed default JSON export filenames. |
| src/extension/log/node/chatLogExport.ts | Refactored export types/helpers to replace removed replay export module. |
| src/extension/extension/vscode-node/contributions.ts | Removed registration of the deleted ChatReplayContribution. |
| package.nls.json | Removed command titles for deleted edit tracing commands. |
| package.json | Removed tool contribution, replay chat participant, replay commands/menus, notebook association, and debugger contribution for replay. |
Comments suppressed due to low confidence (1)
src/extension/log/node/chatLogExport.ts:86
ExportedPromptis exported (and imported by requestLogTree), but itslogsproperty referencesExportedLogEntry, which is not exported from this module. TypeScript will error on exporting a type that uses a private name. ExportExportedLogEntry(and any referenced types likeExportedLogMetadata), or inline those types into the exported interfaces.
Yoyokrazy
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I think several things have broken with this feature with no complaints, and there are much easier ways to troubleshoot now, so we should just yank this out