What IonWarp found on a real pull request

getsentry/sentry #93824

Highisinstance check at line 254 tests against multiprocessing.Process which is the default context's ForkProcess class, not the SpawnProcess class created by multiprocessing.get_context('spawn'), causing the check to always be False on Linux and preventing process.kill() from being called on unhealthy workers

IonWarp caught it Qodo, Greptile, Cursor Bugbot and CodeRabbit missed it

See the graded case

Continue with GitHub to get this on every pull request. Read-only code access.

Use Google or email instead
or

Already have an account?