Draft: PoC for tree-sitter integration
What does this MR do and why?
This MR contains PoC for including tree sitter as part of GitLab monolith.
This MR is far from being production ready state, however its purpose is to demonstrate approach to include tree sitter as a node package due to the Ruby gems for tree sitter are stale and incomplete and are based on native extensions which are host machine architecture dependant significantly increasing distribution effort.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Run
yarn install
to install new packages - Run
bin/rspec ee/spec/lib/code_suggestions/model_selector_spec.rb
- Verify test suite results all but one (
ee/spec/lib/code_suggestions/model_selector_spec.rb:75
) test should pass
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mikołaj Wawrzyniak