Skip to content

[5.8][Distributed] correct take semantics for synthesized ID assignments #63780

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

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Feb 20, 2023

Description: This is a regression and is crashing the cluster library build as reported in #62898. This code was always there and slightly wrong in some cases. SIL verification seems to not be enabled on macos releases however developers hit the issue when using a nightly toolchain; the issue also appears in Linux where assertions are turned on.
Risk: Low, and also confirmed using distributed cluster library that the changes are correct.
Review by: @xedin @drexin, @eeckstein helped come up with the diagnosis and solution
Testing: Verified this resolves the reproducer reported in the issue (using the distributed cluster library); Added added tests covering the not previously covered code paths.
Original PR: #63779
Radar: rdar://104583893

@ktoso ktoso requested a review from a team as a code owner February 20, 2023 13:56
@ktoso
Copy link
Contributor Author

ktoso commented Feb 20, 2023

@swift-ci please test

@ktoso ktoso changed the title [Distributed] correct take semantics for synthesized ID assignments [5.8][Distributed] correct take semantics for synthesized ID assignments Feb 20, 2023
@ktoso ktoso added distributed Feature → concurrency: distributed actor 🍒 release cherry pick Flag: Release branch cherry picks swift 5.8 labels Feb 20, 2023
@ktoso
Copy link
Contributor Author

ktoso commented Feb 21, 2023

Added another test which exercises another specific code-path here. Same code, just an additional test.

@ktoso
Copy link
Contributor Author

ktoso commented Feb 21, 2023

@swift-ci please test

@tkremenek tkremenek merged commit 8f20ac7 into swiftlang:release/5.8 Feb 21, 2023
@ktoso ktoso deleted the pick-distributed-inits-sil-issue branch February 22, 2023 00:08
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants