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: streaming stderr from subprocess started by lambda-builders #563

Merged
merged 5 commits into from
Oct 27, 2023

Conversation

sidhujus
Copy link
Contributor

Issue #, if available:
#6068
Description of changes:
the stderr output of the subprocess was being ignored and because of this if there was no information in stdout all that a user would see was that the bundler failed.

This fix has the bundler output the stderr from the subprocess if it fails.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sidhujus sidhujus requested a review from a team as a code owner October 24, 2023 21:50
@github-actions github-actions bot added pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. area/workflow/ruby_bundler labels Oct 24, 2023
Copy link
Contributor

@jysheng123 jysheng123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -66,6 +66,12 @@ def run(self, args, cwd=None):
self.osutils.remove_directory(check_dir)
else:
# Bundler has relevant information in stdout, not stderr.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we update this comment too? Seems not accurate anymore

@hnnasit hnnasit removed the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Oct 25, 2023
@sidhujus sidhujus added this pull request to the merge queue Oct 27, 2023
Merged via the queue into aws:develop with commit 934b2be Oct 27, 2023
123 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants