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 ToolRunner stdline/errline events buffering #1055

Conversation

KonstantinTyukalov
Copy link
Contributor

@KonstantinTyukalov KonstantinTyukalov commented Aug 5, 2024

WI: #1032
Based on these changes: #1030
Buffers for 'stdline' and 'errline' events are not working correctly as buffer variables are value types not changed by reference.
changed the code to store new buffer values correctly.
Also, fixed the emitDoneEvent call context to fix buffers flushing.

Tested: unit test

EvanCahill and others added 7 commits August 5, 2024 18:28
The _processLineBuffer method is incorrectly buffering line data since
the buffer is being passed as a string and thus changes to the buffer
preformed in the method are not persisted. The fix is to use an object
with a string property as the buffer.
@KonstantinTyukalov KonstantinTyukalov changed the title WIP: Fix ToolRunner stdline/errline events buffering Fix ToolRunner stdline/errline events buffering Aug 6, 2024
@KonstantinTyukalov KonstantinTyukalov marked this pull request as ready for review August 6, 2024 10:50
@KonstantinTyukalov KonstantinTyukalov requested review from a team as code owners August 6, 2024 10:50
@KonstantinTyukalov KonstantinTyukalov force-pushed the users/KonstantinTyukalov/Fix_toolrunner_line_buffering branch from b0a2350 to 214eaf4 Compare September 9, 2024 12:25
@KonstantinTyukalov KonstantinTyukalov merged commit a56dfec into master Sep 9, 2024
6 checks passed
@KonstantinTyukalov KonstantinTyukalov deleted the users/KonstantinTyukalov/Fix_toolrunner_line_buffering branch September 9, 2024 13:52
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