Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how to do local dev when you have DOs with a framework #21198

Merged
merged 10 commits into from
Mar 31, 2025

Conversation

emily-shen
Copy link
Contributor

@emily-shen emily-shen commented Mar 27, 2025

Summary

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

Copy link
Contributor

hyperlint-ai bot commented Mar 27, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Enhanced documentation for local development with Durable Objects in web frameworks.

  • Added a section on local development with web frameworks for Durable Objects.
  • Provided step-by-step instructions for setting up a new Worker for local development.
  • Included examples of Wrangler configuration for Durable Objects.

Modified Files

  • src/content/docs/durable-objects/platform/known-issues.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

Copy link
Contributor

github-actions bot commented Mar 27, 2025

"name": "external-do-worker",
"main": "src/index.ts",
"compatibility_date": "XXXX-XX-XX"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, because the worker doesn't bind to the DO here (the fetch is just a no-op). it's the users original worker that binds to the DO.

@github-actions github-actions bot added product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ size/s labels Mar 27, 2025
@emily-shen emily-shen requested review from irvinebroque, ToriLindsay and a team as code owners March 28, 2025 12:34
@github-actions github-actions bot added the product:workers Related to Workers product label Mar 28, 2025
Co-authored-by: Carmen Popoviciu <[email protected]>
emily-shen and others added 2 commits March 28, 2025 17:40
Co-authored-by: Carmen Popoviciu <[email protected]>
Co-authored-by: Carmen Popoviciu <[email protected]>
@github-actions github-actions bot removed the product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ label Mar 31, 2025
@emily-shen emily-shen enabled auto-merge (squash) March 31, 2025 12:56
@emily-shen emily-shen merged commit 3087334 into production Mar 31, 2025
11 checks passed
@emily-shen emily-shen deleted the emily/external-do branch March 31, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:workers Related to Workers product size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants