Skip to content

docs: correct CONTRIBUTING's PR-time CI gate list against ci.yml - #2021

Merged
inureyes merged 3 commits into
mainfrom
fix/issue-1702-contributing-ci-gates
Sep 28, 2026
Merged

inureyes merged 3 commits into
mainfrom
fix/issue-1702-contributing-ci-gates

Conversation

@inureyes

@inureyes inureyes commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Summary

CONTRIBUTING.md said clippy was not gated at PR time and that PR CI ran only cargo fmt, cargo deny, and a crate-version check, but ci.yml's clippy job (re-added in #1285 after #21/#23 dropped it for cost) has run cargo clippy -p mlxcel --lib --tests -- -D warnings on Rust-touching PRs since then, alongside a dozen other jobs the paragraph never named.

What changed

  • Rewrote the inline comment on the local cargo clippy --workspace --all-targets --features metal,accelerate command to say the narrower CI slice is gated, not the full invocation.
  • Rewrote the PR-time CI paragraph to enumerate the current ci.yml job list: the always-on toolchain-free checks, fmt/deny/clippy gated on Rust changes, the further GB10 jobs each on their own path filter (xla-compile on Rust changes, xla-link on the IREE link recipe, cuda-sm70-compile and cuda-blockfloat on the CUDA-architecture paths rather than ordinary Rust changes, webui-installed-artifact on Rust or WebUI changes), the hosted webui-bundle and mlx-pin path filters, the parked ROCm gate, the advisory jobs (rocm-ci-status, self-hosted-gate-advisory, cross-repo-refs), and workflow-lint.
  • Kept the general unit suite and the full-feature clippy invocation correctly described as still unenforced at PR time.

Test plan

  • Verified every job name, if condition, runs-on, and path filter against the current .github/workflows/ci.yml rather than the issue's possibly-stale enumeration.
  • Confirmed vars.ROCM_CI_ENABLED and the rocm-gfx1151 runner are both absent via gh api repos/lablup/mlxcel/actions/variables/ROCM_CI_ENABLED and gh api repos/lablup/mlxcel/actions/runners.
  • python3 scripts/ci/check_cross_repo_refs.py
  • python3 "$HOME/.claude/skills/commit-conventions/scripts/validate_body.py" CONTRIBUTING.md (no new violations; pre-existing hard-wrap findings at lines 109-121 are unrelated to this change)
  • Reviewed by pr-reviewer (found and fixed a HIGH finding: cuda-sm70-compile and cuda-blockfloat gate on the CUDA-architecture path filter, not on ordinary Rust changes) and pr-security-checker (pass, prose-only diff)

Closes #1702

CONTRIBUTING.md said clippy was not gated at PR time and that PR CI ran only cargo fmt, cargo deny, and a crate-version check, but ci.yml's clippy job (re-added in #1285 after #21/#23 dropped it for cost) has run cargo clippy -p mlxcel --lib --tests -- -D warnings on Rust-touching PRs since then, alongside a dozen other jobs the paragraph never named.

Rewrote the inline comment on the local clippy command and the PR-time CI paragraph to enumerate the actual gates from the current workflow: the always-on toolchain-free checks, the Rust-path-gated GB10 jobs (clippy, xla-compile, xla-link, cuda-sm70-compile, cuda-blockfloat, webui-installed-artifact), the WebUI and MLX-pin path filters, the parked ROCm gate, the advisory jobs (rocm-ci-status, self-hosted-gate-advisory, cross-repo-refs), and workflow-lint. Kept the general unit suite and full-feature clippy invocation correctly described as still unenforced.

Verified against the current .github/workflows/ci.yml job list rather than the issue's possibly-stale enumeration, since recent commits changed CI gating (GB10 runner scoping, ROCm gate parking).
@inureyes inureyes added status:review Under review type:docs Documentation improvements or additions priority:medium Medium priority labels Sep 28, 2026
The rewritten PR-time CI paragraph called cuda-sm70-compile and cuda-blockfloat Rust-path-gated. In ci.yml both gate on the cuda_arch filter (src/lib/mlx-cpp/** minus the ROCm and Metal subtrees, plus the MLX build scripts), which contains no *.rs glob, so an ordinary Rust change does not run them. The sentence now names each GB10 job's actual trigger and the ci:full override, describes webui-bundle's filter as including the server and CLI sources, and drops a phrase that referred to the paragraph's previous revision.

Refs #1702
@inureyes inureyes added status:done Completed and removed status:review Under review labels Sep 28, 2026
@inureyes
inureyes merged commit 46e5958 into main Sep 28, 2026
24 checks passed
@inureyes
inureyes deleted the fix/issue-1702-contributing-ci-gates branch September 28, 2026 23:21
@inureyes inureyes added this to the 0.8 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Medium priority status:done Completed type:docs Documentation improvements or additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: CONTRIBUTING says clippy is not gated at PR time, but ci.yml runs -D warnings clippy on PRs

1 participant