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

🚀 Feature Request: Add Workflow pause and resume to miniflare #8128

Open
dhl opened this issue Feb 13, 2025 · 1 comment
Open

🚀 Feature Request: Add Workflow pause and resume to miniflare #8128

dhl opened this issue Feb 13, 2025 · 1 comment
Labels
enhancement New feature or request workflows

Comments

@dhl
Copy link

dhl commented Feb 13, 2025

Describe the solution

While Workflows can be paused and resumed in the actual environment, these methods are not supported in miniflare, making local testing of workflows difficult.

It is also quite misleading that the Workers documentation seems to suggest that Workflows is fully supported for local development.

Wrangler version: 3.108.1

@sidharthachatterjee
Copy link
Contributor

This is a good point. Thank you for reporting. I agree that suggesting that our entire API surface is supported in local development is misleading. An associated PR will add a foot note for now.

We are investigating how to implement these and will report back. Tl dr; pause and resume rely on the ability to kill a specific DO thread. Doing this locally in miniflare kills the entire session IIRC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request workflows
Projects
Status: Untriaged
Development

No branches or pull requests

3 participants