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

Print Bundler progress to stderr when invoking CLI directly #2801

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

vinistock
Copy link
Member

Motivation

In launcher mode #2778, we don't see the Bundler output printed because we're setting the UI to silent. If we make the Thor shell used by Bundler print to stderr instead of stdout, then we can see the output normally.

Implementation

Started prepending a patch to the Thor shell to guarantee we can only print to stderr. This is only used in launch mode.

Automated Tests

Added a test.

@vinistock vinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels Oct 29, 2024
@vinistock vinistock self-assigned this Oct 29, 2024
@vinistock vinistock requested a review from a team as a code owner October 29, 2024 17:15
@vinistock vinistock force-pushed the vs-display-bundler-progress branch from 6172fb0 to a8fa442 Compare October 29, 2024 17:16
@vinistock vinistock requested review from andyw8 and st0012 October 29, 2024 17:21
@vinistock vinistock force-pushed the vs-display-bundler-progress branch from a8fa442 to d7ea37a Compare October 29, 2024 17:59
@vinistock vinistock force-pushed the vs-invoke-bundler-cli branch from bbc0a44 to 0c4392b Compare October 30, 2024 17:46
Base automatically changed from vs-invoke-bundler-cli to main October 30, 2024 18:36

Verified

This commit was signed with the committer’s verified signature.
lukekarrys Luke Karrys
@vinistock vinistock force-pushed the vs-display-bundler-progress branch from d7ea37a to e0bdfa3 Compare October 30, 2024 18:39
@vinistock vinistock enabled auto-merge (squash) October 30, 2024 18:39
@vinistock vinistock merged commit c1fd00b into main Oct 30, 2024
35 checks passed
@vinistock vinistock deleted the vs-display-bundler-progress branch October 30, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other Changes that aren't bugfixes, enhancements or breaking changes server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants