Repository navigation
ci: run short PR jobs on self-hosted light runners - #5468
Conversation
Jobs moved to the dash-x64-light self-hosted pool: - pr.yml: PR title - milestone.yml: assign-milestone - tests.yml: Check secret availability, Swift SDK frozen schema check, JS dependency versions check These jobs run for seconds to a minute but wait minutes to hours in the saturated GitHub-hosted queue. None needs docker, sudo, make, yq or a preinstalled toolchain; the frozen schema check uses git and stdlib python3, and the dependency check uses setup-node and the committed yarn release. The Check secret availability job no longer interpolates secret values into its script. Each secret is compared to the empty string in an expression and the resulting boolean is passed through env, so the has_ecr output is unchanged. Determine changed packages stays on its current runner: its swift-runner-policy step imports PyYAML, which the light runner lacks. runs-on reads the org variable DASH_LIGHT_RUNNER and falls back to dash-x64-light when it is unset, so these jobs can be moved to another runner without a pull request if the pool is down. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Waiting for bot review — coderabbitai ✓ · thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
|
✅ Final review complete — no blockers (commit f4e628c) · triage: low |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 1 + Phase 2
Static verification of the complete diff at f4e628c supports the reviewers' clean assessment: the five runner changes match the jobs' requirements, and the secret-availability check preserves its boolean output without passing AWS credential values to the runner. The supplied CI snapshot reports all three migrated pull_request jobs passing; the two pull_request_target migrations remain unexercised until merge, and broader CI is pending. Runner isolation and fork-approval policy are external infrastructure claims that were not independently verified; no actionable defects were identified in the repository changes.
Review provenance
Source: reviewer 1: gemini-3.8-flash-high (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.1-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 4: gpt-6.1-sol (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)
- Triage:
lowbygpt-6.1-sol(effort low) — The diff makes a small, contained CI runner migration and straightforward secret-presence handling changes, with no application or protocol changes. - Phase 1 reviewers:
gemini-3.8-flash-high— general (completed, effort high); agentphase1-reviewer - Phase 1 model:
gemini-3.8-flash-high— antigravity quota: weekly 70% left, 5h 71% left - Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer,gpt-6.1-sol— architecture-layering (completed, effort medium); agentphase2-reviewer,gpt-6.1-sol— security-auditor (completed, effort medium); agentphase2-reviewer
|
Bots are done — your move: post |
Issue being fixed or feature implemented
Five PR jobs in this repo finish in 3–47 seconds but wait in the GitHub-hosted queue, which dashpay's CI saturates. Sampled runs from 2026-10-01..15:
pr.yml)milestone.yml)tests.yml)tests.yml)tests.yml)That is about 340 runner-hours of queueing per two weeks for checks that do almost no work, and the PR-title and milestone checks sit pending on every PR in the meantime.
What was done?
These jobs now run on
dash-x64-light, the org's pool of single-use self-hosted runners for short jobs (dashpay/dash-ci-pool): each job gets a fresh container that is destroyed afterwards, on an isolated internet-only network. The runners have 4 vCPUs, git, gh, jq, curl, Node 20/24 for actions and a systempython3without pip; there is no docker or sudo. dashpay/dash runs its PR housekeeping jobs there already.DASH_LIGHT_RUNNERis an org variable naming the runner for all of dashpay's short jobs. If the pool is down, setting it toubuntu-latestmoves every one of these jobs back to hosted runners without a pull request.python3; the dependency check usesactions/setup-nodeand the committed yarn release.''in an expression and passes the boolean throughenv, sohas_ecris computed the same way and no secret value reaches the self-hosted machine.ubuntu-24.04: its swift-runner-policy step imports PyYAML and the dispatch path usesyq, which the light runner lacks.Fork pull requests need maintainer approval before any workflow runs (org policy), so fork code reaches these runners only after approval.
How Has This Been Tested?
The three
tests.ymljobs (check secrets, frozen schema check, dependency check) run onpull_request, so this PR's own checks run them on the light runners.pr.ymlandmilestone.ymlrun onpull_request_target, which uses the base branch's workflow, so those two move after merge. dashpay/dash has run its PR-title and housekeeping jobs on this pool since 2026-10-15.Breaking Changes
None.
Checklist:
structure.rs, regeneratedgrovedb-structure.json, and checked the structure viewer link posted on this pull requestFor repository code-owners and collaborators only
🤖 Generated with Claude Code
PR Hygiene ·
f4e628c/self-reviewedgithub(.github/workflows/milestone.yml,.github/workflows/pr.yml,.github/workflows/tests.yml) — ktechmidas or shumkovWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.Summary by CodeRabbit