Echoslayer commented on PR #59375: URL: https://github.com/apache/spark/pull/59375#issuecomment-6717740263
Thanks for the feedback. In `7fdb1d9c26b`, I reduced the additions from six tests (103 lines) to four tests (58 lines) and broadened the coverage baseline to include `test_client.py` alongside `test_client_retries`, `test_connect_retry`, and `test_progress.ProgressBarTest`. Both versions were measured against the same upstream production source (`b06b99c6d45`), using Python 3.12.12 and coverage.py 7.17.2 with branch coverage: | Module | Covered lines before → after | Covered branches before → after | | --- | --- | --- | | `client/retries.py` | 159/162 → 160/162 | 54/60 → 56/60 | | `shell/progress.py` | 89/94 → 89/94 | 13/16 → 13/16 | The retry gains are the disconnected-cursor return (`393→394`) and uncapped server-delay path (`163→165`). These figures are for the selected unit suites, not the full project. I removed the mixed-status-details and environment-switch tests. The jitter test now focuses on the values immediately below and at the threshold, including the random-call arguments. The progress test adds no line/branch coverage in this broader baseline; I retained it to verify unchanged exception propagation, silent output, and exactly an update (`done=False`) followed by completion (`done=True`). The baseline passed 78 tests and the revision passed 82, with no skips. Ruff checks and formatting passed, and [CI for the new commit](https://github.com/Echoslayer/spark/actions/runs/42390838069) is green. The PR description now includes the measurement scope and rerun command. The branch also carries the one-line Java 21 default from upstream so fork CI can build current upstream Spark. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
