Skip to content

Conversation

@ktoso
Copy link
Collaborator

@ktoso ktoso commented Nov 4, 2025

We lost ability to CI with 6.1 since we introduced Task.immediate in the asynchronous func support.

We need 6.1 support because 6.1.3 has a SwiftPM fix that prevents random build crashes.
6.2 has missed this fix and will only get it fixed in next releases: swiftlang/swift-package-manager#9314 Frequent crashes in LLBuildProgressTracker while building swift-java on linux and swift.

This #if guards code using Task.immediate, adjusts the tests, and also brings back 6.1 CI.

Failures with 6.2 are expected and will continue for the time being.

@ktoso
Copy link
Collaborator Author

ktoso commented Nov 4, 2025

We'd have to platform guard the Task.immediate for the time being as a workaround perhaps... It's not great not having linux CI for all those samples so I'm looking at potential workarounds until 6.2 is fixed.

@ktoso ktoso force-pushed the wip-try-6.1-linux branch from 7651cce to 77ae522 Compare November 4, 2025 04:42
@ktoso ktoso changed the title attempt CI with 6.1.3 on Linux until 6.2 is fixed Adjust Task.immediate use so we can bring back Swift 6.1 CI until 6.2 is fixed Nov 4, 2025
@ktoso ktoso marked this pull request as ready for review November 4, 2025 06:53
@ktoso ktoso merged commit cc0ff8f into swiftlang:main Nov 4, 2025
41 of 47 checks passed
@ktoso ktoso deleted the wip-try-6.1-linux branch November 4, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant