Skip to content

[CAS] Fix task continuation misuse when CAS error happens #1591

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

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

@cachemeifyoucan cachemeifyoucan changed the title [CAS] Fix task continuation misue when CAS error happens [CAS] Fix task continuation misuse when CAS error happens May 1, 2024
Do not resume with returning after resume with throwing when there is an
error returned from CAS service.
@cachemeifyoucan cachemeifyoucan force-pushed the eng/PR-fix-continuation-misuse branch from 605e832 to 9aa8de3 Compare May 1, 2024 21:52
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@benlangmuir benlangmuir left a comment

Choose a reason for hiding this comment

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

Any of these changes testable?

@cachemeifyoucan
Copy link
Contributor Author

Any of these changes testable?

No easily. Need a libSwiftScan C API implementation that returns error.

@cachemeifyoucan cachemeifyoucan merged commit b385bbf into swiftlang:main May 2, 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.

None yet

2 participants