Lstarsky0 opened a new pull request, #10724:
URL: https://github.com/apache/arrow-rs/pull/10724

   # Which issue does this PR close?
   
   Closes #10723.
   
   # Rationale for this change
   
   `arrow-cmp` landed in #10325 but was never added to 
`.github/workflows/arrow.yml`, so it is the one `arrow-*` crate outside that 
workflow's per-crate coverage. Every other crate there has a `cargo test -p 
<crate> --all-features` step and a clippy block; `arrow-cmp` has neither, and 
it is missing from the workflow's `paths:` filter, so a change touching only 
`arrow-cmp/**` does not start the workflow at all.
   
   What it does get is the workspace `cargo test` in `rust.yml`, `cargo fmt`, 
the MSRV sweep and miri. None of those run clippy, so a lint regression or an 
unused dependency in this crate reaches `main` unseen.
   
   # What changes are included in this PR?
   
   Two commits.
   
   `arrow.yml` — `arrow-cmp/**` in the path filter, a `cargo test -p arrow-cmp 
--all-features` step, and the same four-command clippy block the neighbouring 
crates use. All three are placed where `arrow-cmp` falls in the order the lists 
already follow: after `arrow-array`, before `arrow-select`, which is also the 
dependency order.
   
   I did not add it to the release-profile job. That list is explicitly a 
subset — "only run the low level crates in release mode which are the most 
likely to have overflow tests" — and `arrow-cmp` arguably qualifies, but that 
is your call rather than mine.
   
   `integration.yml` — drops `arrow-sort/**` from the path filter. It has been 
there since `db9084e7` (2022-12-21); that commit's own tree has no `arrow-sort` 
directory, no such crate exists on crates.io, and GitHub code search finds the 
string exactly once in the repository, which is that line. Happy to split this 
out if you would rather keep the PR to one file.
   
   # Are these changes tested?
   
   Nothing is failing today. At `bb1e6cd0` the four commands this adds are 
clean — clippy exits 0 in all four configurations and `cargo test -p arrow-cmp 
--all-features` is 44 passed — so this closes a gap rather than fixing a 
failure.
   
   To check that the gap is real rather than theoretical, I planted two defects 
in `arrow-cmp` and ran both sides:
   
   - a `pub fn` taking `&Vec<u8>`, returning with `return v.len();`, and 
carrying no doc comment
   - an unused `ahash` dependency in `arrow-cmp/Cargo.toml`
   
   With both in place, what CI runs on this crate today still passes: `cargo 
fmt -p arrow-cmp -- --check` exits 0 and `cargo test -p arrow-cmp` exits 0. The 
commands this PR adds fail on them — `needless_return`, `ptr_arg` and 
`missing_docs` from `-D warnings`, and `extern crate ``ahash`` is unused in 
crate ``arrow_cmp``` from each of the three `unused_crate_dependencies` 
configurations.
   
   Both workflow files parse as YAML. `cargo fmt --all -- --check` is clean. 
Full sequence run twice on an identical file hash for both files.
   
   # Are there any user-facing changes?
   
   No. CI configuration only.
   


-- 
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]

Reply via email to