-
Notifications
You must be signed in to change notification settings - Fork 104
Infrastructure to invoke a backtrace cleaner for failed jobs backtraces #146
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
Conversation
@rosa Could I get this looked at and any feedback necessary to move it forward? Hal |
@hms yes! Sorry for the delay, I didn't have time last week to look at it but I had it in my plans. I'll try to review next week. |
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.
Thanks a lot for your patience, @hms. Very nice! I've left some comments for your consideration 😊
@rosa Are there still outstanding issues that I haven't addressed? I would love for this to get pushed so I can get back onto the mainline releases. |
…obs screen * Defaults to the standard Rails backtrace_cleaner * Can be overridden with a user supplied backtrace_cleaner via an initializer
I inadvertantly early initialized the Rails.backtrace_cleaner as part of setting MissionControl wide defaults. This commit uses a proc as the default so the database cleaner will be initialized in the Application environment (vs. the Gems's) Fixed a typo where I referenced the Gems state instead of the Applicaations state to access the database cleaner
* (Hopefully) addressed @rosa's feedback on project style, code quality, and implementation requirements * Updated the design to support both a global MissionControl::Jobs wide backtrace cleaner and Application/Server specific backtrace cleaners * With this commit, the implementation relies less on jobs_helper.rb and more on a new before_action in the jobs_controller. * Added more UI testing for compleness
* Moves defaults handling from MissionControl::Jobs::Application to MissionControl::Jobs::Server to minimize impact of this new feature on the existing implementation and tests. This fixes the unit test failure that I missed in the previous commit. * Uses @server rather than looking it up via params in the JobsController. This allows reverting all changes to the JobsController.
f68b461
to
927ae8c
Compare
@hms sorry for the delay! All great now 👍 👍 Thanks for your patience! |
Adds a button to allow invoking a backtrace_cleaner on the backtrace of a failed job.