Skip to main content

Deployment retention policies now preserve active branch deployments

By Steven Van ·

Vercel's retention policies now skip the latest preview deployment for branches with open or unmerged pull requests, on all plans.

Retention policies on Vercel no longer delete the latest preview deployment for a branch that still has an open or unmerged pull request. Previously, an active branch's deployment could be removed once it exceeded the configured retention window, even while the branch was still in use.

The change applies to all plans, so shorter retention windows can be set without risking the loss of an active preview deployment. The 10 most recent production deployments and any aliased deployments are still preserved regardless of retention settings, as before. Read the announcement.

Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Deployment retention policies now preserve active branch deployments on Creators Toolbox