Skip to content

fix: restore Provider Tests CI job targeting Swift provider - #263

Merged
ethenotethan merged 2 commits into
Layr-Labs:masterfrom
hankbobtheresearchoor:fix/add-swift-provider-tests
Jun 1, 2026
Merged

ethenotethan merged 2 commits into
Layr-Labs:masterfrom
hankbobtheresearchoor:fix/add-swift-provider-tests

Conversation

@hankbobtheresearchoor

@hankbobtheresearchoor hankbobtheresearchoor commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

Problem

PR #255 removed the Rust provider/ directory and the test-provider CI job from .github/workflows/ci.yml. However, "Provider Tests" is still listed as a required status check in the master branch protection rules. Since no workflow produces a check with that name, every PR shows:

Provider Tests — Expected — Waiting for status to be reported

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 by cache-swift. Instead of the deleted Rust tests, it runs swift test for the Swift provider (provider-swift/), reusing the same SwiftPM cache.

What changed

CI job

test-provider:
  name: Provider Tests
  runs-on: blacksmith-12vcpu-macos-26
  steps:
    - checkout (submodules: recursive)
    - restore SwiftPM cache (same key as cache-swift)
    - swift test

Verification

  • Branch is clean, cut from origin/master
  • GPG-signed commit (57E1CCC9E6C07252)
  • CI should now report "Provider Tests" as a passing check once approved

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

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.
@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown

@hankbobtheresearchoor is attempting to deploy a commit to the EigenLabs Team on Vercel.

A member of the Team first needs to authorize it.

@hankbobtheresearchoor

Copy link
Copy Markdown
Contributor Author

I'll take a look at this.

@hankbobtheresearchoor hankbobtheresearchoor left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Clean fix. One observation, and the Vercel authorization blocker (infra, not code).

@hankbobtheresearchoor

Copy link
Copy Markdown
Contributor Author

Review: #263 — restore Provider Tests CI job

Verdict: ✅ Clean fix, no code issues.

What it does: Re-adds the test-provider / "Provider Tests" job to ci.yml after #255 removed the Rust provider. Now runs swift test on the Swift provider instead.

What checks out:

  • Cache strategy: restore-only is correct — cache-swift (push-only) handles population
  • Cache key matches cache-swift exactly — same SPM cache, no fragmentation
  • provider-swift/Tests/ exists and is wired
  • Same runner (blacksmith-12vcpu-macos-26) and checkout (submodules: recursive) as cache-swift

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, mergeStateStatus should clear and "Provider Tests" will satisfy the branch protection rule.

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.
@ethenotethan
ethenotethan merged commit 535fe08 into Layr-Labs:master Jun 1, 2026
6 of 8 checks passed

This branch had an error being deployed

1 failed deployment
benchmarks — 856e913f Deployed Jun 1, 2026 by hankbobtheresearchoor via E2E Benchmarks #529
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants