Files
vscode/extensions/copilot/src/platform/search
Logan RamosandCopilot 88a8ef6f79 Harden content exclusion failrue condition (#332368)
* Harden content exclusion failrue condition

* Address review feedback on content exclusion hardening

- findFiles appends the exclusion as its own exclude entry instead of merging
  it into the caller's patterns, preserving RelativePattern baseUri semantics.
- Remove combineGlob, now unused. VS Code's search glob engine cannot combine a
  character class alternative into a larger group, so a string merge is lossy
  for some inputs no matter how the braces are handled.
- Apply maxResults to the filtered text search stream and cancel the search once
  the limit is met, so excluded hits cannot use up the caller's quota.
- Bound the concurrency of exclusion checks when filtering search results.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 26d0669e-e852-4f31-9aca-a0f58930e66c

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 26d0669e-e852-4f31-9aca-a0f58930e66c
2026-08-24 17:35:39 +00:00
..