You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What
An agent can start shell processes, which are commands running in the background. When the agent stops, Claude Code ends any that are left over. This cleanup used to ask each process to stop and then force it to stop, in a single pass with no retry.
Now it works like this:
It matches leftover processes against the system's list of running processes using their start time.
It follows up with SIGKILL, the signal that forces a process to stop.
If reading the process list fails, it tries once more.
Why
Shells that an agent leaves running are more likely to be ended.