Repository navigation
Closed
Labels
area:coremlxcel-core: MLX FFI, primitives, KV cache, layerspriority:mediumMedium prioritystatus:doneCompletedtype:choreMaintenance tasks (build, CI, etc.)
Milestone
Description
Follow-up to #1 (OSS release rollout) and #3 (security automation + community health).
PR #3 added .github/workflows/ci.yml with a cargo deny check gate running on ubuntu-latest (github-hosted). clippy and cargo test were intentionally left out because the mlxcel build pulls in MLX C++ through cxx::bridge and the build script needs a working MLX compile environment — practically that means the existing self-hosted macOS Apple Silicon runner (self-hosted-macos-26-arm64).
Without this gate, external PRs (or our own) can break the clippy lint policy or fail tests and only get caught at release.yml time, which is too late.
Tasks
- Add a
clippy-and-testjob to.github/workflows/ci.ymlthat runs onself-hosted-macos-26-arm64 - Same path-filter and
if: needs.changes.outputs.rust == 'true'gate as the existingdenyjob - Apply the security pattern already used in
release.ymlandpipeline-parallel-ci.yml:if: github.repository == 'lablup/mlxcel' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)(block fork-PR access to the self-hosted runner pool)permissions: contents: readat job levelpersist-credentials: falseon everyactions/checkout@v6
- Steps:
cargo build --release --features metal,accelerate(verify the MLX FFI build still works)cargo clippy --all-targets --features metal,accelerate -- -D warningscargo test --release --features metal,accelerate(or the same scope asrelease.yml)
- Decide whether to also gate on
cudafeature via a Linux self-hosted runner (likely a separate job) or keep that exclusive torelease.yml. Recommendation: skip on PR side, keeprelease.ymlas the cuda gate. Document the decision in the PR body. - Once the gate is in place, update
CONTRIBUTING.mdso the local quality-gate list matches what CI enforces
Out of scope
cargo fmt --checkgate — tracked separately (see the fmt-cleanup follow-up issue)pipeline-parallel-ci.ymldistributed runs — those stay label-gated, not PR-default
Refs
- Follows up on chore: complete OSS release rollout #1, chore: add OSS security automation and community health files #3
- See
release.ymlandpipeline-parallel-ci.ymlfor the existing self-hosted runner hardening pattern
Metadata
Metadata
Assignees
Labels
area:coremlxcel-core: MLX FFI, primitives, KV cache, layerspriority:mediumMedium prioritystatus:doneCompletedtype:choreMaintenance tasks (build, CI, etc.)
Activity
chore: add OSS security automation and community health files (#3)
chore: add OSS security automation and community health files (lablup#3)
ci: add clippy and cargo test gates via self-hosted macOS runner (lab…
perf: join admissions to the decode pipeline and stream off-thread (#…