forked from retoor/devplacepy
A shared-server crash mid-suite previously cascaded into hundreds of opaque connection-refused errors across every later api/e2e test, making the real cause invisible. pytest_runtest_setup now polls the tracked subprocess and, on the first test after it exits, reports the exit code plus the server's own log tail once instead of forcing every subsequent test to fail blind. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>