feat(vscode): add /bug command to VS Code chat UI#2
Draft
dot-agi wants to merge 5 commits into
Draft
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Adds a /bug slash command to the VS Code extension that opens a GitHub issue form pre-populated with system information (VS Code version, extension version, platform, architecture, Node version). Implements: - BugMessageHandler to handle bug report requests - Integration with MessageRouter for webview communication - /bug command in chat completion menu with WarningTriangleIcon Includes 7 unit tests covering handler behavior, URL building, and error handling. Fixes QwenLM#1551 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
dot-agi
force-pushed
the
fix/vscode-bug-command
branch
from
January 22, 2026 12:37
e4d4387 to
de50261
Compare
Add afterEach with vi.restoreAllMocks() and reorder imports alphabetically to match the test style used in other test files like extension.test.ts and open-files-manager.test.ts. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Change extension ID from 'anthropic.qwen-code' to 'qwenlm.qwen-code-vscode-ide-companion' to match the actual extension ID defined in package.json (publisher: qwenlm, name: qwen-code-vscode-ide-companion). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Code Coverage Summary
CLI Package - Full Text ReportCore Package - Full Text ReportFor detailed HTML reports, please see the 'coverage-reports-22.x-ubuntu-latest' artifact from the main CI run. |
- Make getExtension mock ID-specific to catch wrong extension ID bugs - Add test to verify extension version appears in bug report URL - Add test to verify VS Code version appears in bug report URL Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
dot-agi
force-pushed
the
fix/vscode-bug-command
branch
from
January 23, 2026 18:35
10db497 to
1dffdad
Compare
Use case-insensitive matching for GitHub URL and system info field names to avoid brittle tests that fail on valid implementations with different casing. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
/bugslash command to the VS Code extension chat UITest plan
Fixes QwenLM#1551
🤖 Generated with Claude Code