GitLab.com 的速率限制即将变更
Rate limits on GitLab.com are changing

原始链接: https://about.gitlab.com/blog/rate-limit-change-2026/

为确保流量增长时的平台稳定性,GitLab.com 正在根据订阅层级更新速率限制。这些变更将按用户和顶级群组分别适用。 **关键日期:** * **2026 年 10 月 19 日:** 新限制对免费账户和未经身份验证的请求生效。 * **2027 年 1 月:** 新限制对 Premium 和 Ultimate 账户生效。 **您需要了解的内容:** * **身份验证是关键:** 未经身份验证的请求限制为每 IP 每小时 60 次。通过个人访问令牌 (PAT) 或 OAuth 登录可触发您所属套餐中更高、更宽松的限制。 * **准备工作:** GitLab 将于 10 月 7 日和 14 日(UTC 时间 15:00–19:00)针对免费/未经身份验证的流量进行“限流预览”窗口测试,以帮助用户测试其工作负载。 * **影响:** 大多数用户不会受到影响。如果您达到限制,系统将返回包含 `Retry-After` 响应头的 `HTTP 429` 错误。为优化请求,请使用批处理、缓存和指数退避策略。 * **范围:** 此变更仅适用于 GitLab.com。GitLab 自托管 (Self-Managed) 和专用 (Dedicated) 实例不受影响。 如果您的自动化流程需要更高的容量,请联系您的客户团队或发送电子邮件至 [email protected]。有关更多详细信息,请查阅 GitLab 官方速率限制文档。

Hacker News 社区正在讨论 GitLab 近期对速率限制(rate limits)的调整,多数人将其归因于自动大语言模型(LLM)爬虫的激增。用户观察到,随着网络因激进的数据抓取而陷入被戏称为“全面垃圾化”的境地,GitHub 等平台也正在实施更严格的机器人检测机制。 讨论探讨了应对这一局面的潜在方案: * **货币化/回馈机制:** 有人建议平台应为被抓取的代码库数据向开发者付费,但也有人警告称,这会诱使机器人生成“虚假”内容以套取报酬。 * **平台用户体验:** 批评者呼吁 GitLab 提供更简洁的界面,剔除不必要的 AI 功能冗余。 * **网络的未来:** 关于开放互联网的可持续性,讨论引发了更广泛的争论。一些参与者认为,速率限制只是权宜之计,暗示互联网正转向一个更加封闭、昂贵或基于身份验证的模式。另一些人则提倡“独立网络”(indie web)或非商业化替代方案,但怀疑论者认为,任何成功的去中心化项目最终都难逃被商业化或被掠夺者盯上的命运。 总体而言,这种舆论反映了人们对 AI 驱动的机器人泛滥以及开放网络效用下降的挫败感。
相关文章

原文

GitLab.com hosts millions of projects for teams of every size that need a platform they can rely on. Demand is climbing quickly, and we expect platform load to grow several times over this year. Predictable limits are what keep GitLab.com fast for everyone on it, including the automation and agent workloads teams are building on the platform.

To hold that as we scale, we're updating how rate limits work. Starting October 19, 2026, rate limits on GitLab.com will align with your subscription tier. Free accounts and unauthenticated requests happen first, on October 19. Premium and Ultimate move in January 2027.

What is changing

Limits align with your subscription. Free, Premium, and Ultimate subscription plans get their own limits, applied per user and per top-level group. Free takes effect October 19; Premium and Ultimate in January 2027.

Signing in gets you the full limit. An authenticated request is governed by your subscription plan below. A request that arrives with no credentials gets 60 requests per hour per IP address.

The per-plan limits are published in the rate limits documentation.

What happens on October 19

There will be two preview windows for Free and unauthenticated traffic, on October 7 and October 14 from 15:00 to 19:00 UTC. Signed-in Premium and Ultimate requests are not affected, since those limits do not change until January. Unauthenticated requests are capped no matter where they come from, including automation running against a paid account without credentials. A preview window (engineers call these brownouts) is a short, planned window where we switch the new limits on and then switch them back off. Nothing else about the service changes while it runs. The point is to give you a real look at how your own workloads behave under the new limits, weeks before they apply for good.

On October 19 the new limits take effect.

We set these limits by looking at how GitLab.com is actually used. Almost all users are already inside the new limits and won't notice any change. We also looked at what similar platforms allow. The Free limit and the anonymous allowance match the industry norm, while Premium and Ultimate are more generous, at levels other platforms reserve for their enterprise tiers or don't publish at all.

If you're close to a limit

If you find that you are nearing a limit, authenticate your requests. It's usually a small change: Invoking a personal access token, an OAuth token, or the CI/CD job token all move a request off the anonymous 60 requests per hour and onto your plan's limits, which are much higher.

Next, look at how you're calling the API. Batching, caching, and pagination go a long way, and polling in a tight loop burns through your allowance fast. When you do cross a limit, you get an HTTP 429 back with a Retry-After header saying how long to wait, so a client that reads its own response headers mostly fixes itself. Backing off exponentially recovers faster than retrying immediately.

Upgrading to Premium or Ultimate increases the limits, too, per user and per top-level group.

If you need a higher limit on an ongoing basis, we are working on a way to purchase capacity above the standard plan limits, with details coming later this year. If that sounds like you, reach out to your account team or email [email protected] and tell us what you need.

What changes and what doesn't

These limits are set so no single workload can slow the platform for everyone else. Ordinary signed-in work isn't the target, and, for almost all users, a normal day looks identical. Browsing the UI, working in your editor, pushing and pulling with git, and running CI/CD within your plan all carry on exactly as they do today. Some heavy automation and a small number of Free-tier workloads will reach the new ceilings.

What doesn't change:

  • You can always reach and export your own data and repositories.
  • GitLab Self-Managed and GitLab Dedicated limits stay with your operator. This is only a GitLab.com change.
  • We'll notify you before we make additional changes.

A reminder: Make sure to authenticate your requests to GitLab.com so your limits are higher.

FAQ

How do I know whether this affects me?
Compare your busiest minute against the published limits for your plan. Most customers are not close. The quickest signal in the meantime is the RateLimit-Remaining header on your API responses, which tells you how much of your current window is left, and we are building a view in the product for release later this year that shows your usage against your plan's limits.

My project is public and busy. What are my options?
Three things help. Ask the automation that calls your project to sign in, which moves it onto its own limits rather than the anonymous allowance. Make the project private if the traffic is not coming from the audience you built it for, which stops anonymous callers reaching it at all. Or upgrade to Premium or Ultimate for much higher limits.

What if I am a member of several top-level groups?
Your user limit will be the highest subscription tier available to you. If you are a member of an Ultimate group, you will have access to the Ultimate limit.

What happens when I hit a limit?
You get 429 Too Many Requests with RateLimit-* headers and a Retry-After. Wait the interval it gives you, then retry.

My integration genuinely can't authenticate. What now?
Reach out to us at [email protected]. There are legitimate anonymous patterns, a public status badge being the obvious one. If you are concerned that an integration you own may be affected, contact us.

Does this apply to GitLab Self-Managed or GitLab Dedicated?
No. This is a GitLab.com-only change.

Additional resources

联系我们 contact @ memedata.com