Skip to content
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

Fix debug logs inside user commands #1064

Merged

Conversation

KonstantinTyukalov
Copy link
Contributor

@KonstantinTyukalov KonstantinTyukalov commented Sep 6, 2024

Sometimes 'exit' event raises when stdout is not yet flushed leading to case when debug log injected between tool output chunks.
This PR moves all debug logs related to process 'exit' and 'close' events to the place where stdout should be already closed.

WI: AB#2180742

@KonstantinTyukalov KonstantinTyukalov marked this pull request as ready for review September 6, 2024 17:39
@KonstantinTyukalov KonstantinTyukalov merged commit 98dccbd into master Sep 9, 2024
6 checks passed
@KonstantinTyukalov KonstantinTyukalov deleted the users/KonstantinTyukalov/Fix_logs_on_exit branch September 9, 2024 12:00
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.

5 participants