-
Notifications
You must be signed in to change notification settings - Fork 377
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
Disable crashtracking by default #3970
Conversation
e4bb9f0
to
db0565c
Compare
BenchmarksBenchmark execution time: 2024-10-03 10:04:03 Comparing candidate commit db0565c in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 23 metrics, 2 unstable metrics. |
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.
👍 Change seems reasonable, although the crashtracker specs are failing in CI, I guess they need a bit of fixing given the new default.
Yes that's what I gathered. The errors seem weird though, and the
So, failures, here they are:
OK, first one:
This one's odd because, uh, Second one:
So If anything, the tests passed locally... (huh, they're actually |
Crashtracking has been identified as causing issues with `ECHILD` and `waitpid`, and possibly anything involving `SIGCHLD` with obscure failure modes of hard to anticipate consequences. Disable by default as a cautionary measure. Mitigates #3954
These specs are problematic in two ways: - `pgrep` results in false positive - the above masked the fact that `at_fork` appears to be unreliable - some of these leak threads
3ee52cb
to
8bc0e5e
Compare
Rebased. Sadly some tests needed to be outright removed as they're not reliable. They'll be fixed in a subsequent PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3970 +/- ##
=========================================
Coverage ? 97.84%
=========================================
Files ? 1314
Lines ? 78444
Branches ? 3889
=========================================
Hits ? 76750
Misses ? 1694
Partials ? 0 ☔ View full report in Codecov by Sentry. |
**What does this PR do?** This PR re-adds the spec that validates that the at_fork hook in crashtracking correctly picks up the latest instance of the component. **Motivation:** Since this is quite a weird corner case, I think it's important to have a spec to cover it. **Additional Notes:** This spec was temporarily removed in #3970 with the intention of re-adding it in #3983 but we kinda forgot about it. **How to test the change?** Check this test passes as-is, and fails if you change the `update_on_fork` call to use `self`, for instance.
What does this PR do?
Disable by default as a cautionary measure.
Motivation:
Crashtracking has been identified as causing issues with
ECHILD
andwaitpid
, and possibly anything involvingSIGCHLD
with obscure failure modes of hard to anticipate consequences.Additional Notes:
Process.wait(pid)
at [WIP] FixProcess.waitall
hanging when crashtracking enabled #3959, but the problem is more intricate.libdatadog
pending.How to test the change?
CI