Repository navigation
Description
Summary
CONTRIBUTING.md tells contributors that clippy is "NOT gated at PR time" and that PR CI runs "only the cheap gates", but ci.yml runs a -D warnings clippy job on every Rust-touching PR, plus several further PR-time gates the paragraph never mentions. A contributor who trusts CONTRIBUTING is surprised by CI.
Background
The paragraph describes a CI arrangement that predates the clippy job being re-added to ci.yml. The job's own comment even notes it re-adds what earlier issues removed, so the docs and the workflow now disagree.
Proposed Solution
Rewrite the bullet and the inline comment against the actual PR job list, which is trivially enumerable from ci.yml.
Implementation Notes
CONTRIBUTING.md:46: "cargo clippy --workspace --all-targets ... -D warnings # NOT gated at PR time; yours to run".CONTRIBUTING.md:50: "PR-time CI runs only the cheap gates ... Clippy and the general unit suite are not enforced on your PR.".github/workflows/ci.yml:53-57(confirmed): triggers onpull_request: branches: [main]..github/workflows/ci.ymlclippy job runscargo clippy -p mlxcel --lib --tests -- -D warnings(confirmed-- -D warningsat:214) when Rust files changed.- Additional PR-time gates unmentioned by the paragraph:
crate-versions,kernel-dtype-keys,llama-compat-manifest,mlx-pin,cross-repo-refs(advisory),xla-compile,xla-link,cuda-sm70-compile.
Acceptance Criteria
- CONTRIBUTING's description of PR-time CI matches the jobs
ci.ymlactually runs on PRs.
Original Suggestion
Title: docs: CONTRIBUTING says clippy is not gated at PR time, but ci.yml runs -D warnings clippy on PRs
CONTRIBUTING.md tells contributors that clippy is "NOT gated at PR time" and that PR CI runs "only the cheap gates" — but ci.yml runs a -D warnings clippy job on every Rust-touching PR, plus seven further PR-time gates the paragraph never mentions. A contributor who trusts CONTRIBUTING gets surprised by CI.
Evidence
CONTRIBUTING.md:46— "cargo clippy --workspace --all-targets …# NOT gated at PR time; yours to run"CONTRIBUTING.md:50— "PR-time CI runs only the cheap gates:cargo fmt,cargo denyand a workspace crate-version consistency check … Clippy and the general unit suite are not enforced on your PR.".github/workflows/ci.yml:53-57— runs onpull_request: branches: [main].github/workflows/ci.yml:155-215— theclippyjob runscargo clippy -p mlxcel --lib --tests -- -D warningswhen Rust files changed; its own comment at:207-209notes it re-adds what earlier issues removed
Additional PR-time ci.yml gates unmentioned by the paragraph: crate-versions (:216), kernel-dtype-keys (:239), llama-compat-manifest (:260), mlx-pin (:299), cross-repo-refs (:345, advisory), xla-compile (:417), xla-link (:576), cuda-sm70-compile (:657).
Suggested fix
Rewrite the bullet and the inline comment against the actual job list, which is trivially enumerable from ci.yml.
Acceptance criteria
- CONTRIBUTING's description of PR-time CI matches the jobs
ci.ymlactually runs on PRs
Activity
docs: name the real path filters for the GB10 CUDA compile jobs
docs: correct CONTRIBUTING's PR-time CI gate list against ci.yml (lab…