Skip to content

Conversation

@M-Lazeba
Copy link
Contributor

@M-Lazeba M-Lazeba commented Nov 14, 2025

Having consoleView as a parent disposable here results in a bug that if that consoleView (tests run window) is closed no further events, including FinishBuildEvent, are propagated tobuildViewManager. This results build tu stuck in 'running' state on the UI.

Having buildViewManager as a parent disposable makes more sense here.


Note

Switches the build event listener’s parent disposable from the console view to the BuildViewManager to avoid premature disposal when the test console closes.

  • Gradle test runner (GradleTestsExecutionConsoleManager.java):
    • Create Disposable with buildViewManager as parent instead of consoleView for the build event listener.
    • Keeps disposing the listener on FinishBuildEvent.

Written by Cursor Bugbot for commit 36827e6. This will update automatically on new commits. Configure here.

Having consoleView as a parent disposable here results in a bug that if
that consoleView (tests run window) is closed no further events,
including FinishBuildEvent, are propagated tobuildViewManager.
This results build tu stuck in 'running' state on the UI.

Having buildViewManager as a parent disposable makes more sense here.
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