Skip to content

feat: add Workflows support#918

Open
connyay wants to merge 4 commits intocloudflare:mainfrom
connyay:cjh-workflow
Open

feat: add Workflows support#918
connyay wants to merge 4 commits intocloudflare:mainfrom
connyay:cjh-workflow

Conversation

@connyay
Copy link
Contributor

@connyay connyay commented Jan 28, 2026

Add bindings for Workflows including step primitives (do, sleep, sleepUntil), event/instance management, and a proc macro for defining workflow entrypoints. Includes example worker, sys-level bindings, and integration tests.

Add bindings for Workflows including step primitives
(do, sleep, sleepUntil), event/instance management, and a
proc macro for defining workflow entrypoints. Includes example
worker, sys-level bindings, and integration tests.
@connyay
Copy link
Contributor Author

connyay commented Jan 28, 2026

Fixes #663 👏

@connyay connyay mentioned this pull request Jan 28, 2026
1 task
@guybedford
Copy link
Collaborator

Amazing, I will take a look soon. Hopefully we can get this in for the next release!

clippy fix picked up more things. unclear why the build just flagged
these
Workflow async methods were failing to compile with the `http` feature
because JsFuture is not Send. Wrap all JsFuture calls with SendFuture
and extract promises to separate variables to avoid holding non-Send
types across await points.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants