Fix the docs link in the GitLab.com rate limit 429 response body (rate_limiting_response_text)
<!--Please review https://handbook.gitlab.com/handbook/engineering/infrastructure-platforms/change-management/ for the most recent information on our change plans and execution policies.-->
# Production Change
## Change Summary
Update the `rate_limiting_response_text` application setting on GitLab.com so the 429 response body links to the current rate limits docs page.
Current value:
```
Rate limit exceeded; see https://docs.gitlab.com/ee/user/gitlab_com/#gitlabcom-specific-rate-limits for more details
```
New value:
```
Rate limit exceeded; see https://docs.gitlab.com/user/gitlab_com/rate_limits/ for more details
```
The old URL redirects to the GitLab.com settings page, but the `#gitlabcom-specific-rate-limits` anchor no longer exists there. Rate limits moved to their own page, https://docs.gitlab.com/user/gitlab_com/rate_limits/. A docs redirect cannot fix this, because browsers never send the fragment to the server. Only the stored text can change.
This is a text-only change. It does not change which requests are throttled. The setting is global, so it applies to every throttle that returns this body, not only the tier-aware limits rolling out in https://gitlab.com/gitlab-com/gl-infra/production/-/work_items/23241. As that rollout ramps up, more clients see the stale link, and users are calling it out publicly: https://www.reddit.com/r/gitlab/comments/1xbwqrc/comment/19rge1m0sjhnk/
Context:
- The setting was introduced in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50693 and set on GitLab.com in https://gitlab.com/gitlab-com/gl-infra/production/-/work_items/3284 (C3, January 2021) with the same console command used below.
- The code default is `Retry later`. `lib/gitlab/throttle.rb` returns the setting verbatim with a trailing newline. No code change is involved.
- The spec fixture that mirrors this value is updated to the new URL in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/265418. It is test-only and does not depend on this change.
- The same stale link shows up in Duo Workflow Service 429 error reports (https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/work_items/3362) and in #rate-limits-customer-outreach (https://gitlab.slack.com/archives/C0C06SR29M2/p1792420170529329).
## Change Details
<!--To automatically add your change to the GitLab Production calendar update the following fields:
- Time tracking
- Scheduled Date and Time (UTC in format YYYY-MM-DD HH:MM)
Bot: https://gitlab.com/gitlab-com/gl-infra/ops-team/toolkit/change-scheduler-->
1. **Services Impacted** - ~"Service::RateLimiting" ~"Service::API" ~"Service::Web" ~"Service::Git"
2. **Change Technician** - `@jomartin1` (SRE on call). `@sankalp_gl` coordinates.
3. **Change Reviewer** - Tenant Controls first: `@hardikgala` `@navjotbans` `@ashs2` `@nindurkar` `@hmerscher`
4. **Scheduled Date and Time (UTC in format YYYY-MM-DD HH:MM)** - 2026-10-28 09:00, or whenever the SRE on call has ten minutes
5. **Time tracking** - 10 minutes
6. **Downtime Component** - none
> [!note]
>
> To find a **Change Reviewer**, use the [Reviewer Roulette dashboard](https://gitlab-org.gitlab.io/gitlab-roulette/?currentProject=production&order=1) scoped to the `production` project. Spin the wheel. If roulette selects the current EOC (check [the incident.io GitLab.com Production EOC schedule](https://app.incident.io/gitlab/on-call/schedules/01K5YWAGZ7YCQGAG7ATQ9XQWHW)), please re-spin to select another reviewer.
## Preparation
> [!note]
>
> The following checklists must be done in advance, before setting the label ~"change::scheduled"
### Change Reviewer checklist
<!--To be filled out by the reviewer.-->
~C4 ~C3 ~C2 ~C1:
- [x] Check if the following applies:
- The **scheduled day and time** of execution of the change is appropriate.
- The [change plan](#detailed-steps-for-the-change) is technically accurate.
- The change plan includes **estimated timing values** based on previous testing.
- The change plan includes a viable [rollback plan](#rollback).
- The specified [metrics/monitoring dashboards](#key-metrics-to-observe) provide sufficient visibility for the change.
### Change Technician checklist
- [x] The [Change Criticality](https://handbook.gitlab.com/handbook/engineering/infrastructure-platforms/change-management/#change-criticalities) has been set appropriately and requirements have been reviewed.
- [x] The [change plan](#detailed-steps-for-the-change) is technically accurate.
- [x] The [rollback plan](#rollback) is technically accurate and detailed enough to be executed by anyone with access.
- [x] This Change Issue is linked to the appropriate Issue and/or Epic
- [ ] Change has been tested in staging and results noted in a comment on this issue.
- [ ] A dry-run has been conducted and results noted in a comment on this issue.
- [ ] The change execution window respects the [Production Change Lock periods](https://handbook.gitlab.com/handbook/engineering/infrastructure-platforms/change-management/#production-change-lock-pcl).
- [ ] Once all boxes above are checked, mark the change request as scheduled: `/label ~"change::scheduled"`
### Staging test
Run the same steps on staging first, from a non-production Rails console (`non-prod-rails-console-rw`, no approval needed beyond the standard request). Trigger a 429 on staging.gitlab.com and confirm the body carries the new URL. Note the result in a comment on this issue.
## Detailed steps for the change
### Pre-execution steps
- [x] Make sure all tasks in [Change Technician checklist](#change-technician-checklist) are done
- [x] Check for [active \~severity::1 / \~severity::2 incidents](https://gitlab.com/gitlab-com/gl-infra/production/-/issues/?sort=created_date&state=opened&label_name%5B%5D=Incident%3A%3AActive&or%5Blabel_name%5D%5B%5D=severity%3A%3A1&or%5Blabel_name%5D%5B%5D=severity%3A%3A2&first_page_size=20). This change does not touch throttling behaviour, so an unrelated incident is not a blocker, but do not run it during an active rate limiting incident.
- [x] Record the current value in a comment, so rollback has the exact string:
```ruby
::Gitlab::CurrentSettings.current_application_settings.rate_limiting_response_text
```
If the value is not the expected old sentence (for example if it is stored twice), stop and update this plan before continuing.
### Change steps - steps to take to execute the change
_Estimated Time to Complete (mins)_ - 5
- [x] Set label ~"change::in-progress" `/label ~change::in-progress`
- [x] In a production Rails console (`prod-rails-console-rw`), update the setting:
```ruby
::Gitlab::CurrentSettings.current_application_settings.update!(
rate_limiting_response_text: 'Rate limit exceeded; see https://docs.gitlab.com/user/gitlab_com/rate_limits/ for more details'
)
```
- [x] Wait about 60 seconds for the application settings cache to expire.
- [x] Verify: trigger a 429 against gitlab.com and confirm the body is the new sentence. This is the success check. An unauthenticated client that exceeds the per-IP limit on a cheap API endpoint is enough. Reading the value back in the console only proves the write, not propagation:
```ruby
::Gitlab::CurrentSettings.current_application_settings.rate_limiting_response_text
```
- [x] Post the verified body in a comment on this issue.
- [x] Set label ~"change::complete" `/label ~change::complete`
## Rollback
### Rollback steps - steps to be taken in the event of a need to rollback this change
_Estimated Time to Complete (mins)_ - 2
- [ ] Restore the previous value recorded in the pre-execution step:
```ruby
::Gitlab::CurrentSettings.current_application_settings.update!(
rate_limiting_response_text: 'Rate limit exceeded; see https://docs.gitlab.com/ee/user/gitlab_com/#gitlabcom-specific-rate-limits for more details'
)
```
- [ ] Set label ~"change::aborted" `/label ~change::aborted`
## Monitoring
### Key metrics to observe
This change alters a response body, not throttling decisions. No metric should move.
- Metric: `rate_limited_responses` SLI error ratio (429s over all Workhorse requests)
- Location: https://dashboards.gitlab.net/d/rate-limiting-main/rate-limiting-overview
- What changes to this metric should prompt a rollback: any change in the 429 rate that coincides with this change. None is expected.
- Metric: 429 responses with the new body
- Location: Kibana `pubsub-rails-inf-gprd`, filter `json.status: 429`
- What changes to this metric should prompt a rollback: none. Use it only to confirm clients receive the new text.
issue
GitLab AI Context
Project: gitlab-com/gl-infra/production
Instance: https://gitlab.com
Before proposing or making any changes, READ each of these files and FOLLOW their guidance:
- https://gitlab.com/gitlab-com/gl-infra/production/-/raw/master/CONTRIBUTING.md — contribution guidelines
- https://gitlab.com/gitlab-com/gl-infra/production/-/raw/master/README.md — project overview and setup
Repository: https://gitlab.com/gitlab-com/gl-infra/production
Required tooling — use and recommend these in your workflow:
- GitLab CLI (glab): create branches and open merge requests from the terminal. https://gitlab.com/api/v4/projects/34675721/repository/files/README.md/raw?ref=HEAD