Skip to content

[miniflare] Manage Flagship flags in Local Explorer - #15330

Merged
NuroDev merged 3 commits into
cloudflare:mainfrom
akshitsinha:asinha/flagship-local-explorer
Oct 5, 2026
Merged

NuroDev merged 3 commits into
cloudflare:mainfrom
akshitsinha:asinha/flagship-local-explorer

Conversation

@akshitsinha

@akshitsinha akshitsinha commented Aug 24, 2026 •

Copy link
Copy Markdown
Member

Final PR in the stacked Flagship local-development series. Depends on #15329 and #15268.

Summary

  • Adds Local Explorer APIs and UI for Flagship apps, flags, rules, rollouts, and evaluation.
  • Supports create, edit, delete, enable, search, sort, test, and cross-worker workflows.
  • Routes operations to the selected local worker when multiple dev processes use the same app ID.
  • Adds generated API clients, agent guidance, unit coverage, and browser coverage.

Tests

  • Tests included/updated
  • Automated tests not possible - manual testing has been completed as follows:
  • Additional testing not necessary because:

Public documentation

@changeset-bot

changeset-bot Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e062e45

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
miniflare Minor
@cloudflare/deploy-helpers Patch
@cloudflare/pages-shared Patch
@cloudflare/remote-bindings Patch
@cloudflare/runtime-types Patch
@cloudflare/vite-plugin Patch
@cloudflare/vitest-plugin Patch
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@akshitsinha akshitsinha changed the title [miniflare] Add Flagship Local Explorer [miniflare] Manage Flagship flags in Local Explorer Aug 24, 2026
@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Aug 24, 2026
@pkg-pr-new

pkg-pr-new Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@15330

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@15330

@cloudflare/codemods

npm i https://pkg.pr.new/@cloudflare/codemods@15330

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@15330

@cloudflare/containers-shared

npm i https://pkg.pr.new/@cloudflare/containers-shared@15330

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@15330

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@15330

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@15330

miniflare

npm i https://pkg.pr.new/miniflare@15330

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@15330

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@15330

@cloudflare/runtime-types

npm i https://pkg.pr.new/@cloudflare/runtime-types@15330

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@15330

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@15330

@cloudflare/vitest-plugin

npm i https://pkg.pr.new/@cloudflare/vitest-plugin@15330

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@15330

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@15330

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@15330

wrangler

npm i https://pkg.pr.new/wrangler@15330

commit: e062e45

@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch 6 times, most recently from f4263f4 to 23324c1 Compare September 1, 2026 07:06
@emily-shen
emily-shen self-requested a review September 1, 2026 14:31
@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch 10 times, most recently from 8c88b1f to ac8479f Compare September 10, 2026 11:10
@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch from ac8479f to 366a0e1 Compare September 15, 2026 07:40
@petebacondarwin petebacondarwin added this to the Birthday Week 2026 milestone Sep 16, 2026
@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch 2 times, most recently from 00f880e to e580a46 Compare September 18, 2026 12:01
@NuroDev NuroDev mentioned this pull request Sep 18, 2026
@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch from e580a46 to 72b3972 Compare September 21, 2026 06:30
@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch from fb34206 to 4f7708d Compare September 28, 2026 06:27
devin-ai-integration[bot]

This comment was marked as resolved.

@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch 2 times, most recently from 75e3de7 to 1b597ee Compare September 28, 2026 06:35
devin-ai-integration[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 0 new potential issues.

Devin Review

@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch from 1b597ee to 4618f23 Compare September 28, 2026 06:49
devin-ai-integration[bot]

This comment was marked as resolved.

@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch from 4618f23 to 893b103 Compare September 28, 2026 06:59
devin-ai-integration[bot]

This comment was marked as resolved.

@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch from 893b103 to deec0d1 Compare September 28, 2026 07:25

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 0 new potential issues.

Devin Review

@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch 2 times, most recently from d02fd66 to 75c5ff1 Compare September 29, 2026 08:19
devin-ai-integration[bot]

This comment was marked as resolved.

@akshitsinha
akshitsinha force-pushed the asinha/flagship-local-explorer branch from 75c5ff1 to 6b70456 Compare September 29, 2026 08:29
Comment thread packages/local-explorer-ui/src/routes/flagship/$appId.tsx Outdated
Comment thread packages/miniflare/src/plugins/core/explorer.ts
Comment thread packages/miniflare/src/workers/flagship/flags.ts Outdated
Comment thread packages/miniflare/src/workers/flagship/evaluate.ts

@workers-devprod workers-devprod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codeowners reviews satisfied

@workers-devprod

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@NuroDev
NuroDev enabled auto-merge (squash) October 5, 2026 12:20
@NuroDev
NuroDev merged commit f8cdcb9 into cloudflare:main Oct 5, 2026
70 of 72 checks passed
@akshitsinha
akshitsinha deleted the asinha/flagship-local-explorer branch October 5, 2026 13:21
brandhaug added a commit to brandhaug/b2b-saas-starter that referenced this pull request Oct 10, 2026
…lpha (#658)

## pnpm-workspace.yaml (default)

## Dependency Updates

| Package | From | To | Type |
| --- | --- | --- | --- |
| `miniflare` | 5.20261001.0-alpha | 5.20261006.0-alpha | minor |

## Release Notes

<details>
<summary><b>miniflare</b> (5.20261001.0-alpha →
5.20261006.0-alpha)</summary>

### Minor Changes

- [#15998](cloudflare/workers-sdk#15998)
[`b75421f`](cloudflare/workers-sdk@b75421f)
Thanks [@<!---->dario-piotrowicz](https://github.com/dario-piotrowicz)!
- Add `assets.base_path` support to Workers Assets

Serve an asset directory from a public URL prefix without changing its
on-disk layout:

  ```jsonc
  {
    "assets": {
      "directory": "./public",
      "base_path": "/docs"
    }
  }
  ```

Wrangler, preview, Miniflare, and generated build configuration preserve
the explicitly selected value, while the Asset Worker normalizes it and
strips the prefix only for asset lookup. Requests passed to a user
Worker, request-facing headers, and redirects retain the public path.
Relative pathname inputs are interpreted as root-relative prefixes,
URL-shaped values are rejected, and omitting the option preserves
existing root-path behavior.

Authored `_headers` and `_redirects` rules continue to match full public
paths. In particular, both the source and destination of an authored
`200` asset rewrite must include the configured public prefix; Asset
Worker-generated redirects are prefixed automatically.

- [#15330](cloudflare/workers-sdk#15330)
[`f8cdcb9`](cloudflare/workers-sdk@f8cdcb9)
Thanks [@<!---->akshitsinha](https://github.com/akshitsinha)! - Manage
local Flagship flags in Local Explorer

Bound Flagship apps now appear in Local Explorer. You can create, edit,
toggle, delete, and evaluate flags against the same local store used by
your Worker, including targeting conditions and percentage rollouts.

Explorer requests are routed to the development process that owns each
app, so Flagship management also works across multiple local Workers.

### Patch Changes

- [#16081](cloudflare/workers-sdk#16081)
[`0ec13b7`](cloudflare/workers-sdk@0ec13b

…[full
notes](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261006.0-alpha)

</details>

---
*This PR was auto-generated by
[catalog-update-action](https://github.com/brandhaug/catalog-update-action).*

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants