fix: bypass burrito proxy writer when output is to a terminal - #166
Merged
Conversation
The bug is Burrito 1.6’s new stdout relay from PR #225 (burrito-elixir/burrito#225). It made the wrapper a second owner of stdout. Issue #234 (burrito-elixir/burrito#234) and PR #235 (burrito-elixir/burrito#235) use the practical fix: when stdout is a TTY, let BEAM inherit it directly; retain the relay only for pipes. I ported that fix: - app/mix.exs:1 installs the release hook. - app/release/burrito_patches.exs:1 applies the upstream patch and fails closed if Burrito changes. - app/test/linear_cli/release/burrito_patches_test.exs:1 verifies it. - Linux Burrito binary compiled successfully. - A throttled pseudo-terminal emitted all 5,000 rows, including the final row, then exited 0. - Full suite: 312 tests passed. - Formatter check passed. Need a follow-up on this when burrito gets the patch into mainstream
bougyman
pushed a commit
that referenced
this pull request
Aug 20, 2026
🤖 I have created a release *beep* *boop* --- ## [2.0.1](v2.0.0...v2.0.1) (2026-08-20) ### Bug Fixes * bypass burrito proxy writer when output is to a terminal ([#166](#166)) ([070a1d6](070a1d6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The bug is Burrito 1.6’s new stdout relay from PR #225 (burrito-elixir/burrito#225). It made the wrapper a second owner of stdout. Issue #234
(burrito-elixir/burrito#234) and PR #235 (burrito-elixir/burrito#235) use the practical fix: when stdout is a TTY, let BEAM inherit it directly;
retain the relay only for pipes.
I ported that fix:
app/mix.exs:1 installs the release hook.
app/release/burrito_patches.exs:1 applies the upstream patch and fails closed if Burrito changes.
app/test/linear_cli/release/burrito_patches_test.exs:1 verifies it.
Linux Burrito binary compiled successfully.
A throttled pseudo-terminal emitted all 5,000 rows, including the final row, then exited 0.
Full suite: 312 tests passed.
Formatter check passed.
Need a follow-up on this when burrito gets the patch into mainstream