Repository navigation
fix: restore Provider Tests CI job targeting Swift provider - #263
ethenotethan merged 2 commits into
Conversation
PR Layr-Labs#255 removed the Rust provider and its test-provider job from ci.yml, but "Provider Tests" is still a required status check in branch protection. This caused every PR to show "Expected — Waiting for status to be reported" indefinitely, blocking merges. Replace with a Swift provider test job on the existing Blacksmith macOS runner (blacksmith-12vcpu-macos-26). Runs `swift test` for provider-swift, leveraging the same SwiftPM cache as the existing cache-swift job.
|
@hankbobtheresearchoor is attempting to deploy a commit to the EigenLabs Team on Vercel. A member of the Team first needs to authorize it. |
|
I'll take a look at this. |
hankbobtheresearchoor
left a comment
There was a problem hiding this comment.
Review Summary
Clean fix. One observation, and the Vercel authorization blocker (infra, not code).
Review: #263 — restore Provider Tests CI jobVerdict: ✅ Clean fix, no code issues. What it does: Re-adds the What checks out:
Blocking merge: All three Vercel deploy checks are failing with "Authorization required." This is a first-contributor Vercel authorization issue — a team member needs to click the authorization link. Not a code defect. Once authorized, LGTM once Vercel is authorized. |
The Provider Tests job was failing because swift test links and
initialises MLX, which needs the Metal shader library (mlx.metallib)
at runtime. The test suite itself passed, but the process exited 1 on
MLX deinit ("Failed to load the default metallib").
Add a swift build + metallib extraction step before swift test,
matching the pattern in integration.yml.
Problem
PR #255 removed the Rust
provider/directory and thetest-providerCI job from.github/workflows/ci.yml. However, "Provider Tests" is still listed as a required status check in themasterbranch protection rules. Since no workflow produces a check with that name, every PR shows:indefinitely, blocking merges.
Fix
Re-add a
test-provider/ "Provider Tests" job that runs on the existing Blacksmith macOS runner (blacksmith-12vcpu-macos-26) — the same runner already used bycache-swift. Instead of the deleted Rust tests, it runsswift testfor the Swift provider (provider-swift/), reusing the same SwiftPM cache.What changed
cargo test+cargo fmt+cargo clippyfor the Rust providerswift testfor the Swift provider onblacksmith-12vcpu-macos-26CI job
Verification
origin/master57E1CCC9E6C07252)Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.