Skip to content

Introduce ComposeWorkflow. #1357

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

Draft
wants to merge 16 commits into
base: zachklipp/workflownode-poly
Choose a base branch
from

Conversation

zach-klippenstein
Copy link
Collaborator

This is part of go/compose-based-workflows.

@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch from 1e1ef4d to 2fff3a7 Compare June 24, 2025 04:27
This is part of go/compose-based-workflows.
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch from 2fff3a7 to 3f1dca8 Compare June 24, 2025 04:29
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch from 8fda6f7 to 4e4029a Compare June 25, 2025 19:42
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch 7 times, most recently from 2b3d497 to 166d2ff Compare June 26, 2025 19:29
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch 3 times, most recently from 0d1f10d to a2a6ac6 Compare June 27, 2025 22:51
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch from 78c80cb to 159aae8 Compare June 27, 2025 23:13
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch from f13e9e1 to 303a251 Compare June 27, 2025 23:45
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch from 303a251 to eeb366b Compare June 27, 2025 23:47
The old implementation had a bug where the dispatch loop coroutine could prevent a dispatch context from finishing. The new implementation avoids the dispatch coroutine entirely by using a special Continuation implementation.
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch from 7c589f0 to 72d58a8 Compare June 28, 2025 19:12
SynchronizedMolecule fully encapsulates the Compose runtime into a clean, minimal interface with a single entry point, much like launchMolecule does. This should be much more testable, and we could potentially even pull it out into the Molecule library. It also cleans up the code inside ComposeWorkflowNodeAdapter even more.
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch 2 times, most recently from 9e79260 to a78efa5 Compare June 30, 2025 18:12
@zach-klippenstein zach-klippenstein force-pushed the zachklipp/composeworkflow2 branch from a78efa5 to e565108 Compare June 30, 2025 18:15
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

1 participant