Repository navigation
[cf] Update Durable Objects steps in the Wrangler migration guide - #36094
Open
TheVoidJulius wants to merge 1 commit into
Open
TheVoidJulius wants to merge 1 commit into
TheVoidJulius wants to merge 1 commit into
Conversation
Contributor
AI Review
Commands
|
Contributor
Review coverage🟡 1 ownership area needs approval.
CODEOWNERS mappings for displayed areas (1)
|
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.
Summary
Fixes #35435
The guide says Durable Object bindings and
migrationsalways need manual work aftercf migrate. The CLI now converts most of them, so the sample output, the generatedorders-apifile, and the mapping table were also out of date.Tested with
cf1.0.0-rc.7, Wrangler 4.171.0, and@cloudflare/vite-plugin2.0.0-rc.9 on Windows 11 and Node.js 26.13.0. Nothing was deployed. I rancf migrateon these configurations:new_sqlite_classes,new_classes,renamed_classes, anddeleted_classes: converted, with no required item.script_name: converted, with no required item.migrationsdoes not create: required item, exit 1.transferred_classes: required item, exit 1.orders-apiexample: no required items, exit 0, andcf buildsucceeds.I did not deploy the generated
renamedanddeletedentries.Documentation checklist