Repository navigation
new config miniflare attempt 3 - #14994
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 73ec8a5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
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 |
Contributor
|
UnknownError: ProviderInitError |
Contributor
|
@emily-shen Bonk workflow failed. Check the logs for details. View workflow run · To retry, trigger Bonk again. |
Contributor
|
✅ All changesets look good |
emily-shen
commented
Aug 3, 2026
emily-shen
force-pushed
the
emily/new-config-miniflare
branch
from
August 3, 2026 22:51
17612e4 to
1c14de0
Compare
@cloudflare/autoconfig
@cloudflare/build-output-utils
@cloudflare/config
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-functions
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
emily-shen
commented
Aug 4, 2026
emily-shen
commented
Aug 4, 2026
emily-shen
force-pushed
the
emily/new-config-miniflare
branch
3 times, most recently
from
August 4, 2026 21:44
8612a3c to
e4c796b
Compare
emily-shen
marked this pull request as ready for review
August 4, 2026 21:44
workers-devprod
requested review from
a team and
petebacondarwin
and removed request for
a team
August 4, 2026 21:45
Contributor
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
emily-shen
force-pushed
the
emily/new-config-miniflare
branch
from
August 5, 2026 13:56
e4c796b to
e8514a8
Compare
emily-shen
requested review from
edmundhung,
jamesopstad and
penalosa
and removed request for
petebacondarwin
August 5, 2026 14:26
emily-shen
force-pushed
the
emily/new-config-miniflare
branch
from
August 6, 2026 09:40
45dbce5 to
9a7db84
Compare
This was referenced Aug 12, 2026
Merged
Closed
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Aug 15, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Aug 19, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
1 task
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Aug 21, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Aug 25, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Aug 25, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Aug 26, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Aug 28, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Sep 2, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Sep 4, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Sep 18, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Oct 6, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
mack-erel
added a commit
to henryj-dev/contribute_cloudflare_workers-sdk
that referenced
this pull request
Oct 6, 2026
Two leftovers from rebasing onto the new miniflare config structure (cloudflare#14994): - `HyperdriveBindingSchema` is a `strictObject`, so `remote: true` was rejected at parse time even though the TypeScript interface allowed it. - The bridge and seed-endpoint tests still built Miniflare with the v4 top-level worker shape (`name`/`modules`/`hyperdrives`) instead of the `workers: [{ config: ... }]` form. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015GDyTfEa62t3bSe5wWn8Mt
Open
18 of 19 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Config:
All plugins now get the full config, and are responsible for filtering down the relevant config themselves - previously miniflare plugins each declared a schema of what config it needed, and then each plugin would only receive that.
There is probably a lot of tidying up we can do in miniflare to strip out more unused bits, but trying to avoid too much in this PR.
A large chunk of the diff is in tests, where we call
new Miniflarea lot. Inside miniflare this is migrated to the new config directly, outside miniflare we use the conversion helper.As discussed the v4 to v5 conversion happens right before passing options to miniflare, meaning the new config format is not exposed in any public APIs (well other than miniflare's obviously).
TODO later:
there are a couple of exports from miniflare that are only used by vitest-pool-workers and not miniflare itself. for example, the config merging helper and compileModuleRules. In a follow up i will probably just move that directly into VPW.
A picture of a cute animal (not mandatory, but encouraged)