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

Swift 6 preparedness #54

Merged
merged 3 commits into from
Jun 10, 2024
Merged

Swift 6 preparedness #54

merged 3 commits into from
Jun 10, 2024

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented May 29, 2024

Motivation

We should feel confident that we compile clean under the strict checks of Swift 6. As this is a data-processing-only framework it's not a surprise that it turns out to be fine, but this patch adds the necessary docker-compose steps to ensure it continues to work.

Modifications

  • Add docker-compose file for Swift 6 nightlies
  • Extend docker-compose to pass explicit sendable and strict concurrency checks
  • Add those checks to 6.0 and main nightlies

Result

Better confidence that we don't break our downstreams in Swift 6 support.

Motivation

We should feel confident that we compile clean under the strict
checks of Swift 6. As this is a data-processing-only framework
it's not a surprise that it turns out to be fine, but this patch
adds the necessary docker-compose steps to ensure it continues
to work.

Modifications

- Add docker-compose file for Swift 6 nightlies
- Extend docker-compose to pass explicit sendable and strict
    concurrency checks
- Add those checks to 6.0 and main nightlies

Result

Better confidence that we don't break our downstreams in Swift 6
support.
@Lukasa Lukasa added the semver/none No version bump required. label May 29, 2024
Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM although it look like we need some slack in the allocation tests.

@Lukasa
Copy link
Contributor Author

Lukasa commented May 30, 2024

@swift-server-bot test this please

@Lukasa Lukasa merged commit 9702323 into apple:main Jun 10, 2024
6 checks passed
@Lukasa Lukasa deleted the cb-swift-6-and-sendable branch June 10, 2024 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants