Print threads backtrace on SIGINFO/SIGPWR#1830
Open
sobrinho wants to merge 4 commits intocucumber:mainfrom
Open
Print threads backtrace on SIGINFO/SIGPWR#1830sobrinho wants to merge 4 commits intocucumber:mainfrom
sobrinho wants to merge 4 commits intocucumber:mainfrom
Conversation
Contributor
|
Ignore any failing tests in CI for the CCK |
Contributor
|
This has CI failures related to this code. I'm currently knee-deep in investigating / fixing up other areas of the main codebase so won't be able to dive into this much in the next 1-2 weeks |
Author
|
@luke-hill fixed |
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.
Description
Debugging stuck builds is always tricky and this will add a thread backtrace dump to STDERR when the process is signaled with SIGINFO (macOS) or SIGPWR (linux).
On macOS you can use CTRL+T to signal the running process. Linux you can use
kill -PWR pid.I have a PR open against RSpec as well here.
This is a common pattern used by Sidekiq and Puma that I'm aware of but possibly other projects as well.
Type of change
Please delete options that are not relevant.
Please add an entry to the relevant section of CHANGELOG.md as part of this pull request.
Checklist:
Your PR is ready for review once the following checklist is
complete. You can also add some checks if you want to.
bundle exec rubocopreports no offenses