-
Couldn't load subscription status.
- Fork 148
chore: merge list-search-indexes into collection-indexes #654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Merge functionality of the former list-search-indexes tool into collection-indexes, consolidating index (regular + search/vector) reporting behind a single tool.
- Remove list-search-indexes tool and its tests; extend collection-indexes tool to also retrieve search and vector search indexes (behind feature flag and search support check).
- Update integration and accuracy tests to reflect merged behavior, including scenarios with/without voyage API key and queryable search indexes.
- Adjust tooling registry to drop the removed tool.
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/integration/tools/mongodb/search/listSearchIndexes.test.ts | Removed obsolete integration tests for deprecated list-search-indexes tool. |
| tests/integration/tools/mongodb/read/collectionIndexes.test.ts | Expanded tests to cover regular, search, and vector search indexes plus feature flag / API key scenarios. |
| tests/integration/tools/mongodb/create/createIndex.test.ts | Minor config simplification for user config object. |
| tests/accuracy/listSearchIndexes.test.ts | Removed accuracy tests for deprecated tool. |
| tests/accuracy/collectionIndexes.test.ts | Added accuracy prompts formerly covered by list-search-indexes. |
| src/tools/mongodb/tools.ts | Removed registration of deprecated ListSearchIndexesTool. |
| src/tools/mongodb/search/listSearchIndexes.ts | Deleted deprecated tool implementation. |
| src/tools/mongodb/metadata/collectionIndexes.ts | Added search/vector index extraction and combined output formatting. |
tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
📊 Accuracy Test Results📈 Summary
📊 Baseline Comparison
📎 Download Full HTML Report - Look for the Report generated on: 10/20/2025, 7:12:32 AM |
Proposed changes
Checklist