From b304d5ee2a531f5ec7bb8c5260cedf9e8a211c06 Mon Sep 17 00:00:00 2001 From: Chris Burroughs Date: Mon, 20 Apr 2026 21:23:03 -0400 Subject: [PATCH 1/2] thread name to the therad for the workunit handler This is so it shows up more clearly in stacktraces or `perf`. --- src/python/pants/engine/streaming_workunit_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/pants/engine/streaming_workunit_handler.py b/src/python/pants/engine/streaming_workunit_handler.py index 9145f83c929..250a93299ef 100644 --- a/src/python/pants/engine/streaming_workunit_handler.py +++ b/src/python/pants/engine/streaming_workunit_handler.py @@ -294,7 +294,7 @@ def __init__( max_workunit_verbosity: LogLevel, allow_async_completion: bool, ) -> None: - super().__init__(daemon=True) + super().__init__(daemon=True, name="workunit-stream") self.scheduler = scheduler self.context = context self.stop_request = threading.Event() From 7bbe02522c4c0e815e83848f53e4b9c394f5a4a5 Mon Sep 17 00:00:00 2001 From: Chris Burroughs Date: Mon, 27 Apr 2026 12:43:16 -0400 Subject: [PATCH 2/2] release notes per review --- docs/notes/2.33.x.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/notes/2.33.x.md b/docs/notes/2.33.x.md index 41cfa6f58e7..1b63896348d 100644 --- a/docs/notes/2.33.x.md +++ b/docs/notes/2.33.x.md @@ -16,6 +16,8 @@ Thank you to [Klaviyo](https://www.klaviyo.com/) for their Platinum tier support ### General +The thread used by the [`workunit-logger`](https://www.pantsbuild.org/2.33/reference/subsystems/workunit-logger) is now named. + ### Goals ### Backends