发生了什么
Anthropic 工程博客介绍了他们如何构建新版本控制系统,并在五个月内将单体代码库完全从 Git 迁移出来。 5 月,他们每天合并约 2,500 项代码变更;9 月,每天合并超过 30,000 项。 这一增长使为人类而非智能体规模设计的开发者基础设施出现瓶颈:anthropic.com/engineering/red…
推荐理由
Anthropic 的叙述将代码变更量的增长与基础设施瓶颈联系起来,为何智能体规模的开发促使他们重建内部源代码管理系统提供了背景。
New on our Engineering blog: Creating in-house source control.
In May, we merged around 2,500 code changes per day. In September, we merged more than 30,000 per day. As a result, we became bottlenecked by developer infrastructure built for human (rather than agent) scale.
Here, we share how we built a new version control system—and fully migrated our monorepo from git—in five months: anthropic.com/engineering/red…
2 家信源报道
这件事到目前为止
Anthropic 开发了自己的版本控制系统 Scion,并在五个月内将其单体仓库从 Git 完全迁移过去,以解决基础设施瓶颈。每天合并的代码变更从 5 月的约 2,500 次增至 9 月的 30,000 多次。Anthropic 表示,七人团队构建了该系统;其代码仓库的主分支历史记录接近 100 GB,持续集成每天执行约 2,500 万次检出。 Scion 按需获取文件,将操作转移到服务器端,并使用分层缓存,据报告命中率超过 99%。Anthropic 报告称,智能体工作区的启动时间中位数从 7.1 分钟降至 5.1 秒。在解释 Anthropic 的工程文章时,Baoyu 强调,Scion 是为规模特别大的单体仓库设计的,公司无意将其打造为通用 Git 替代品。
这件事的进展 · 2
查看完整事件- 10月14日 07:58Anthropic 如何重新设计源代码管理系统 ScionSimon Willison
- 10月14日 00:51
Anthropic 详解如何构建内部源代码管理系统,并将其单体代码库从 Git 迁移出来 本条
