mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-11 04:00:38 +00:00
docs(code-runtime-python): state the macOS killGroup behavior directly and complete the residual sentence
The review flagged the change-narrative wording 'degrades to the pre-existing
behavior' (prohibited by docs/AGENTS.md) in four spots — README en/zh, the
readProcessStart JSDoc, and the test comment — and the incomplete :77 residual
sentence ('can still' with no verb complement). Reword the four to a direct
statement of current behavior (killGroup signals the pgid without the identity
re-check on macOS), complete the residual sentence with the actual consequence,
and re-record both pairings. Corpus-wide verify-translation-pairing passes 1029.
This commit is contained in:
@@ -357,9 +357,10 @@ function messageOf(error: unknown): string {
|
||||
* Linux reads field 22 of `/proc/<pid>/stat` (starttime in clock ticks); the
|
||||
* field is positional after the comm field's closing parenthesis, which is
|
||||
* parsed from the LAST such character because a process name may contain one.
|
||||
* Darwin has no `/proc`, so the caller gets `undefined` there and the guard
|
||||
* degrades to the pre-existing behavior rather than paying a `ps` fork on a
|
||||
* teardown path. Any read failure is `undefined` for the same reason: this
|
||||
* Darwin has no `/proc`, so the caller gets `undefined` there and `killGroup`
|
||||
* signals the pgid without the identity re-check rather than paying a `ps`
|
||||
* fork on a teardown path. Any read failure is `undefined` for the same
|
||||
* reason: this
|
||||
* hardens a narrow race and must never be the thing that breaks teardown.
|
||||
* @param pid - the process to read.
|
||||
* @returns its start time, or undefined when unavailable.
|
||||
|
||||
Reference in New Issue
Block a user