Skip to content

chore: removes reference to X-Gitlab-Saas-Namespace-Ids

Shola Quadri requested to merge 442366/squadri/remove-namespace-ids-headers into main

What does this merge request do and why?

This MR addresses gitlab-org/gitlab#442366

We were sending an empty string for the 'X-Gitlab-Saas-Namespace-Ids' header to the AI Gateway via ee/lib/api/code_suggestions.rb. This is because the header values are deprecated.

This cleanup follows a previous MR that updated the Snowplow schema to version 3-5-0. As the new version doesn't include 'X-Gitlab-Saas-Namespace-Ids', we removed its references in AIGW.

This MR is a final step to removing the remaining references to the header and cleaning up the codebase.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request checklist

  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.

Merge request reports

Loading