Skip to content

Enable complete concurrency checking, fix warnings #26

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 1 commit into from
Oct 23, 2023

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Oct 23, 2023

We should enable complete concurrency checking by default, as it already uncovered an issue with LocalSwiftSDKGenerator sharing self with mutable properties (var downloadArtifacts) across different tasks.

The solution was to make SwiftSDKGenerator an actor to isolate direct access to that property and to prevent race conditions.

The only remaining few warnings on throttle will hopefully go away when https://forums.swift.org/t/pitch-region-based-isolation/67888/8 lands.

We should enable complete concurrency checking by default, as it already uncovered an issue with `LocalSwiftSDKGenerator` sharing `self` with mutable properties (`var downloadArtifacts`) across different tasks.
@MaxDesiatov MaxDesiatov added the bug Something isn't working label Oct 23, 2023
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov merged commit 527128c into main Oct 23, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/fix-sendable branch October 23, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants