Repository navigation
ci: route heavy jobs through a vendored runner-select - #28
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #28 +/- ##
=========================================
Coverage 63.36% 63.36%
Complexity 15 15
=========================================
Files 23 23
Lines 1092 1092
Branches 251 251
=========================================
Hits 692 692
Misses 311 311
Partials 89 89
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
e7ed5ca to
3e02617
Compare
There was a problem hiding this comment.
The route job never loads the vendored action. There's no checkout before uses: ./.github/actions/runner-select, so every route job logs Can't find 'action.yml' and continue-on-error hands off to the fallback step (see route-linux in run 44525714174, reason=route-fallback). It's green now because mode is off, but I think once mode flips nothing would ever spill. Maybe add a sparse checkout first:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
sparse-checkout: .github/actions/runner-select
persist-credentials: falseMight also be worth having the fallback step emit a ::warning:: so a silent fallback shows up in the run summary.
Smaller things:
secrets: inheritpasses every secret to the route workflow. Could pass justMELLIFERA_PLACEMENT_TOKEN.- Body says the pin is
b377a9d,VENDORED_FROMsays33c44bc. Files match33c44bc, so the body needs updating. - Body mentions
MELLIFERA_PLACEMENT_URL_LINUX_NESTED_VIRT, but the workflow readsMELLIFERA_PLACEMENT_URL_LINUX_NESTED.
d372e6d to
947fd8a
Compare
Public workflows cannot use the private mellifera action. This copies the pinned action and routes each consuming job through one reusable workflow. The route publishes the decision, falls open to the hosted label when select cannot run, and receives only the placement token. E2e routes wait until unit succeeds.
947fd8a to
936c1d7
Compare
|
All fixed up now |
Summary
actions/runner-selectat33c44bc27724e71095a11d15d4aa145ba4890c53under.github/actions/runner-select. This repository is public andinvertase/melliferais private, so the workflow cannotuses:that action. This copy is temporary until a public pin exists.route-*job in front of the Linux, Android-emulator, and macOS jobs.classisotherormacos.default-runs-onis the hosted label that job uses today.modeis${{ vars.RUNNER_SELECT_MODE }}. That org variable isoff, so the tested job still runs on the hosted label. Fork pull requests do not receiveMELLIFERA_PLACEMENT_TOKEN; with modeoffthey never call placement.Test plan
ubuntu-latest,ubuntu-24.04,macos-15,macos-26, orxcode-27).RUNNER_SELECT_MODEatoffuntil this repository has an overflow scale set for each label these jobs can spill to. Nested-virt jobs readvars.MELLIFERA_PLACEMENT_URL_LINUX_NESTED.