HyukjinKwon opened a new pull request, #75: URL: https://github.com/apache/spark-connect-rust/pull/75
### What changes were proposed in this pull request? The Rust coverage job (SPARK-59071) runs the behavioral e2e suite against a live Connect server, but its e2e subset omitted two existing e2e test files — `e2e_streaming` and `e2e_new_methods` — which are not run by any CI job. So the runtime paths they exercise were measured as uncovered: - `e2e_streaming`: `streaming.rs` start / `StreamingQuery` / `StreamingQueryManager` RPC paths (rate → memory query lifecycle, `to_table`, triggers); - `e2e_new_methods`: `dataframe.rs` / `group.rs` / `session.rs` methods (temp views, checkpoints, corr/cov/sampleBy, replace, transpose, dropDuplicates, asTable, session stop). Each test builds its own session via `get_or_create` (a fresh, independent client/session per call), so the `session_stop` test releases only its own server session and does not affect siblings. Both files are already compiled by `rust.yml`'s `cargo test`, so there is no compile risk. This also prints a per-file coverage summary table into the job log and uploads the full llvm-cov + Python coverage reports as PR artifacts, so gaps are visible without re-running locally. This is the first step toward raising Rust coverage above 90%; further targeted tests will follow based on the per-file report. ### Why are the changes needed? To make the coverage badge reflect the runtime paths these existing tests already cover, and to surface per-file gaps. ### Does this PR introduce _any_ user-facing change? No. CI-only change. ### How was this patch tested? CI (the coverage workflow itself). ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code -- 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]
