
Vercel’s Flag Definitions Present Deployment Check can stop a deployment from reaching production when a feature flag exists in the code but has not been created in the project.
This closes a gap between shipping code and configuring its flags. If a definition is missing, an application can silently use the flag’s default value. That could turn on a feature that the team intended to keep off.
According to the Vercel changelog, the check runs once a deployment is ready. If it finds missing flags, the deployment check fails and lists each missing definition in its results. The team can then create those flags and redeploy.
How the Flag Definitions Present Deployment Check works
The check reads the discovery endpoint provided by Vercel’s Flags SDK. The project must have the FLAGS_SECRET environment variable set so the check can access that endpoint.
Teams can enable the check from the project’s Build and Deployment settings. Marking it as required turns a failed check into a production blocker.
- 1
Set the secret
add `FLAGS_SECRET` to the project environment
- 2
Enable the check
open Build and Deployment settings and turn on Flag Definitions Present
- 3
Require the result
mark the check as required to block production deployments
- 4
Resolve failures
create every flag listed in the results, then redeploy
The check is available across all Vercel plans. It applies to flags declared through the Flags SDK and compares those declarations with the definitions present in the Vercel project.
This places the configuration check in the deployment path, before production traffic can encounter a missing definition. Developers get the names of the missing flags in the failed result rather than having to find the mismatch after release.
Frequently asked questions
What is Vercel’s Flag Definitions Present Deployment Check?
It is a deployment check that finds feature flags declared in code but missing from the corresponding project. When required, it blocks the deployment from reaching production and lists the missing flags.
Which Vercel plans include the Flag Definitions Present Deployment Check?
The check is available on all plans. Teams enable it in the project’s Build and Deployment settings and can mark it as required.
What does the Flag Definitions Present Deployment Check require?
The project must use the Flags SDK discovery endpoint and have the FLAGS_SECRET environment variable set. The check reads that endpoint when the deployment is ready.
Sources
3 checkedHow we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.







