OpenAICloudflare Developer PlatformMay 26, 2026, 12:00 AM

Flagship - Flagship now in public beta

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

openaienmodel: gpt-5-mini-2025-08-07

Flagship - Flagship now in public beta

Key Points

  • Public beta for Flagship
  • Evaluate flags in Workers without outbound calls
  • OpenFeature-compatible SDKs

Summary

Flagship is now in public beta. Engineers can evaluate feature flags directly inside Cloudflare Workers with no outbound HTTP calls, using globally distributed flag configuration backed by Workers KV and Durable Objects. Flagship supports typed flag values, targeting rules, percentage rollouts, audit history, and OpenFeature-compatible SDKs.

Example inline evaluation in a Worker: const showNewCheckout = await env.FLAGS.getBooleanValue("new-checkout", false);

Start creating flags from the Cloudflare dashboard and follow the Flagship documentation to integrate with your Workers.

Key Points

  • Evaluate flags locally in Workers with zero outbound HTTP requests using env.FLAGS.
  • Configuration is globally distributed and persisted via Workers KV and Durable Objects for low latency and consistency.
  • Supports typed values, targeting rules, percentage rollouts, and audit history for safe rollouts.
  • OpenFeature-compatible SDKs make it easier to adopt existing flag abstractions.
  • Quick onboarding: create flags in the dashboard and call getBooleanValue / typed getters from your Worker.

Full Translation

Translations

A translation section that keeps the flow of the original article.

openaijamodel: gpt-5-mini-2025-08-07

Flagship - Flagship がパブリックベータになりました

Flagship がパブリックベータになりました

公開日: 2026-05-26 · カテゴリ: Flagship

Flagship はパブリックベータを開始しました。Cloudflare Workers からアウトバウンドの HTTP 呼び出しを行うことなく、直接フラグを評価できます。フラグ設定はグローバルに分散され、Workers KV と Durable Objects によってバックアップされています。

主な機能:

  • 型付きのフラグ値 (typed flag values)
  • ターゲティングルール (targeting rules)
  • パーセンテージロールアウト (percentage rollouts)
  • 監査履歴 (audit history)
  • OpenFeature 互換の SDK (OpenFeature-compatible SDKs)

Worker からフラグを評価する簡単な例:

JavaScript — src/index.js

export default {
  async fetch(request, env) {
    const showNewCheckout = await env.FLAGS.getBooleanValue("new-checkout", false);
    return new Response(showNewCheckout ? "New checkout" : "Standard checkout");
  },
};

TypeScript — src/index.ts

export default {
  async fetch(request: Request, env: Env): Promise<Response> {
    const showNewCheckout = await env.FLAGS.getBooleanValue("new-checkout", false);
    return new Response(showNewCheckout ? "New checkout" : "Standard checkout");
  },
} satisfies ExportedHandler<Env>;

今日から Cloudflare ダッシュボードでフラグを作成できます。始めるには Flagship ドキュメントを参照してください。