This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(search): Enable improved symbol parsing for large repos (when us…
…ing Rockskip) (#63988) During an investigation, we saw that Rockskip was not using scip-ctags for symbol parsing when applicable. This means that 1. Rockskip is getting less than optimal symbols for certain languages (like Go) 2. Rockskip is getting no symbols for languages not in universal ctags (Magik) This PR attempts to solve this problem but updating Rockskip to re-use the ctags parser pool logic from symbol service. ### Key Changes - Update parser pool to be re-usable - Push common logic for parser type detection into the parser pool module - Update rockskip service config to take a parser pool - Update and add unit/integration tests ## Questions - What performance impact will using this pooled parser have compared to its previous behavior of spawning a new ctags process each time? ## Test plan - [x] Add unit tests - [x] Update integration tests - [x] Manually test rockskip - [x] Manually test symbolservice (in case of regression) --------- Co-authored-by: Keegan Carruthers-Smith <[email protected]>
- Loading branch information
1 parent
60d450b
commit b2e550c
Showing
18 changed files
with
333 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.