Skip to content

Conversation

MegaIng
Copy link

@MegaIng MegaIng commented Jul 17, 2025

Description

This PR changes the LaunchService._is_idle function to also consider running background tasks. This is to mitigate the error path described in this comment.

The core point is that there might be background tasks running that will generate events in the future, which isn't being taken into consideration, therefore the process exits despite there still being stuff to do.

Fixes #747

Is this user-facing behavior change?

Hopefully and probably not. All old tests still work, but people might be relying on interactions that I can't predict with my limited experience with this software.

Additional Information

Another person I worked with had some issues of a test breaking in a flaky way - but it's not clear if it was caused by this change, the exact changes have changed since then and I couldn't reproduce it. Hopefully that doesn't actually relate to these changes.

@MegaIng MegaIng force-pushed the rolling branch 2 times, most recently from 15fdd15 to ca47ab4 Compare July 17, 2025 12:54
@Flova
Copy link

Flova commented Aug 29, 2025

Any update or feedback regarding this PR? @wjwwood

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.

Launch doesn't stop running nodes when exception thrown

3 participants