Skip to content

Fix copilot PR feedback items#85

Merged
mattwar merged 2 commits into
mainfrom
user/mattwar/ResultHistoryChangesFixes
Apr 16, 2026
Merged

Fix copilot PR feedback items#85
mattwar merged 2 commits into
mainfrom
user/mattwar/ResultHistoryChangesFixes

Conversation

@mattwar

@mattwar mattwar commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings April 16, 2026 19:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds coverage for recent HistoryManager query-matching APIs and prevents unhandled promise rejections when revealing history items in the VS Code tree view.

Changes:

  • Added unit tests for hasEntryForQuery, getMatchingEntry, and getEntryData.
  • Added rejection handling for TreeView.reveal() calls in the history panel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Client/tests/unit/historyManager.test.ts Adds new unit tests validating query-hash matching and entry data retrieval behavior.
src/Client/features/historyPanel.ts Handles TreeView.reveal() failures to avoid unhandled promise rejections.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Client/tests/unit/historyManager.test.ts Outdated
@mattwar mattwar merged commit 63b0883 into main Apr 16, 2026
5 checks passed
@mattwar mattwar deleted the user/mattwar/ResultHistoryChangesFixes branch April 16, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants