Newshot

Catch missing feature flags before they reach production

Summary

Vercel Flags can now block a deployment from reaching production if you’ve declared a flag in code but haven’t created it in your project. Without that definition, your app can silently fall back to the flag’s default value, even if that turns on a feature you meant to keep off. The Flag Definitions Present Deployment Check runs when a deployment is ready. If any flags are missing, the check fails and lists them in the results, where you can create each one before redeploying. The check reads your Flags SDK discovery endpoint and requires FLAGS_SECRET to be set in your project’s environment. To turn on blocking, teams on all plans can enable the check in their project’s Build and Deployment settings and mark it as required. See the Deployment Checks documentation for setup details. Read more

Original text(via Vercel Blog)

Vercel Flags can now block a deployment from reaching production if you’ve declared a flag in code but haven’t created it in your project. Without that definition, your app can silently fall back to the flag’s default value, even if that turns on a feature you meant to keep off.

The Flag Definitions Present Deployment Check runs when a deployment is ready. If any flags are missing, the check fails and lists them in the results, where you can create each one before redeploying.

The check reads your Flags SDK discovery endpoint and requires FLAGS_SECRET to be set in your project’s environment.

To turn on blocking, teams on all plans can enable the check in their project’s Build and Deployment settings and mark it as required. See the Deployment Checks documentation for setup details.

Only about 795 characters could be extracted — the rest did not come through (common on sites that need scrolling or a login). Read the original for the full piece.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗