diff --git a/docs/notes/2.32.x.md b/docs/notes/2.32.x.md index cc83589c4f1..4d72bf22104 100644 --- a/docs/notes/2.32.x.md +++ b/docs/notes/2.32.x.md @@ -27,6 +27,8 @@ a specific field inside a TOML/YAML/JSON file, using the `@path/to/file:trail.wi The "spinner line" indicator now displays work unit times to one decimal place instead of two, and should look smoother. +Fixed "Scheduling:" workunits (process execution wrappers) being logged at INFO instead of DEBUG, which caused duplicate log lines like `Completed: Scheduling: Generate lockfile for pytest` alongside the actual `Completed: Generate lockfile for pytest`. + #### Internal Python Upgrade The version of Python used by Pants itself has been updated to [3.14](https://docs.python.org/3/whatsnew/3.14.html). To support this, the [Pants Launcher Binary](https://www.pantsbuild.org/blog/2023/02/23/the-pants-launcher-binary-a-much-simpler-way-to-install-and-run-pants) (also known as [`scie-pants`](https://github.com/pantsbuild/scie-pants/)) now has a minimum version of `0.13.0`. To update to the latest launcher binary, either: diff --git a/src/rust/process_execution/src/cache.rs b/src/rust/process_execution/src/cache.rs index 6c512bcb07e..7a5f049f908 100644 --- a/src/rust/process_execution/src/cache.rs +++ b/src/rust/process_execution/src/cache.rs @@ -94,14 +94,14 @@ impl crate::CommandRunner for CommandRunner { }; workunit.update_metadata(|initial| { - initial.map(|(initial, _)| { + initial.map(|(initial, level)| { ( WorkunitMetadata { local_command: Some(command_digest), local_action: Some(action_digest), ..initial }, - Level::Info, + level, ) }) });