Skip to content

[6.0][CAS] Fix task continuation misuse when CAS error happens #1593

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

cachemeifyoucan
Copy link
Contributor

@cachemeifyoucan cachemeifyoucan commented May 2, 2024

Explanation: Fix a crash due to misuse continuation when error happens
Scope: This fixes a bug that can cause crashes when error happens when enable remote caching for swift compilation
Original PR: #1591
Issue: rdar://127452621
Risk: Low. Only affects compilation caching and when some kind of error happens from CAS
Reviewer: @benlangmuir

Do not resume with returning after resume with throwing when there is an
error returned from CAS service.

(cherry picked from commit 9aa8de3)
@cachemeifyoucan cachemeifyoucan requested a review from a team May 2, 2024 20:47
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@akyrtzi akyrtzi merged commit 33621db into swiftlang:release/6.0 May 3, 2024
3 checks passed
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.

2 participants