-
Notifications
You must be signed in to change notification settings - Fork 69
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
Upgrade coroutines dep to 1.3.0-M1. #409
Conversation
@@ -372,6 +375,7 @@ class ReactorAsWorkflowIntegrationTest { | |||
assertFalse(resultSub.isCompleted) | |||
|
|||
workflow.sendEvent("foo") | |||
assertEquals(SecondState("foo"), stateSub.poll()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line for added coverage, or did the poll()
call actually fix something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflated channels now hang onto their last value even after they're closed, so we have to pull it out first now.
@@ -328,7 +327,7 @@ inline fun <reified T> ReceiveChannel<T>.asWorker( | |||
* This **SHOULD NOT** be used in production code. | |||
*/ | |||
@VeryExperimentalWorkflow | |||
@FlowPreview | |||
@ExperimentalCoroutinesApi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍿
- Some things that were `@FlowPreview` have been graduated to `@ExperimentalCoroutinesApi`. - Breakage in `CoroutineWorkflow` was caused by Kotlin/kotlinx.coroutines#1158. - Breakage in `ReactorAsWorkflowIntegrationTest` was probably caused by Kotlin/kotlinx.coroutines#1239.
1.3.0-M2 was just released, adding a commit to this PR to bump again. |
68ec830
to
02fe265
Compare
Still LGTM |
@FlowPreview
have been graduated to@ExperimentalCoroutinesApi
.CoroutineWorkflow
was caused by Fix exception types for channels to ensure transparency & reporting Kotlin/kotlinx.coroutines#1158.ReactorAsWorkflowIntegrationTest
was probably caused by Adjust behavior of conflated channel to deliver last value Kotlin/kotlinx.coroutines#1239.