Skip to content

ci: gate self-hosted-only workflows behind workflow_dispatch#19

Merged
lalalune merged 1 commit into
mainfrom
eliza/gate-self-hosted-workflows
May 19, 2026
Merged

ci: gate self-hosted-only workflows behind workflow_dispatch#19
lalalune merged 1 commit into
mainfrom
eliza/gate-self-hosted-workflows

Conversation

@lalalune
Copy link
Copy Markdown
Member

Summary

The elizaOS org has zero self-hosted runners (gh api repos/elizaOS/llama.cpp/actions/runnerstotal_count: 0), so any job pinned to a self-hosted label stays queued indefinitely and never delivers a CI signal. Two workflows still relied on self-hosted runners on every push/PR; restrict them to manual trigger:

  • CI (self-hosted) (.github/workflows/build-self-hosted.yml) — 10 jobs across [self-hosted, Linux, NVIDIA / COOPMAT2], [self-hosted, macOS, ARM64], [self-hosted, Linux, Intel], [self-hosted, Windows, X64, Intel], [self-hosted, Linux, Intel, OpenVINO]. Restrict the whole workflow to workflow_dispatch only.
  • CI (openvino) (.github/workflows/build-openvino.yml) — the GPU matrix variant targets [self-hosted, Linux, Intel, OpenVINO]. Gate that variant on a new force_self_hosted workflow_dispatch input; the CPU variant on ubuntu-24.04 continues to run on every push/PR.

Same approach as PR #18 used for cuda-runtime-validation.

Test plan

  • No CI (self-hosted) runs auto-trigger on push to main
  • CI (openvino) runs only the CPU variant on push (ubuntu-24-openvino-CPU)
  • Manual: gh workflow run "CI (self-hosted)" succeeds (or surfaces missing-runner state)

The elizaOS org has zero self-hosted runners registered
(`gh api repos/elizaOS/llama.cpp/actions/runners` → total_count: 0),
so any job pinned to self-hosted labels stays queued forever and
fails to deliver a CI signal.

Two workflows still relied on self-hosted runners on every push/PR:

- `CI (self-hosted)` (build-self-hosted.yml) — 10 jobs across
  [self-hosted, Linux, NVIDIA / COOPMAT2], [self-hosted, macOS, ARM64],
  [self-hosted, Linux, Intel], [self-hosted, Windows, X64, Intel],
  [self-hosted, Linux, Intel, OpenVINO]. Restrict the whole workflow
  to `workflow_dispatch` only. Re-enable push/PR once a fleet
  exists.
- `CI (openvino)` (build-openvino.yml) — the GPU matrix variant
  targets [self-hosted, Linux, Intel, OpenVINO]. Gate that variant
  behind a new `force_self_hosted` workflow_dispatch input; the CPU
  variant on ubuntu-24.04 still runs on every push/PR.

Same approach as PR #18 used for cuda-runtime-validation.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 19, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 78821794-1c65-4395-8c12-c193406902bf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch eliza/gate-self-hosted-workflows

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@lalalune lalalune merged commit c68b838 into main May 19, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant