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

split Run into Run and Read to ensure logs are captured #190

Merged
merged 3 commits into from
Jun 14, 2022

Conversation

vito
Copy link
Owner

@vito vito commented Jun 14, 2022

When running Booklit tests against Bass Loop I noticed test output wasn't being forwarded. Turned out this was happening because the GRPC stack lost the notion of io.Discard being passed to Run which is how it previously knew to just send output to the progress UI. Splitting this method in twain makes it much more explicit.

vito added 3 commits June 13, 2022 20:14
this broke when I got rid of unhyphenation
previously this relied on w != io.Discard to determine whether to
capture logs, which feels way overloaded and caused logs to not be
captured over gRPC.
@vito vito added the bugfix Fixes a regression or unintended behavior label Jun 14, 2022
@vito vito merged commit b399cfa into main Jun 14, 2022
@vito vito deleted the fix-swallowing-logs branch June 14, 2022 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes a regression or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant