Skip to content

[cf] Update Durable Objects steps in the Wrangler migration guide - #36094

Open
TheVoidJulius wants to merge 1 commit into
cloudflare:productionfrom
TheVoidJulius:cf-migrate-durable-objects
Open

TheVoidJulius wants to merge 1 commit into
cloudflare:productionfrom
TheVoidJulius:cf-migrate-durable-objects

Conversation

@TheVoidJulius

Copy link
Copy Markdown

Summary

Fixes #35435

The guide says Durable Object bindings and migrations always need manual work after cf migrate. The CLI now converts most of them, so the sample output, the generated orders-api file, and the mapping table were also out of date.

Tested with cf 1.0.0-rc.7, Wrangler 4.171.0, and @cloudflare/vite-plugin 2.0.0-rc.9 on Windows 11 and Node.js 26.13.0. Nothing was deployed. I ran cf migrate on these configurations:

  • new_sqlite_classes, new_classes, renamed_classes, and deleted_classes: converted, with no required item.
  • A binding with script_name: converted, with no required item.
  • A binding to a class that migrations does not create: required item, exit 1.
  • transferred_classes: required item, exit 1.
  • The full orders-api example: no required items, exit 0, and cf build succeeds.

I did not deploy the generated renamed and deleted entries.

Documentation checklist

@TheVoidJulius
TheVoidJulius requested a review from a team as a code owner December 4, 2026 15:21
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

AI Review

⚠️ Reviewed d2f71d3 · 0 findings · incremental · style guide review failed

Commands
  • /review Run a review now.
  • /full-review Review the entire PR diff.
  • /disable-auto-review Stop automatic reviews.
  • /rebase Rebase against production.

@cloudflare-docs-bot

Copy link
Copy Markdown
Contributor

Review coverage

🟡 1 ownership area needs approval.

Needs approval Eligible approvers Suggested
cf @cloudflare/product-owners @cloudflare/product-owners
CODEOWNERS only · not notified
CODEOWNERS mappings for displayed areas (1)
Pattern Owners
* @cloudflare/product-owners

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(cf-docs): document automatic migration of simple SQLite Durable Objects

1 participant