-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
feat: allow stack trace suppression (#266) #275
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'll ask other contributor to merge, for double-check.
We have no issue nor feedback regarding this change, so I'm personally not sure how (in which case) this feature helps our users.
Type-A developers like myself see stack traces as something gone wrong in my gradle build - the reports file detail what went wrong, and gradle can still return a non 0 RC if ignoreFailures is set, so its just a feature to remove the overly alarming stack trace if the user choses to do so. |
} | ||
@Unroll | ||
def 'build does not show stack traces when bugs are found with `showStacktraces = true` (Worker API? #isWorkerApi)'() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment here doesn't match your build file on line 273. Either update the comment or change the test to match the comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed in 7947270. Do you want a squashed single commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies, that should be d14465d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for the one test comment that I pointed out is inconsistent with the actual test. Once that is fixed I vote we merge it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I personally don't like ternary operators, but I couldn't think of a reasonable alternative without making it just as ugly for where we print out the stacktrace.
🎉 This PR is included in version 4.4.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
No description provided.