Repository navigation
fix(ci): route compatible checks to local fleet - #143
Conversation
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_8fb47b83-ddad-4e5a-b2ee-8a79d21112c5) |
There was a problem hiding this comment.
Risk: medium. Not approving: the present Cursor Bugbot check completed in a skipped (non-success) state and left no review comment. Human review is needed for this CI runner-routing change; no reviewers were assigned because no non-author human contributors are available on this repository.
Sent by Cursor Approval Agent: Pull Request Router and Approver
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e386185495
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| needs: select-hygiene | ||
| if: ${{ !cancelled() && needs.select-hygiene.result == 'success' }} | ||
| runs-on: ${{ needs.select-hygiene.outputs.runner || 'ubuntu-24.04' }} |
There was a problem hiding this comment.
Keep runner-policy independent of the selector
When select-hygiene fails or is miswired, this job is now skipped before it can run the policy audit because it both needs that selector and gates on its success. That removes the independent diagnostics the repo contract still requires for this lane (docs/CI-RUNNER-ROUTING.md:76-79 says runner-policy must audit routing independently of the fleet), so a bad selector pin/config in self-hosted-only mode collapses into only a generic ci-status failure instead of the actionable runner-policy finding. Keep this enforcement job hosted, or otherwise make it independent of the selector it is responsible for auditing.
Useful? React with 👍 / 👎.


What changed
de50a08b…revisionci-statusandpr-title / pr-titlegateways hosted and fail-closed so selector/fleet failures cannot become successful skipped checksself-hosted-onlymode; both remain enabled for adaptive/hosted policiesmelodic-softwarerepository owner for the scoped selector contractWhy
The former strict policy still required GitHub-hosted compute for ordinary compatible Linux lanes, and billing lockout made selector/control jobs go red. This change moves compatible work to the local fleet while preserving tiny independent required gateways that must materialize even when selector or fleet health fails.
Validation
git diff --check: PASSNote
Medium Risk
Changes CI control-plane routing and required-check behavior during fleet outages; misconfiguration could block merges or run security tooling on self-hosted runners without Docker where zizmor expects it.
Overview
Moves compatible Linux CI lanes onto the governed self-hosted fleet by pinning
select-runner(andzizmor) to immutable owner-scoped revisionde50a08, and wiringzizmorandrunner-policythroughselect-hygienewithruns-on/runnerfrom the selector instead of fixed GitHub-hosted runners..github/runner-policy.jsonnow declaresrepositoryOwner: melodic-softwareand drops hosted exceptions forzizmorandrunner-policy; requiredci-statusandpr-title / pr-titlestay explicitly hosted with updated fail-closed wording so selector or fleet failures surface as failing required checks, not benign skips.claude-reviewandlink-checkgainif: vars.CI_RUNNER_POLICY != 'self-hosted-only'so privileged hosted lanes pause only during strict local-only emergency mode.Reviewed by Cursor Bugbot for commit e386185. Bugbot is set up for automated code reviews on this repo. Configure here.