Skip to content

ci: neutralize upstream self-hosted-runner jobs on the fork - #87

Closed
jimw567 wants to merge 1 commit into
gfx11from
jimwu.gfx11-disable-selfhosted-ci
Closed

ci: neutralize upstream self-hosted-runner jobs on the fork#87
jimw567 wants to merge 1 commit into
gfx11from
jimwu.gfx11-disable-selfhosted-ci

Conversation

@jimw567

@jimw567 jimw567 commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

Upstream (ggml-org) runs many CI jobs on its own self-hosted runner fleet (labels: fast, X64, CPU, llama-server, PLAYWRIGHT, NVIDIA, etc.). The fork has no runners with those labels, so on PRs/pushes these jobs queue until GitHub's 24h max-runtime cap cancels them, showing as red checks (e.g. the cancelled checks on PR #85).

Two fixes, both fork-local (each carries a DO NOT UPSTREAM comment):

  • Slim/sanitize jobs that only need a generic runner -> runs-on: ubuntu-24.04, matching the existing editorconfig/code-style conversion: check-vendor, pre-tokenizer-hashes, python-check-requirements, python-type-check, build-sanitize, server-sanitize, update-ops-docs.
  • Dedicated self-hosted workflows whose hardware the fork lacks -> gate each job with if: github.repository == 'ggml-org/llama.cpp' so it no-ops on the fork but merges cleanly from upstream: build-self-hosted (12 jobs), server-self-hosted (2), ui-self-hosted (3), build-openvino (1).

11 workflows changed. All YAML validated; verified no push/PR-triggered self-hosted job remains unguarded.

Upstream (ggml-org) runs many CI jobs on its own self-hosted runner fleet
(labels: fast, X64, CPU, llama-server, PLAYWRIGHT, NVIDIA, etc.). The fork has
no runners with those labels, so on PRs/pushes these jobs queue until GitHub's
24h max-runtime cap cancels them, showing as red checks.

Two fixes, both fork-local (DO NOT UPSTREAM):
- Slim/sanitize jobs that only need a generic runner -> runs-on: ubuntu-24.04
  (check-vendor, pre-tokenizer-hashes, python-check-requirements,
   python-type-check, build-sanitize, server-sanitize, update-ops-docs),
  matching the existing editorconfig/code-style conversion.
- Dedicated self-hosted workflows whose hardware the fork lacks -> gate each job
  with `if: github.repository == 'ggml-org/llama.cpp'` so it no-ops on the fork
  but merges cleanly from upstream (build-self-hosted, server-self-hosted,
  ui-self-hosted, build-openvino).
@jimw567 jimw567 closed this Aug 16, 2026
@jimw567
jimw567 deleted the jimwu.gfx11-disable-selfhosted-ci branch August 16, 2026 23:42
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.

1 participant