fix(python-sdk): log silent sidecar cleanup failures#1279
Conversation
|
Focused validation passed locally:
The current red generated-sync checks are unrelated repo-wide drift: regenerators want broad hosted-client/API reference/COMPLIANCE changes (for example removing hosted-mode dispatch sections from generated clients and rewriting Hunch/API reference docs). I am intentionally keeping this PR scoped to the Python SDK empty-catch diagnostics fix rather than folding that unrelated generated churn into it. |
PR Review: PASS (NOT VERIFIED)What This DoesAdds debug logging to several previously silent Python SDK exception paths around sidecar version comparison, orphan cleanup, old-server termination, and API error-body parsing. This should improve diagnostics without changing normal SDK responses. Blast RadiusPython SDK only: Consumer VerificationBefore (base branch): After (PR branch): python3 -m py_compile sdks/python/pmxt/client.py sdks/python/pmxt/server_manager.py
# PASSFull runtime import/consumer verification was blocked because this checkout does not include/install the generated Test Results
FindingsNo blocking findings. Non-blocking note: there are still unrelated silent PMXT Pipeline Check
Semver Impactpatch -- diagnostic/logging-only Python SDK fix. RiskI could not run an installed Python SDK consumer path because generated |
Summary
passhandlers in the Python SDK sidecar manager with debug logging.Fixes #1256
Fixes #1257
Fixes #1258
Fixes #1259
Fixes #1260
Test Plan
python3 -m py_compile sdks/python/pmxt/server_manager.py sdks/python/pmxt/client.pygit diff --checkNotes