Skip to content

feat(platform): provision Flagship apps for feature flags - #1058

Draft
hyfdev wants to merge 2 commits into
mainfrom
feat/platform-flagship
Draft

hyfdev wants to merge 2 commits into
mainfrom
feat/platform-flagship

Conversation

@hyfdev

@hyfdev hyfdev commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

This is the platform half of #987, built on Cloudflare Flagship, with void/flags to follow in a second PR.

A deployment with bindings.flagship: true now gets one Flagship app per project, bound as FLAGS, saved and cleaned up like a KV namespace.

PUT /projects/:id/flags/:key with { "value": true } sets a Boolean flag's default and keeps its targeting rules.

The proxy's POST /flags/evaluate lets remote prerendering read flags like other remote bindings.

Nothing changes until flagship is enabled in PLATFORM_CAPABILITIES for both the API and the proxy, and the runtime token needs Flagship Read, Write and Evaluate.

If Cloudflare creates an app but the response is lost, the next deploy adopts it by name, and a project deleted before that leaves it behind, the same as KV today.

Live Flagship is untested, so staging should check deploy, flag writes, evaluation and teardown before readiness is turned on.

Part of #987.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

Cloudflare builds and deploys previews for this pull request. Learn more about Cloudflare previews.

Worker Status Deployment Commit
void-cloud Deployed Preview b72d11a

Updated: Dec 6, 2026, 03:26 UTC | Dashboard

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant