Conversation
🦋 Changeset detectedLatest commit: 53df344 The changes in this PR will be included in the next version bump. 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 |
|
Codeowners approval required for this PR:
Show detailed file reviewers |
|
✅ All changesets look good |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
|
/bonk remove the test should show local explorer hotkey when X_LOCAL_EXPLORER=true |
There was a problem hiding this comment.
Clean, straightforward ungating. The test restructuring makes sense — the default case no longer needs X_LOCAL_EXPLORER=true to be explicit, and the opt-out path (X_LOCAL_EXPLORER=false) is properly tested.
One minor observation: as Devin flagged, the [e] hotkey is now always active (no disabled check), so pressing e when X_LOCAL_EXPLORER=false will open a browser to /cdn-cgi/explorer where the explorer isn't served. Emily confirmed this is intentional since the hotkey is hidden anyway, so this is fine — a user would have to know about the hotkey and deliberately press it while also having explicitly disabled the feature, which is an unlikely edge case.
LGTM.
|
Reviewed and approved PR #12848. The changes are clean:
|
39da40b to
1c3a666
Compare
packages/miniflare/src/workers/local-explorer/explorer.worker.ts
Outdated
Show resolved
Hide resolved
|
We need to block this until we resolve the cors etc. issues properly, since this will expose the explorer api on all user dev sessions by default. edit: cors issues will be resolved here: #12869 |
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1c3a666 to
936e3ff
Compare
936e3ff to
7c49cfa
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Ben <4991309+NuroDev@users.noreply.github.com>
This ungates the local explorer by setting X_LOCAL_EXPLORER=true by default. This can still be disabled by setting the env var to false. Also, the hotkey [e] remains hidden, but functional.
Note i've removed the header changes and that is now here: #12869
A picture of a cute animal (not mandatory, but encouraged)