Repository navigation
Description
Description
Let a consumer route the scaffolded ci.yml jobs to self-hosted runners via a .vig-os manifest key, instead of hand-editing a scaffold-managed workflow.
Problem Statement
assets/workspace/.github/workflows/ci.yml hardcodes hosted runners. exo-pet/exo-fleet runs its CI entirely on a self-hosted runner ([self-hosted, linux, x64, meatgrinder], per its ADR-0022 — GitHub billing blocked hosted runners for that org's heavy jobs). Because ci.yml is scaffold-managed, any hand-edit to runs-on is clobbered on the next re-scaffold/upgrade — so today a self-hosted consumer cannot adopt the scaffolded CI at all.
Proposed Solution
- New optional
.vig-oskey, e.g.DEVKIT_CI_RUNNER(comma-separated label list; absent → current default, e.g.ubuntu-24.04). resolve-toolchain(which already reads.vig-os) emits arunner-jsonoutput (JSON array of labels, defaulted); downstream jobs useruns-on: ${{ fromJSON(needs.resolve-toolchain.outputs.runner-json) }}. Theresolve-toolchainjob itself stays on the hosted default (it's seconds of sparse checkout; a consumer whose org can't run hosted jobs at all can be documented as a limitation or given a static render — keep v1 minimal).- Persist the key through
init-workspace.shre-scaffolds like the other manifest keys (cf. .vig-os upgrade blanks DEVKIT_TAG_PREFIX / DEVKIT_FLOATING_TAGS (silent release-tag regression) #1116 DEVKIT_MODULES mirroring); optionally a--ci-runnerinstaller flag. - Document in
docs/MIGRATION.md.
Alternatives Considered
- Hand-edit + exclude ci.yml from the managed set: breaks the managed-upgrade model for the most churn-prone scaffold file.
- Repo variable (
vars.CI_RUNNER) instead of.vig-os: viable, but the manifest is the established consumer-config SSoT and works without extra repo provisioning;runs-oncan readvars.*directly though — acceptable fallback if expression-from-needs proves brittle.
Additional Context
Recon from the exo-fleet deployment assessment (2026-07-17). exo-fleet's bespoke heavy workflows (nix build matrix, KVM NixOS tests) remain repo-specific beside the scaffolded ci.yml — this issue only covers the scaffolded lint/test/summary lanes. Related: #1039 (private-repo guards), ADR-conditional-container-toolchain.
Impact
- Default unchanged for all existing consumers; opt-in via manifest. Backward compatible (semver:minor).
Changelog Category
Added
Activity
feat(ci): route scaffolded ci.yml jobs to self-hosted runners via .vi…
c-vigo commentedon Jul 17, 2026
Shipped via PR #1174, merged to
dev(dev-PRClosesdoes not auto-close — closing manually). Reaches consumers with the next devkit release.fix(workspace): drop literal expression syntax from resolve-toolchain…
fix(workspace): support self-hosted runners with preinstalled Nix (#1193
chore: release 1.4.0 (#284)
chore: release 1.4.0 (#1186)
build(devkit): adopt vigOS devkit 1.4.0 (direnv) — validates 1.4.0-rc2 (
build(devkit): adopt devkit 1.4.0 (#108)
build(devkit): upgrade scaffold to 1.4.0 (#54)
chore: release 0.3.2 (#136)
chore: release 0.4.1 (#166)
ci(actions): update github-actions (minor and patch) (#1368)
build(devkit): adopt vigOS devkit 1.4.0 in direnv mode
feat(ci): make the CI dev-shell gcroot path configurable (#1603)
feat(workspace): ship the actionlint hook and its label config to con…
ci(actions): move the hosted runner default to ubuntu-26.04
fix(sync-issues): route the sync job through DEVKIT_CI_RUNNER
fix(sync-issues): route the sync job through DEVKIT_CI_RUNNER (#1798)
chore: release 1.18.0 (#1819)