惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
V2EX
酷 壳 – CoolShell
酷 壳 – CoolShell
量子位
博客园_首页
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
Stack Overflow Blog
Stack Overflow Blog
Recent Announcements
Recent Announcements
P
Proofpoint News Feed
博客园 - 司徒正美
有赞技术团队
有赞技术团队
Engineering at Meta
Engineering at Meta
Last Week in AI
Last Week in AI
MongoDB | Blog
MongoDB | Blog

Graphite blog

Introducing Code Tours: a new way to review Introducing Cursor Cloud Agents in Graphite Building the future of software development with Cursor Reimagining the PR Page: Designing for speed and focus Graphite changelog [11-20-2025] Graphite changelog [11-04-2025] Graphite changelog [10-16-2025] The future of engineering is collaborative (and already here) Meet Graphite Agent: the next evolution of AI code review Introducing frozen branches: A safer way to build on your teammates’ work Graphite changelog [09-17-2025] How we sped up code search for Graphite Chat Introducing Graphite Chat AI is writing code—here's why it also needs to review that code How I got Claude to write code I could actually ship How we built the first stack-aware merge queue (and why it matters) How we organize our monorepo to ship fast Graphite brings stacking to Tower Code review tooling: Should you build or buy? Making AI code review available to everyone Introducing: The new Graphite + Linear integration Graphite raises $52M and launches Diamond to reimagine code review for the age of AI Why AI will never replace human code review How stacked PRs unblock distributed development teams Graphite is going to Developer Week 2025 How Graphite’s eng team ships code remarkably fast Why we chose Anthropic's Claude to power Graphite Reviewer AI code generation will remain fragmented How we redesigned Graphite's landing page in-house Introducing Graphite Reviewer: your AI code review companion
Beating the end of year code freeze
Kenneth DuMe · 2024-12-24 · via Graphite blog

Cursor Cloud Agents are now in Graphite. Create, review, and ship without leaving your PR.

author

Kenneth DuMez

Dec 23, 2024

It’s the end of the year, a time for reflection, eggnog, and everyone’s favorite: code freeze. For many dev teams, Q4 ends with a strict period where no new code changes are allowed to be made to the project. The rationale is straightforward: keep the main branch stable, minimize risk in production, and guarantee no new bugs sneak into critical end-of-year deployments. However, the practical downside is that engineers often find themselves blocked. You can’t merge any new changes into main, production pipelines are paused, and your teammates may not even be around to review your code. In the last few weeks of the year, your tech debt can balloon while the backlog piles up.

Stacking provides a way around this, allowing you to parallelize review and development so you can remain unblocked and writing new code even when your pipelines are frozen solid.


How stacking works

Stacking, initially popularized by large tech companies like Meta (Facebook) and Google, is an alternative to the traditional Git flow branching model. Instead of bundling an entire feature or refactor into a single, monolithic PR, stacking allows you to break your work into a sequence (or “stack”) of smaller dependent PRs.

Once each PR in the stack is reviewed and approved, you can either land them separately or all at once. Stacks of small PRs are easier to write, easier to review, and faster to merge.

Deliver faster after a freeze with stacked PRs

During a code freeze, when merges to the main branch are restricted, stacking lets you keep working without delays. For example, instead of being stuck waiting for an in-flight PR to merge, you can create a new branch on top of it. Because these branches are independent of main, you can continue coding, testing locally, and running CI/CD on the stack. Your stack of small PRs stays quarantined until deploys are unblocked, which means changes are isolated and ready to merge when the freeze is lifted.

While you could achieve a similar effect by putting all of these changes into one massive feature branch, large PRs are harder to review, take longer to merge, and can introduce more risk to production. With stacking, you'll have smaller, more manageable PRs ready to review, rather than one monolithic PR. This means your changes can be merged quickly and with minimal friction, ultimately accelerating your delivery timeline when the freeze is over.


Smaller PRs ease the pressure leading up to a code freeze

Stacking not only keeps code authors unblocked but also simplifies reviews, which is especially valuable during fragmented engineering time, like around the holidays. Massive PRs with thousands of changes are often delayed or skimmed, which increases the risk of hidden bugs and rushed decisions during a code freeze. By scoping each branch to a concise unit of change—ideally under 50 lines of code—stacking facilitates faster, more thorough reviews. When regressions do happen, it also makes debugging and rollbacks easier. Defects can be isolated to a small, focused subset of changes, making a rollback of 40 lines far simpler than 400.

Stay warm and ship fast with stacking

As the year winds down, stacking offers a simple way to keep development productive, even in the face of code freezes and end-of-year challenges. By breaking work into smaller, reviewable units, you can maintain momentum, simplify collaboration, and reduce the risks associated with large, monolithic changes. While stacking is particularly great during a code freeze, it doesn't just have to be a year-end thing. In fact, writing small, atomic PRs that are easier and faster to review is a practice that can keep your teams unblocked year round.

Don’t wait until next year’s code freeze; start stacking today with Graphite.

Related articles