Skip to content

Fix resumption trace collection and printing logic #361

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

Merged
merged 24 commits into from
Sep 24, 2024

Conversation

eupp
Copy link
Collaborator

@eupp eupp commented Aug 15, 2024

Events from coroutine resumptions were not printed before.
Moreover, the "stack trace recovery after resumption" logic seem to be broken too.

This PR fixes these problems.

See the output of the affected tests to spot the difference.
One new test with several nested suspend fun-s was also added, to test the case of more complicated resumption logic.

@eupp eupp requested a review from ndkoval August 15, 2024 22:48
eupp added 18 commits August 16, 2024 19:54
… just `suspensionId`

Signed-off-by: Evgeniy Moiseenko <[email protected]>
…ace` for the same purposes

Signed-off-by: Evgeniy Moiseenko <[email protected]>
…r test for coroutine resumption trace printing

Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
…, use simple `id` instead

Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
@eupp eupp requested a review from avpotapov00 August 16, 2024 21:25
eupp added 2 commits August 22, 2024 14:18
Signed-off-by: Evgeniy Moiseenko <[email protected]>
…ne resumption call

Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
@eupp eupp requested a review from ndkoval August 29, 2024 12:02
Signed-off-by: Evgeniy Moiseenko <[email protected]>
@ndkoval
Copy link
Collaborator

ndkoval commented Sep 24, 2024

@eupp Approved. Should we wait for a review by @avpotapov00?

@eupp
Copy link
Collaborator Author

eupp commented Sep 24, 2024

Yes, he said he want to have a look.

@ndkoval ndkoval merged commit 2c6b9aa into develop Sep 24, 2024
15 checks passed
@ndkoval ndkoval deleted the fix-resumption-trace branch September 24, 2024 21:46
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