Repository navigation
Run native CI for fork PRs after workflow approval - #213
Conversation
Reuse the existing protected CI and inference pipelines after an approved fork run succeeds. Bind admission and aggregate evidence to the current fork head without introducing another approval button. Co-authored-by: Melkor <b36010fa5b9ec1747270cff036f6b47ff5dce56f179564e169fcb6cdc64c836b@buzz.gdk.so>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Skippy Lab Qualification: PassedCommit: Native Spark lab qualification. Latest successful main: run 45030840757, attempt 1, commit
TPS describes the first response of each of three short scored smoke cases at concurrency 1; deterministic repeats are excluded. Each rate is total tokens / total server-reported phase time, not an average of request rates. Prefill excludes cached prompt tokens. These short samples include startup/warmup effects and are not sustained benchmarks or controlled speedup comparisons. Missing or invalid timings show as Unavailable. Deltas use unrounded rates from matching PR-profile smoke receipts on the latest successful main run, including the nightly smoke evidence. Positive means faster. Changed workload inputs, different serving host classes, unequal phase token counts or missing evidence show Unavailable. Physical Spark placement and runtime conditions can differ; deltas are descriptive, not controlled speedup claims. Smoke checks cover GPU startup, deterministic endpoint repeats and bounded streaming. They do not establish an AgentX performance score. Nightly history and saved performance baselines are published separately; a saved baseline can be older than the latest successful main run used here. The lab retains native results and logs. GitHub evidence copies expire after 30 days. |
|
🤖 Final scope remains approval first, using GitHub's existing Approve workflows to run button and the unchanged How to verify the real fork flowThe new
The disposable staged experiment used micspiral successfully, but tested a different, now-deferred ordering. Its hosted basics, protected reviewer gate, new-head rejection and automatic branch control passed. That is not Skippy native qualification or completed testing of this final permission-first controller. Both fixture repositories are archived; staged changes are not in this PR. Current CI blockerAt One failed-jobs-only rerun has been requested to check reproducibility. Node/cache inconsistency is a hypothesis, not a proven root cause. No tests or gates were weakened. |
|
🤖 CI update: the failed-jobs retry passed at unchanged |
Revert merge 7f69528 (PR Mesh-LLM#213). The real fork trial selected ordinary CI because base repository variables are unavailable in fork pull_request context, while protected admission expected CI PR. Restore the prior policy pending a separately proven replacement. Co-authored-by: Melkor <b36010fa5b9ec1747270cff036f6b47ff5dce56f179564e169fcb6cdc64c836b@buzz.gdk.so>
Monthly refresh, sources reread 2026-12-01 from upstream clones. PR metadata and review comments were not remeasured: api.github.com returned 403 from this environment, so history numbers come from `git log` only. - upstream-contributing: switches table updated for llama.cpp, hyprwm, quickshell, alsa-ucm-conf, nothing-but-nix, Mesh-LLM, buzz-app, omarchy, comin (rows below); llama.cpp examples replaced - contribution-skill-authoring: policy examples updated (Mesh-LLM trailer ban gone, llama.cpp no longer bans AI texts) - ggml-org, llama-cpp-contributing: new AGENTS.md (ggml-org/llama.cpp#33157): agent may write texts ending `_Written with …_`, Martin confirms each public action, no PR batches; whisper.cpp unchanged; `build_rope` (#31683) - hyprwm-org: `AGENTS.md` bans agent GitHub actions; kleinbem vouched (hyprwm/.github 655fc17); issues limited to `VOUCHED_ISSUE.td`; discussion strikes - hyprland-contributing: rebase merges, commit-title bot (hyprwm/Hyprland#17006, #17081) - aquamarine-contributing: `AGENTS.md` added 2026-11-18, rebase merges - hyprbars-contributing: our hyprwm/hyprland-plugins#722 merged - alsa-project-org, alsa-ucm-conf-contributing: sign-off checked by `pr-validation.yml`; `Comment "HiFi (default)"` convention (f3f6d45) - quickshell-contributing: corrected AI rule from CONTRIBUTING.md (no AI-written change descriptions, agent submissions bannable); PR template, HACKING.md commit format - mesh-llm-org, mesh-llm-contributing: attribution check removed (Mesh-LLM/mesh-llm#3109); Skippy, xtask and ci/ moved out (#3193); `Skippy-Ref:` (#3224); SDK in-tree; docs moved (#3238) - skippy-contributing: native fork CI (Mesh-LLM/skippy#213), Mermaid diagrams for Actions changes, InferenceKit (#231) - capsules-plugin-contributing: `scripts/check.sh`, e2e triggers (#307, #401), grouped Dependabot (#439); mesh-llm-plugin version corrected - openai-endpoint-plugin-contributing: settings move and manifest (#8) - mesh-llm-python-sdk-contributing: dormant, SDK work in mesh-llm - mesh-packaging-contributing: release handoff off; runtime packaging in skippy - nixpkgs-contributing: subject wording (be9ad5588), quoted throw aliases (927ea0853) - nix-contributing: 2.36.0 released, master 2.37 (NixOS/nix#16853, #16920); merger and `Assisted-by` counts from git - nixos-hardware-contributing: gate removed in NixOS/nixos-hardware#2137 - block-org, buzz-app-contributing: docs rewrite (block/buzz-app#4213) removed the scope checkpoint, ready checklist and `buzz-review-completed` - buzz-contributing: migration trigger/FK check (block/buzz#9812), schema CODEOWNERS (#9708, #9728), `mobile/REVIEWING.md` (#9298) - berd-contributing: v0.6.5 (block/berd#467), provider removal (#475) - goose-contributing: self-test removed (aaif-goose/goose#13337), GDK renamed oi-kit (#13447) - omacom-org, omarchy-contributing: qmllint (omacom/omarchy#20549), Greptile config (#21048), mostly squash - omarchy-pkgs-contributing: AGENTS.md rules, `build-approved` cleared on push (omacom/omarchy-pkgs#3943), `check-shadowed` required - gum-contributing: outside feature charmbracelet/gum#1151 merged - jetpack-nixos-contributing: merge counts since 2026-11-07, outside authors (#588, #601-#604, #608) - comin-contributing: our nlewo/comin#241 merged; mostly merge commits - noooste-org, garage-ui-contributing: new AGENTS.md (0779b3a) and Nix flake + `nix.yml` (2c47df2); our #156 merged - amp-acp-contributing: history (tao12345666333/amp-acp#105, #106) - nix-app-center-contributing: our SPTApyo/Nix-App-Center#37, #38 merged - wimpysworld-org, nothing-but-nix-contributing: org-wide CONTRIBUTING issue/PR rules (78c66ff): template, feature issue first, one change, closed unread Not checked: PR merge times, closures and review comments (API 403); Arch Linux sources (wiki.archlinux.org unreachable). --- _Generated by [Claude Code](https://claude.ai/code)_ Co-authored-by: Claude <noreply@anthropic.com>
Original problem
Maintainers can approve a fork's Actions run, but Skippy still rejects that fork at native CI and inference admission. Contributors cannot get the full applicable PR checks green on their original PR without an internal shadow branch.
This change keeps Approve workflows to run as the only approval button. Successful approved fork CI starts a protected controller that runs the existing applicable package/device and inference checks against the same commit. No environment approval or label is added.
Diagnostics
ci.ymladmitted native work only through a same-repositorypull_request_targetroute and explicitly failed hosted CI when native work was needed.inference-plan.pyrejected fork repositories before collaborator admission.approval_policy: all_external_contributors(read-only REST check; no setting changed).Fix
fork-native.ymlreacts to successful CI/CI PR completion, verifies producer path, event, repository, attempt, fork identity and current head, and derives routes from protected path filters.workflow_runrecords main as its SHA. The protected run title binds the candidate SHA for aggregate lookup, wakes and concurrency. Fresh-head checks and rerun tests prevent old evidence from satisfying a new head.Architecture
GitHub's fork approval gates
pull_request, not the privilegedpull_request_targetcontroller. A protectedworkflow_runcontinuation connects the existing approval to native execution without placing dispatch credentials in fork-controlled jobs.The CI caller has read-only repository permissions and no forwarded secrets. Only the protected inference controller receives the existing dispatch SSH key. Its declared permission ceiling includes PR-comment write because the reused workflow declares a target-PR reporting job; that job remains skipped for fork continuations. No publisher/HF credentials are forwarded. Fork qualification results remain visible in the Approved fork CI run and aggregate; this change does not add the target-only lab comment to fork runs.
Compatibility and trust
Approval admits the reviewed snapshot to the same native execution trust boundary as trusted branch code, including persistent lab hardware and shared caches. It is not a hostile-code sandbox or a grant of repository write access. Review the entire diff, especially workflow/local Actions changes, build scripts,
Justfileandbuild.rs, before approving.Keep the existing Require approval for all external contributors setting. Admission depends on that repository policy; it does not infer independent approval provenance from a successful run under a weaker policy. Repository collaborators retain GitHub's usual trusted-contributor behavior. No live repository settings or lab configuration were changed.
The controller must reach the default branch before GitHub can exercise the new route. Existing fork branches carrying the old hosted failure gate need to update from main and re-run their CI. A runner-provider setting change during an in-flight run fails closed; re-run the currently expected producer.
No runtime/API/ABI/wire changes, dependency additions, publication changes or model-performance claims.
Workflow diagrams
CI — Before
CI — After
Approved fork CI — Before
Approved fork CI — After
Inference qualification — Before
Inference qualification — After
PR checks — Before
PR checks — After
Validation
Completed locally against this change:
SKIPPY_PYTHON=/opt/homebrew/opt/python@3.12/bin/python3.12 just ci-automation-setup /Users/michaelneale/.buzz/.scratch/skippy-approved-fork-testsSKIPPY_PYTHON=/Users/michaelneale/.buzz/.scratch/skippy-approved-fork-tests/bin/python just ci-automation— passed the full Python/shell automation and publication suites, plus 85 Node tests.actionlint -ignore 'unexpected key "queue" for "concurrency" section' -ignore 'unexpected key "cache-mode" for "job" section' .github/workflows/{ci,inference,pr-checks,fork-native}.yml— passed. The local parser does not recognize the repository's existing queue/cache-mode workflow features; only those two syntax diagnostics were excluded.git diff --check— passed.Tests cover wrong producer/repository/event/attempt, unapproved/failed runs, stale or closed PRs, missing fork associations, truncated file lists, protected path routing, forged run titles, missing/skipped native jobs, partial reruns, caller spoofing, source-bound failure statuses and per-PR concurrency.
Not executed: an end-to-end approved external fork workflow or hardware/model qualification. The new
workflow_runcontroller is a default-branch-only GitHub integration and cannot be activated by this PR alone. No fork code was dispatched to the lab during development. This is CI automation, so no Rust product code/build was changed or qualified.Acceptance criteria