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

Resume worktree when an available is finished, add set_from_protocol #8

Merged
merged 8 commits into from
Dec 1, 2023

Conversation

superstar54
Copy link
Member

@superstar54 superstar54 commented Nov 27, 2023

Execution order

In WorkChain, only when all awaitables are finished, does the process resume, and run the next step. In WorkTree, we want to launch a node when its incoming nodes are ready, thus as long as an awaitable (a sub-process) is finished, we resume the process, and check if any nodes are ready to run.

Protocol

add set_from_protocol for node, only for the ProtocolMixin method.

Fix

  • fix load worktree that worktree that was submitted by Daemon.

@superstar54 superstar54 changed the title Add protocol Support set parameters from protocol Nov 30, 2023
@superstar54 superstar54 changed the title Support set parameters from protocol Resume worktree when an available is finished, add set_from_protocol Nov 30, 2023
@superstar54 superstar54 merged commit 24fadb9 into main Dec 1, 2023
4 checks passed
@superstar54 superstar54 deleted the blog branch December 2, 2023 20:57
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