Repository navigation
Remove family certification and gate llama upgrades on graph contracts - #162
Merged
Merged
Conversation
…tification # Conflicts: # .agents/skills/manage-ci/SKILL.md # .github/scripts/ci-gate.test.cjs # ci/INFERENCE_QUALIFICATION.md # ci/README.md # scripts/lib/inference_ladder.py # scripts/tests/inference_nightly.py
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 34 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
…op-family-certification
…ily-certification # Conflicts: # .agents/skills/manage-ci/SKILL.md
2 tasks done
michaelneale
added a commit
to Mesh-LLM/mesh-llm
that referenced
this pull request
Nov 23, 2026
Pin Skippy to the commit of release tag v0.80.1 instead of a stand-in branch, so a node downloads the published 0.80.1 runtime. That release differs from the stand-in in two ways: - Split certification is gone from Skippy (Mesh-LLM/skippy#162), so the --allow-uncertified-split flag and the split_certification status field go too. - It has no request tiers (Mesh-LLM/skippy#113). The node still classifies each request and runs hooks and plugins at that tier, but Skippy no longer orders admission or eviction by tier, reserves KV for local requests, or keeps a cache per tier. local_kv_reserve_percent is marked unwired. A private request still starts no peer consultation: the node turns its hooks flag off before the request reaches the server. A hook on the local server's task runs at the mesh tier. Signed-off-by: Michael Neale <14976+michaelneale@users.noreply.github.com>
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original problem
Family certification used a recipe-bound architecture allowlist to grant or deny splits. That label overstated what sampled tests established and blocked models before their actual native split contracts were checked. The llama upgrade workflow also repeated an expensive real-weight family battery across backends and independent passes.
This removes family certification and uses existing full CI as the llama upgrade gate. Architectural coverage comes from existing synthetic graph and small synthetic execution tests, with stronger checks against coverage drift. Tracks #12; activation pilots remain outstanding.
Diagnostics
The native tests already exercise every interior split boundary, a three-stage chain, decode/prefill profiles, parameter/state ownership and MTP placement without production weights. The gap was coverage enforcement: the documented registry consistency checker was absent, and generator coverage started from the registered roster without establishing complete upstream coverage.
The checked-in native patch queues define 95 registered graph cases and two supplemental GLM cases. Uncovered upstream architectures and builders are recorded as informational gaps; passing CI does not certify the upstream roster or establish a measured 90% real-model split success rate.
Fix
model-fixtures.json. It remains an input to synthetic tests and the normal small Qwen smoke, without a product support designation.Usage
Upgrade dispatch uses
force_check=truefor an unchanged-pin rehearsal; replacing the oldforce_certifyinput. With a full immutable SHA inLLAMA_UPSTREAM_SHA:gh workflow run llama-upgrade.yml --ref main \ -f upstream_sha="$LLAMA_UPSTREAM_SHA" -f force_check=trueOrdinary split planning no longer takes a certification override:
Illustrative output files include
plan/stage-0.json,plan/stage-1.jsonandplan/admissions.json. The latter records schema version 2 and the validated stage plans. Remove--allow-uncertified-splitfrom CLI invocations andSplitOptions::allow_uncertifiedfrom embedding callers.Architecture
The upgrade workflow directly reuses
ci.ymlwith the full profile and exact candidate bundle. Graph coverage checks run during preparation andjust llama-check; small synthetic numerical execution tests stay in the native suite. No additional upgrade model roster, staging refs, JY profile, or model-result collection is needed.flowchart TD Dispatch["llama-upgrade.yml<br/>Manual dispatch; schedule disabled"] --> Prepare["Resolve immutable upstream SHA<br/>Replay patches and regenerate<br/>Validate existing graph contracts<br/>Report coverage gaps without blocking"] Prepare --> CI["ci.yml — existing full CI once<br/>Code tests and graph contracts<br/>Small synthetic execution tests<br/>Existing package and device smoke"] Prepare -->|Preparation failure| PrepRepair["One bounded preparation repair"] PrepRepair -->|Preparation passed| CI PrepRepair -->|Still failing| Stop CI --> Result{"CI passed?"} Result -->|Yes, changed pin| Publish["Verify bundle matches successful CI candidate<br/>Open upgrade PR"] Result -->|Yes, unchanged pin| Done["Finish rehearsal without upgrade PR"] Result -->|No| Budget{"CI repair attempt available?"} Budget -->|Yes, once| Repair["Collect diagnostics<br/>Repair disposable checkout<br/>Freeze fresh candidate"] Repair --> CI Budget -->|No| Stop["Fail; do not publish"]The separate inference workflow retains its existing triggers and four pinned models. Its split execution records the saved split plan and checksum alongside results, replacing family certification labels.
flowchart LR Triggers["PR with qualify label<br/>Manual / nightly / release"] --> Inference["inference.yml<br/>Existing four pinned models"] Inference --> Native["Plan and load through native contracts"] Native --> Tests["Existing inference checks"] Tests --> Results["Results for exact model and topology<br/>Saved split plan and checksum"]graph-coverage.jsonconfigures special modes and supplemental source mappings for existing tests. It has no permitted-gap baseline or architecture allowlist and is not read by runtime admission. Add synthetic cases for distinct split mechanisms and concrete regressions when useful; one is not required for every upstream addition. Checking one shape cannot establish every variant.The repair runner needs an installed agent configured through
SKIPPY_UPGRADE_REPAIR_COMMAND. Repair receives no publication credentials and cannot edit policy, workflows, fixture selection or the selected upstream pin. An initial failed CI attempt remains visible in Actions even when the repaired candidate passes and opens a PR. The schedule remains disabled pending unchanged-pin and changed-pin acceptance pilots.Compatibility
Validation
Passed on the updated tree after merging current main:
SKIPPY_PYTHON=python3.12 just automation-contracts node --test .github/scripts/*.test.cjs actionlint .github/workflows/llama-upgrade.yml bash -n scripts/check-skippy-generated-family-patch.sh scripts/automation-run.sh bash scripts/tests/native-ctest-gate.sh git diff --check75 automation tests and 37 controller tests passed. Offline tests apply the actual ordered native patches to reconstruct and validate all 97 graph case definitions. Regressions cover stale/missing/duplicate existing cases, unexecuted supplemental generators, three new architectures arriving together without blocking, informational new/changed builder gaps, existing contract failures remaining blocking despite uncovered additions, retained reports, bounded preparation repair and stale publication candidate identity. These tests perform no model downloads or native compilation.
The merged Rust/API code also passed the following checks using Rust 1.99.1:
just with-lld cargo fmt --all --check just with-lld cargo check --locked --offline -p skippy-api -p skippy-commands -p skippy-cli -p skippy-protocol --features skippy-cli/dynamic-native-runtime just with-lld cargo clippy --locked --offline -p skippy-api -p skippy-commands -p skippy-cli -p skippy-protocol --features skippy-cli/dynamic-native-runtime --all-targets -- -D warnings just with-lld cargo test --locked --offline -p skippy-api -p skippy-commands -p skippy-cli -p skippy-protocol --features skippy-cli/dynamic-native-runtime just skippy-api-test just embedding-consumer-check just with-lld cargo fmt --manifest-path skippy-api-rs/Cargo.toml --all --check467 Rust tests passed, with one explicit model test ignored. Earlier C++ API contracts passed (248 executed, one optional native capability test skipped); the isolated embedding consumer compiled. The follow-up simplification changes Python, workflows and documentation, with no further Rust/native runtime edits.
The separate Rust facade test was attempted with
just with-lld cargo test --manifest-path skippy-api-rs/Cargo.toml --workspace --locked --offlineand could not build because this checkout lacks the pinned.deps/llama.cppsource. Native graph execution and live hardware/model qualification were not run locally. No replacement source was downloaded. End-to-end upgrade and repair activation remain pending acceptance pilots.Acceptance criteria