Skip to content

RFC: Implement code intelligence for gitlab-org/gitlab

The scaling issue has been discussed #202189 (closed) and even though we haven't seen it in action yet, it seems as if we're on the right track!

One of the issues that prevent us from having code intelligence on gitlab-org/gitlab is that there's no library which indexes a Ruby project into LSIF file: https://lsif.dev/

The popular libraries provide LSP servers for code intelligence, but they don't provide a way to generate LSIF

Sourcegraph uses basic code intelligence for Ruby https://sourcegraph.com/extensions/sourcegraph/ruby

Apparently, we need to create our own solution for indexing a Ruby project (or work it around). Not necessarily the one which generates a valid LSIF file, but at least the one which conforms with our parsing logic

Edited by Igor Drozdov