Перейти к содержимому

Claude Code on Windows leaves bash, sleep, kubectl and git processes running after a tool call times out or a session ends, so I wrote a PowerShell reaper that finds them by the CLAUDECODE environment variable and kills only the orphans.

After a day of Claude Code sessions on my Windows 11 laptop I find dozens of bash.exe, sed, cat, tail, sleep, find, kubectl and git processes still alive. Nobody is waiting for their output any more. The laptop gets slow and memory fills up.

I did not want to wait for an upstream fix, so I wrote a PowerShell script that finds the leftovers and kills only those. It runs every ten minutes from Task Scheduler and again whenever a session ends. This post covers how it decides what to kill, the one surprise that broke my first design, and what it caught in its first days.

...читать далее "Reaping the orphan processes Claude Code leaves behind on Windows"

SonarQube is awesome tool and it's Community edition (which is free) fulfills almost everything one could dream for in the world of static code analysis. But, you could not analyze PR's with it by default and have to pay for at least Developer edition. Further you could find my attempt to overcome this limitation (it fulfills MY goals and seems to be worth sharing with broader audience).

...читать далее "SonarQube Community edition and PR analysis"