Skip to content

Miniflare config followups - #15130

Merged
emily-shen merged 7 commits into
mainfrom
emily/miniflare-fixups
Aug 18, 2026
Merged

emily-shen merged 7 commits into
mainfrom
emily/miniflare-fixups

Conversation

@emily-shen

@emily-shen emily-shen commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Each commit contains a fixup

  1. remove hasAssetsAndIsVitest - This is dead code, assets has not worked in vitest for a while.
  2. remove remote option from workflow config - Workflows' config had an option for remote but this never worked.
  3. add r2 s3 credentials - this is in wrangler config, but not cloudflare config, and therefore wasn't inherited into miniflare. so we incorrectly extended this in miniflare previously.
  4. make name requried for AE binding - workerd requires this, but it is not required at deploy time i think? either way, to prevent workerd crashing, we set a default.

  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: fixups

A picture of a cute animal (not mandatory, but encouraged)

@changeset-bot

changeset-bot Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a6d4072

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

This PR includes changesets to release 10 packages
Name Type
@cloudflare/config Patch
miniflare Major
wrangler Patch
@cloudflare/build-output-utils Patch
@cloudflare/vite-plugin Patch
@cloudflare/deploy-helpers Patch
@cloudflare/pages-shared Patch
@cloudflare/remote-bindings Patch
@cloudflare/runtime-types Patch
@cloudflare/vitest-pool-workers 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

@github-actions

github-actions Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

✅ All changesets look good

@ask-bonk

ask-bonk Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

No deploy-time reliance on workflow remote. The two removals are clean, dead-code eliminations with:

  • Full removal of all references verified
  • Graceful degradation in miniflare (reads binding.remote which is now always undefined)
  • A soft-warning migration path for users with remote still in config
  • Appropriate changesets

I've reviewed both commits thoroughly. The changes are consistent, all references are cleaned up, downstream code degrades gracefully, and the tests properly cover the new warning behavior. No logic bugs, security issues, backward-compat violations, or incorrect API behavior found.

LGTM

github run

@emily-shen
emily-shen force-pushed the emily/miniflare-fixups branch from a990bc3 to ad7762d Compare August 12, 2026 11:11
@emily-shen
emily-shen force-pushed the emily/miniflare-fixups branch from ad7762d to 1cfafe6 Compare August 12, 2026 14:15
@pkg-pr-new

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

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/autoconfig@15130

@cloudflare/build-output-utils

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/build-output-utils@15130

@cloudflare/codemods

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/codemods@15130

@cloudflare/config

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/config@15130

create-cloudflare

npm i https://pkg.pr.new/cloudflare/workers-sdk/create-cloudflare@15130

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/deploy-helpers@15130

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/kv-asset-handler@15130

miniflare

npm i https://pkg.pr.new/cloudflare/workers-sdk/miniflare@15130

@cloudflare/pages-functions

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/pages-functions@15130

@cloudflare/pages-shared

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/pages-shared@15130

@cloudflare/unenv-preset

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/unenv-preset@15130

@cloudflare/vite-plugin

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/vite-plugin@15130

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/cloudflare/workers-sdk/@cloudflare/vitest-pool-workers@15130

@cloudflare/workers-auth

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

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

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

wrangler

npm i https://pkg.pr.new/cloudflare/workers-sdk/wrangler@15130

commit: e6b1d47

@emily-shen
emily-shen marked this pull request as ready for review August 12, 2026 14:48
@workers-devprod
workers-devprod requested review from a team and edmundhung and removed request for a team August 12, 2026 14:49
@workers-devprod

workers-devprod commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

devin-ai-integration[bot]

This comment was marked as resolved.

Comment thread .changeset/default-analytics-engine-name.md Outdated
Comment thread packages/deploy-helpers/src/deploy/helpers/config-diffs.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

Comment thread .changeset/default-analytics-engine-name.md Outdated
emily-shen and others added 2 commits August 18, 2026 15:32
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@workers-devprod

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@emily-shen
emily-shen enabled auto-merge (squash) August 18, 2026 14:33
@emily-shen
emily-shen merged commit 99a1f49 into main Aug 18, 2026
66 of 69 checks passed
@emily-shen
emily-shen deleted the emily/miniflare-fixups branch August 18, 2026 16:04
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in workers-sdk Aug 18, 2026
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.

3 participants