Commit Graph

17 Commits

Author SHA1 Message Date
Matt Bierner cf82f857de Add basic github lexical search
Fixes #312210

This is using the old search endpoint. We'll start switching over the new one once it's ready

Co-authored-by: Copilot <copilot@github.com>
2026-04-23 14:16:49 -07:00
copilot-swe-agent[bot] 9e2a9e3681 Fix ADO semantic search status checks retrying on 401/403 auth failures
Return 'not-authorized' for 401/403 HTTP responses in adoCodeSearchService
instead of 'generic-error' (resolves existing TODO). Skip NotAuthorized repos
in refreshStatusFromEndpoint to prevent repeated failing API calls.

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/e6f39624-3fca-43ac-955f-e1e9b074d7af

Co-authored-by: sbatten <6561887+sbatten@users.noreply.github.com>
2026-04-14 14:38:48 +00:00
Matt Bierner 8ce07df287 Extract out IGithubApiFetcherService (#4171)
* Extract out `IGithubApiFetcherService`

This service provides a consistent way to call github apis with throttling and error handling

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-03 23:44:58 +00:00
Rob Lourens 976029131b Refactor networking method args (#3916) 2026-02-23 15:34:28 +00:00
Sandeep Somavarapu fedde4f1f1 clean up: (#2040)
* clean up:
- simplify namespaces
- simplify defining settings

* fix unused configs
2025-11-17 14:32:52 +00:00
Sandeep Somavarapu a943613f4f migrate internal settings to advanced (#2028)
* Reapply "first cut - migrate settings marked with INTERNAL and adopt to advanc…" (#2021)

This reverts commit 9dfc3993af.

* fix default values of migrated settings
2025-11-15 15:29:04 +00:00
Alexandru Dima 9dfc3993af Revert "first cut - migrate settings marked with INTERNAL and adopt to advanc…" (#2021)
This reverts commit 3898ba5474.
2025-11-14 21:59:22 +00:00
Sandeep Somavarapu 3898ba5474 first cut - migrate settings marked with INTERNAL and adopt to advanced tag (#1717)
* first cut - migrate settings marked with INTERNAL and adopt to advanced tag

* support old key while
- reading config value
- reading experiment
- listening to changes

* make experiment change event aware of old id

* fix tests

* fix tests

* Add backward support for the pattern used in older experiments

* fix id

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-11-14 17:04:48 +00:00
Matt Bierner 2420cc2081 Remove old enable WorkspaceEnableAdoCodeSearch experiment (#1119)
We can disable still code search if needed using `WorkspaceEnableCodeSearch` but I don't think we need this experiment now that ado is rolled out everywhere
2025-09-24 03:37:34 +00:00
Rob Lourens 0044ab75e7 Clean up parameters in fetch methods just a little bit (#1031) 2025-09-12 04:41:50 +00:00
Matt Bierner 52bc8a0135 Add more logging and exec time telemetry for ado code search (#798)
- Add logging for debugging how many results we get back from ADO
- Add telemetry point around execTimes
2025-08-27 21:11:46 +00:00
Matt Bierner 9f98bd447d Add telemetry on ado remote index status requests (#761) 2025-08-26 05:34:04 +00:00
Matt Bierner c257f79722 Also move getting ado auth token into AdoCodeSearchService (#675)
Follow up on #673, doing the same for ado
2025-08-19 21:23:58 +00:00
Matt Bierner d4ab2493fb Enable ado code search by default (#317) 2025-07-21 17:37:47 +00:00
Matt Bierner 8e54ae7c45 Add metadata headers to ado requests (#165)
Useful for tracking if the request was from stable/insiders
2025-07-08 19:56:11 +00:00
Matt Bierner 9830c4ee36 Make sure we update the ado index state when setting changes (#119)
Fixes microsoft/vscode#254010
2025-07-04 00:00:55 +00:00
kieferrm 333d9a4053 Hello Copilot
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-06-27 11:35:20 +02:00