← Back to Pull requests

Consume Skippy as an external project and remove its source from this repository #3193

Closed
unknown closed this pull request without merging on Nov 28, 2026 00:25 UTC
View on GitHub
unknown unknown commented on Nov 21, 2026 23:03 UTC
Author

Original problem

Skippy, the inference runtime, now lives in its own public repository, Mesh-LLM/skippy, where it is built, tested and released. This repository still carries a full copy of the Skippy source, the llama.cpp patch queue, the GPU runtime builds and the CI planner that existed to manage them.

Fix

MeshLLM consumes Skippy as an external project, pinned to one Skippy release.

  • Pin: the 25 direct Skippy crates are exact crates.io v0.80.4 dependencies in the root Cargo.toml and Cargo.lock. scripts/skippy-pin.sh records the matching Skippy release commit (29c1109b) for source fallback builds. skippy/, tools/xtask, tools/process-supervision and tools/ci-controller are removed.

  • Runtime, by default downloaded: just build and the CI inference smoke download the native runtime that the pinned release published for the machine (scripts/fetch-skippy-runtime.sh), check it against the release's checksums and put it beside the host. Nothing compiles Skippy's native code in the default path.

  • Source build as fallback: when the pinned release has no package for the machine and backend (including Vulkan), for custom GPU architecture builds, or with MESH_LLM_RUNTIME_FROM_SOURCE=1, the runtime is built from the pinned Skippy source. The local Windows just build helper still falls back to source even though v0.80.4 now publishes Windows archives.

  • Another Skippy, locally: scripts/skippy-source.sh --ref <branch|tag|commit|pull/N> [repository-url] fetches that Skippy, from a fork if a URL is given, and builds both the crates and the runtime from it. scripts/skippy-source.sh <checkout> does the same for a local checkout, and --pinned restores the crates.io pin. A checkout at another version temporarily changes the Skippy dependency versions in Cargo.toml.

  • Another Skippy, in CI: a Skippy-Ref: pull/123 line in a PR description, or the workflow's skippy_ref input, makes the inference smoke build that Skippy from source instead of downloading.

  • Released host: a host with no runtime beside it downloads one from Skippy's releases, and refuses a runtime whose version or ABI differs from the Skippy it was built against.

  • Serving: GGUF only; the docs carry a migration note for the removed MLX flags and config.

  • CI: one plain ci.yml replaces the lane and planner workflows: lint, Rust tests on Linux, macOS and Windows, console and public website checks, a Linux CPU inference and two-node mesh smoke, and short CPU host smokes on macOS and Windows. It reports the five PR / … check names the rule on main requires.

  • Release: release.yml builds one host archive per platform plus the Swift, Kotlin and Node SDKs. It checks packaging on every platform and runs short CPU host smokes on Linux x86_64, macOS and Windows; Linux arm64 keeps packaging checks without another inference run. Skippy qualifies its runtimes. The version is set by a pull request first, as for 0.80.0 (RELEASE.md). The transition release offers the 0.80.0 CUDA and ROCm archive names; it withholds Vulkan aliases until Skippy publishes a Vulkan runtime.
  • About 1.05 million lines are deleted.

    Behaviour lost until a later Skippy release

  • Request tiers are off in the engine. Skippy v0.80.4 has no request tiers (Mesh-LLM/skippy#113 is open). The node still classifies requests, but admission order by tier, the KV reserve, eviction order and per-tier caches do not apply. Restoring them is tracked in #3212.

  • The Skippy half of #3121 is missing (open as Mesh-LLM/skippy#189), so the lane-fallback test is ignored.

  • Split certification is removed, as Skippy dropped it.
  • Release work remaining

  • release.yml has not run on GitHub in this form; its release_readiness job lists the checks a real release still lacks.

  • The two Docker images have not been built.

  • The local Windows just build downloader still falls back to source; Skippy v0.80.4 publishes Windows packages, but its release notes say inference qualification is pending.

  • A short MeshLLM host smoke on representative NVIDIA and AMD hardware is still needed to check CUDA and ROCm runtime download and loading. Full backend qualification belongs to Skippy.

  • The full Swift XCFramework and Windows PowerShell release packaging have not been built locally.
  • Validation

    Validation:

  • cargo check -p mesh-llm, just lint, just test-rust --no-fail-fast, just test-ui and actionlint passed locally on macOS arm64. The first just test-all run found a transient macOS ACL test failure; that test and the subsequent complete workspace Rust suite passed on rerun.

  • just build downloaded Skippy v0.80.3's published Metal runtime and built the host and console. just smoke target/debug/native-runtimes <model.gguf> loaded it and returned a completion.

  • A private host with no adjacent runtime downloaded v0.80.3 from Skippy's live release into a fresh cache at startup, loaded a model and answered a chat request. A private mesh-llm runtime install also downloaded the published runtime.

  • All 13 native runtime download tests passed, including catalog checksum, archive checksum, ABI and catalog-entry mismatch rejection.

  • The source-override script test switched a fixture from exact crates.io v0.80.3 to a local v0.80.2 checkout, resolved Cargo's path patch, then restored the manifest and lockfile.

  • GitHub CI at a580090b3 passed: lint, console, Linux/macOS/Windows Rust tests, CPU inference smoke and all five required PR checks.

  • just test-all, just build, just bundle (including its checksum), just crate-docs for all 34 published crates, scripts/ci-website.sh, and actionlint passed locally. The bundle included the pinned v0.80.3 Metal runtime.

  • PR CI at 2a1a3a6c2 passed lint, console, website, Linux/macOS/Windows Rust tests, pinned-release CPU inference, and all five required checks.

  • Named Skippy source CI at 2a1a3a6c2 built v0.80.3 from source, passed CPU inference and two-node mesh smoke, and passed all platform Rust tests.

  • Source override, runtime cache and glibc fallback, runtime packaging, SDK artifact, website, and compatibility alias script tests pass under just lint.

  • On macOS arm64, the published v0.80.3 CPU runtime passed just smoke and the portable host smoke with a private cache and a chat completion.

  • The CPU smoke change passed actionlint, just lint, the full workspace Rust suite after a transient unrelated macOS ACL test rerun, and just test-ui.

  • At 1806a5a7f, actionlint, just lint, and just build passed locally. The host reported runtime v0.80.4 and ABI 0.1.87, then installed the published macOS CPU runtime in a private cache and answered a chat request.
  • Still not run: representative CUDA and ROCm MeshLLM host smokes, and --ref against a fork or pull request. Vulkan support is being followed up separately.

    The console has no visible change. Its log-summary vocabulary names the flag --skippy-ref instead of --mesh-llm-ref, one end-to-end test was removed, and the package script that ran it was dropped.

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: jaredwy Review duration: 8722m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.57) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.57 · 650 lines diff across 8 files
    0.57
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #3193"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 57% (MEDIUM) · Higher = larger blast radius
    57%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 24.7% · Safe to merge
    24.7%