[go: up one dir, main page]

Skip to content

Add an option to enable/disable Code intelligence feature

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Follow-up for source code page fails to load if Job artifact ... (#472420 - closed)

Problem

Currently, there is no way to disable Code intelligence feature.

On blob's load we always search for LSIF generated artifact even if the LSIF job is missing.

The Postgres planner problem occurred in #472420 (closed) highlighted that Code intelligence feature cannot be disabled and available for all projects that don't even use it.

Current status

Handle a slow query from CodeNavigationPath (!162894 - merged) added a workaround that disables the whole Code intelligence feature on the instance if fetching of LSIF artifact takes too long.

However, it's not an ideal solution.

Proposal

  1. Add an option to enable/disable Code intelligence feature per project or group.
  2. Explore an option to optimize LSIF discovery. Try to fetch LSIF artifact only if the project supports it.
Edited by 🤖 GitLab Bot 🤖