Skip to content

[6.2][Concurrency] Remove symbols of startSynchronously, make it AEIC #83089

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

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Jul 16, 2025

Description: The Task.startSynchronously API was a pre-SwiftEvolution name of this API, and we'd like to remove it eventually. This PR does not remove it, however it does make it AEIC so it does not have ABI, so we could remove it in a future release.

Scope/Impact: Users of non-SE-approved Task.startSynchronously which has been renamed due the course of SE as Task.immediate
Risk: Low, the symbol still exists and we verified builds of some existing adopters.
Testing: CI testing, manual verification of adopters if this change would be disruptive or not.
Reviewed by: @xedin

Original PR: #82943
Radar: rdar://155948592

ktoso and others added 4 commits July 16, 2025 17:22
In preparation for removal. This spelling of Task.immediate was before
SE-review and was NOT accepted and therefore we should try to remove it
entirely.
@ktoso ktoso requested a review from a team as a code owner July 16, 2025 09:02
@ktoso ktoso changed the title Pick wip remove task start synchronously symbol [Concurrency] Remove symbols of startSynchronously, make it AEIC Jul 16, 2025
@ktoso ktoso changed the title [Concurrency] Remove symbols of startSynchronously, make it AEIC [6.2][Concurrency] Remove symbols of startSynchronously, make it AEIC Jul 16, 2025
@ktoso
Copy link
Contributor Author

ktoso commented Jul 16, 2025

@swift-ci please test

rdar://155596073 Task executors execution may not always hop as expected

I'm investigating a fix here as we speak, but disabling the specific piece of the test while we work on it.
@ktoso
Copy link
Contributor Author

ktoso commented Jul 16, 2025

Included a test disable here from #83095 since that just failed. It is about the task executor interactions which I'm working on to fix properly here: https://github.com/swiftlang/swift/pull/82942/files

@ktoso
Copy link
Contributor Author

ktoso commented Jul 16, 2025

@swift-ci please test

@ktoso
Copy link
Contributor Author

ktoso commented Jul 16, 2025

@swift-ci please test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

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

LGTM

@ktoso ktoso enabled auto-merge July 17, 2025 07:25
@ktoso ktoso disabled auto-merge July 17, 2025 07:25
@ktoso ktoso enabled auto-merge (squash) July 17, 2025 07:25
@ktoso ktoso merged commit 8e4d9a3 into swiftlang:release/6.2 Jul 17, 2025
5 checks passed
@ktoso ktoso deleted the pick-wip-remove-task-startSynchronously-symbol branch July 17, 2025 10:23
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.

3 participants