Skip to content

🍒[5.7][Distributed] Fix too restrictive distributed witness isolation checking #59397

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

Merged
merged 4 commits into from
Jun 14, 2022

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Jun 13, 2022

Description: Witness checking is too restrictive for distributed actors conforming to protocols which are already DistributedActor constrained. Long discussion of this in #59358 but short version is that this is too restrictive and prevents some APIs, and generally is an omission in the isolation model.
Risk: Low, fixes missing ability to conform to DistributedActor constrained protocols from distributed actors. Does not affect any other parts of library or runtime.
Review by: @DougGregor
Testing: PR Testing, Verifying using custom toolchain in Cluster library.
Radar: rdar://94779780
Original PR: #59358
Unblocks: apple/swift-distributed-actors#961

@ktoso ktoso requested a review from a team as a code owner June 13, 2022 03:09
@ktoso ktoso requested a review from DougGregor June 13, 2022 03:09
@ktoso ktoso added distributed Feature → concurrency: distributed actor r5.7 labels Jun 13, 2022
@ktoso ktoso changed the title Pick missing witness allowance 🍒[5.7][Distributed] Fix too restrictive distributed witness isolation checking Jun 13, 2022
@ktoso
Copy link
Contributor Author

ktoso commented Jun 13, 2022

@swift-ci please test

@ktoso
Copy link
Contributor Author

ktoso commented Jun 13, 2022

@swift-ci please build toolchain macOS

@ktoso
Copy link
Contributor Author

ktoso commented Jun 14, 2022

@swift-ci please test

@ktoso
Copy link
Contributor Author

ktoso commented Jun 14, 2022

Thank you for reviews!

@ktoso
Copy link
Contributor Author

ktoso commented Jun 14, 2022

@swift-ci please build toolchain macOS

@ktoso ktoso merged commit 64b8624 into swiftlang:release/5.7 Jun 14, 2022
@ktoso ktoso deleted the pick-missing-witness-allowance branch June 14, 2022 11:51
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.7 labels Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed Feature → concurrency: distributed actor 🍒 release cherry pick Flag: Release branch cherry picks swift 5.7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants