Remove zoekt_language_aggregations feature flag

What does this MR do and why?

Removes the zoekt_language_aggregations feature flag and keeps the feature. The language filter in the code search sidebar is now always available for exact code search (Zoekt).

The flag has been enabled for everyone on GitLab.com since 2026-09-21 (feature flag log).

Changes:

  • Backend: drops the flag checks in Search::Zoekt::SearchResults (aggregations and known_languages) and Search::Zoekt::CodeQueryBuilder (language filter).
  • Frontend: drops zoekt_language_aggregations_enabled from the search sidebar data, the Vuex state, and the checks in the store actions and blobs_filters.vue.
  • GraphQL: removes "Requires the zoekt_language_aggregations feature flag" from the language argument of blobSearch. The argument stays an experiment.
  • Deletes the flag definition and the specs that covered the disabled state.

References

Screenshots or screen recordings

N/A. Nothing changes on GitLab.com, where the flag is already enabled.

How to set up and validate locally

You need GDK with exact code search (Zoekt) enabled and a group indexed.

  1. Search for code in that group, for example http://gdk.test:3000/search?group_id=<id>&scope=blobs&search=def.
  2. The sidebar shows the Language filter with counts, and selecting a language narrows the results.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

🤖 Generated with Claude Code

Merge request reports

Loading
Loading