-
Notifications
You must be signed in to change notification settings - Fork 79
Fixed WorkerPool to handle remote actors properly #1164
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
Conversation
|
Hm, would be nice to add test to check remote actors also. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just needs to be careful with the enums and maybe add one more test?
|
@swift-server-bot test this please |
# Conflicts: # Sources/DistributedCluster/InvocationBehavior.swift # Sources/DistributedCluster/Pattern/WorkerPool.swift # Sources/DistributedCluster/WeakActorDictionary.swift # Tests/DistributedClusterTests/Pattern/WorkerPoolTests.swift
|
@ktoso ClusterSingletonPluginClusteredTests is flacky, also seen it failing in main branch, need to check it separately. |
|
Hm yeah some tests are flaky, the docs validation is also failing. This did pass on many runs though so I'm ok to merge and we need to get CI more stable eventually |
Currently WorkerPool:
WorkItemandWorkResultare not marked asSendableThis PR fixes this, basically cherry picked changes from this PR #1159 and updated tests