豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Clean up a bit more legacy code around workspace chunk search#4795

Merged
mjbvz merged 2 commits intomicrosoft:mainfrom
mjbvz:dev/mjbvz/violent-haddock
Mar 28, 2026
Merged

Clean up a bit more legacy code around workspace chunk search#4795
mjbvz merged 2 commits intomicrosoft:mainfrom
mjbvz:dev/mjbvz/violent-haddock

Conversation

@mjbvz
Copy link
Copy Markdown
Contributor

@mjbvz mjbvz commented Mar 28, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 28, 2026 04:34
@mjbvz mjbvz enabled auto-merge March 28, 2026 04:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes legacy “strategy” abstractions around workspace chunk search, simplifying types and telemetry plumbing now that code search is the only supported retrieval path.

Changes:

  • Removed WorkspaceChunkSearchStrategyId / IWorkspaceChunkSearchStrategy and updated implementations/call sites accordingly.
  • Dropped strategy from WorkspaceChunkSearchResult and removed associated semantic search feedback/telemetry fields.
  • Simplified availability/indexing hooks by delegating availability to CodeSearchChunkSearch and removing the auth-upgrade-triggered remote indexing path.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/platform/workspaceChunkSearch/node/workspaceChunkSearchService.ts Removes legacy strategy plumbing and auth-upgrade indexing hook; updates search flow and telemetry.
src/platform/workspaceChunkSearch/node/embeddingsChunkSearch.ts Removes implementation of the deleted strategy interface/id.
src/platform/workspaceChunkSearch/node/codeSearch/codeSearchChunkSearch.ts Removes strategy interface/id usage and replaces local diff strategy id emission with a string.
src/platform/workspaceChunkSearch/common/workspaceChunkSearch.ts Deletes strategy enum/interface types from the shared API surface.
src/extension/workspaceSemanticSearch/node/semanticSearchTextSearchProvider.ts Removes strategy from feedback telemetry and GDPR schema.
src/extension/conversation/vscode-node/feedbackReporter.ts Removes strategy from feedback telemetry event schema/payload.

Comment thread src/platform/workspaceChunkSearch/node/workspaceChunkSearchService.ts Outdated
…vice.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mjbvz mjbvz added this pull request to the merge queue Mar 28, 2026
Merged via the queue into microsoft:main with commit f21049d Mar 28, 2026
9 checks passed
@mjbvz mjbvz deleted the dev/mjbvz/violent-haddock branch March 28, 2026 06:22
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.

3 participants