Repository navigation
ref(batcher): name dedicated batcher threads - #1937
Merged
Merged
Conversation
jpnurmi
marked this pull request as ready for review
August 3, 2026 09:29
Give the logs and metrics batchers distinct OS-level thread names while keeping the batcher implementation generic. Named dedicated threads make profiling and tracing easier because background work can be identified directly in debuggers, crash dumps, and trace timelines instead of showing up as anonymous worker activity.
jpnurmi
force-pushed
the
jpnurmi/ref/batcher-thread-names
branch
from
August 3, 2026 09:39
1683b3f to
84a0453
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1937 +/- ##
==========================================
- Coverage 75.80% 75.80% -0.01%
==========================================
Files 93 93
Lines 22149 22167 +18
Branches 3942 3944 +2
==========================================
+ Hits 16791 16804 +13
- Misses 4477 4481 +4
- Partials 881 882 +1 🚀 New features to boost your workflow:
|
JoshuaMoelans
approved these changes
Aug 3, 2026
1 task
social4hyq
pushed a commit
to social4hyq/homebrew-core
that referenced
this pull request
Sep 20, 2026
sentry-native 0.16.2 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`. - [ ] `resource` blocks have been checked for updates. <details> <summary>release notes</summary> <pre>**Features**: - Add `sentry_scope_remove_fingerprint` to remove a fingerprint set on a scope, matching the global `sentry_remove_fingerprint`. ([#1932](getsentry/sentry-native#1932)) - Add `sentry_options_set_before_send_feedback` to filter or enrich user feedback. Feedback does not go through `before_send`. ([#1923](getsentry/sentry-native#1923)) - Unix: Add `SENTRY_LINK_CURL` to control whether the curl transport links `libcurl` directly, loads it dynamically at runtime, or uses the default behavior. ([#1954](getsentry/sentry-native#1954)) **Fixes**: - Name `sentry-logs` and `sentry-metrics` telemetry batcher threads so they can be identified in debuggers, profilers, and crash reports. ([#1937](getsentry/sentry-native#1937)) - Linux: close descriptor `0` on failed module file mapping when that descriptor was returned by `open`, avoiding a file descriptor leak. ([#1924](getsentry/sentry-native#1924)) - `sentry_attachment_set_filename`, `sentry_attachment_set_type`, and `sentry_attachment_set_content_type` now flush the scope, so changes applied after `sentry_attach_file`/`sentry_attach_bytes` also apply to hard-crash events instead of only to normal events. ([#1934](getsentry/sentry-native#1934)) - Crashpad: fix a crash when calling `sentry_init` before C++ dynamic initializers have run. ([#1930](getsentry/sentry-native#1930), [mini_chromium#8](getsentry/mini_chromium#8)) - Reduce the size of native-generated minidumps on Windows ([#1929](https://github.com/getsentry/sentry-native/pull/1929))</pre> <p>View the full release notes at <a href="https://github.com/getsentry/sentry-native/releases/tag/0.16.2">https://github.com/getsentry/sentry-native/releases/tag/0.16.2</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!16247
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.
Give the logs and metrics batchers distinct OS-level thread names.
Named dedicated threads make profiling and tracing easier because background work can be identified directly in debuggers, crash dumps, and trace timelines instead of showing up as anonymous worker activity.
Before
After