News · Vercel · 2 min read
Event date: · Published:
Vercel adds deployment check that catches missing feature flags before production
Vercel's new Flag Definitions Present check fails a deployment when feature flags used in code have not been created in the project, stopping a silent fallback to default values.
On November 23, 2026, Vercel published a new Deployment Check called Flag Definitions Present on its changelog, which fails a deployment when feature flags referenced in code have not yet been created in the Vercel project, stopping apps from silently falling back to default flag values. Full details are in Catch missing feature flags before they reach production.
What changed
- The check is named Flag Definitions Present and targets Vercel Flags and the Flags SDK.
- It runs automatically whenever a deployment reaches the "ready" state.
- It reads the Flags SDK discovery endpoint to detect flags declared in code but not yet created in the Vercel project.
- When flags are missing, the check fails and lists the specific missing flag names in the results.
- It requires the
FLAGS_SECRETenvironment variable to be configured on the project. - It is available to teams on all Vercel subscription plans and is enabled in Project Settings > Build and Deployment, where it can also be marked as a required (blocking) check.
Why it matters for AI builders
Feature flag drift between generated code and dashboard configuration is a common failure mode for apps that are built quickly with AI coding tools such as v0, Lovable, and Bolt and then deployed on Vercel. This check catches that mismatch before it reaches production, so features that are meant to stay disabled cannot silently activate just because a flag defaults to on.
Availability and setup
Developers must create each missing flag before redeploying to pass the check. The feature is credited to Andy Schneider and Dominik Ferber.
Sources
- Catch missing feature flags before they reach production (Vercel, November 23, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.