Don't always set X-Gitlab-Duo-Seat-Count
What does this MR do and why?
See https://gitlab.com/gitlab-org/gitlab/-/issues/478912.
Don't always set X-Gitlab-Duo-Seat-Count
. This header is AI specific. It is now only included via the ai_headers
helper.
Previously, it was included in all HTTP requests upstream via Cloud Connector, but for example, Observability services don't use this and should not pay the penalty of an extra DB lookup.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
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
Numbered steps to set up and validate the change are strongly suggested.
Related to #478912