You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Background TasksArea: what it touches
ImprovementsKind: in v2.1.251,
ImprovementsSection of the release
What
When the background daemon tears down a terminal worker, it now checks the recorded REPL process before falling back to killing the whole process group, on top of the existing attempts to close sockets. This makes cleanup less likely to kill more than it should.
Details
The check uses the process id and start time stored for the worker, so a recycled process id is not mistaken for the original.
Unconditional part of background worker cleanup.
Evidence
await UV(A.replPid, A.replProcStart)
Strings lifted out of the shipped bundle, so the claim above can be checked against them.