Skip to content

[autoconfig] Let callers pass their own follow-ups to migrateBundler - #17301

Closed
edmundhung wants to merge 2 commits into
mainfrom
edmundhung/friendly-ishizaka-fbeee3
Closed

edmundhung wants to merge 2 commits into
mainfrom
edmundhung/friendly-ishizaka-fbeee3

Conversation

@edmundhung

@edmundhung edmundhung commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

When framework setup fails during cf migrate (cloudflare/cf#817), it leaves a cloudflare.config.ts with no TODO. The project then looks migrated: cf build fails with "No Build Output found", and rerunning cf migrate refuses to touch the file. This adds a followUps option to migrateBundler so a follow-up cf PR can record the setup failure as a TODO in cloudflare.config.ts, behind the existing "Migration incomplete" guard, and still finish the rest of the migration.


  • 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: @cloudflare/autoconfig is a prerelease package without public docs; the option is documented in its JSDoc.

Devin Review

@changeset-bot

changeset-bot Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f1667d6

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

This PR includes changesets to release 2 packages
Name Type
@cloudflare/autoconfig Minor
@cloudflare/codemods Minor

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

@ask-bonk

ask-bonk Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

devin-ai-integration[bot]

This comment was marked as resolved.

@pkg-pr-new

pkg-pr-new Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
@cloudflare/autoconfig

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

@cloudflare/build-output-utils

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

@cloudflare/cli-shared-helpers

npm i https://pkg.pr.new/@cloudflare/cli-shared-helpers@17301

@cloudflare/codemods

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

@cloudflare/config

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

@cloudflare/containers-shared

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

create-cloudflare

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

@cloudflare/deploy-helpers

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-functions

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

@cloudflare/pages-shared

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

@cloudflare/runtime-types

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

@cloudflare/test-server

npm i https://pkg.pr.new/@cloudflare/test-server@17301

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-plugin

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

@cloudflare/workers-auth

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

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

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

wrangler

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

commit: f1667d6

@edmundhung edmundhung closed this Dec 1, 2026
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in workers-sdk Dec 1, 2026
@edmundhung
edmundhung deleted the edmundhung/friendly-ishizaka-fbeee3 branch December 1, 2026 11:09
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.

1 participant