Skip to content

ci: run short PR jobs on self-hosted light runners - #5468

Merged
PastaPastaPasta merged 1 commit into
v5.0-devfrom
ci/dash-x64-light
Oct 16, 2026
Merged

PastaPastaPasta merged 1 commit into
v5.0-devfrom
ci/dash-x64-light

Conversation

@PastaPastaPasta

@PastaPastaPasta PastaPastaPasta commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

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:

Job Runs / 14 d (est.) Median run Median wait p90 wait Waits > 60 s
PR title (pr.yml) ~920 5 s 26 s 39 min 43%
assign-milestone (milestone.yml) ~530 4 s 69 s 24 min 52%
Check secret availability (tests.yml) ~400 3 s 10 s 22 min 39%
JS dependency versions check (tests.yml) ~390 16 s 13 s 16 min 38%
Swift SDK frozen schema check (tests.yml) ~360 47 s 4 s 19 min 37%

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 system python3 without pip; there is no docker or sudo. dashpay/dash runs its PR housekeeping jobs there already.

runs-on: ${{ vars.DASH_LIGHT_RUNNER || 'dash-x64-light' }}

DASH_LIGHT_RUNNER is an org variable naming the runner for all of dashpay's short jobs. If the pool is down, setting it to ubuntu-latest moves every one of these jobs back to hosted runners without a pull request.

  • The frozen schema check needs only git and stdlib python3; the dependency check uses actions/setup-node and the committed yarn release.
  • Check secret availability no longer interpolates the AWS secret values into its script. It compares each secret to '' in an expression and passes the boolean through env, so has_ecr is computed the same way and no secret value reaches the self-hosted machine.
  • Determine changed packages stays on ubuntu-24.04: its swift-runner-policy step imports PyYAML and the dispatch path uses yq, 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.yml jobs (check secrets, frozen schema check, dependency check) run on pull_request, so this PR's own checks run them on the light runners. pr.yml and milestone.yml run on pull_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:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed
  • If I added or changed GroveDB structure, I described it in the area's structure.rs, regenerated grovedb-structure.json, and checked the structure viewer link posted on this pull request

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

🤖 Generated with Claude Code

PR Hygiene · f4e628c

  • Bots — coderabbitai ✓ · thepastaclaw ✓
  • Self-review — post /self-reviewed
  • Reviewer requests paused — your 5 review slots are occupied; this PR is excluded from reviewers' queues. Required approvals still count without a slot.
  • Build running
  • Approvals
    • github (.github/workflows/milestone.yml, .github/workflows/pr.yml, .github/workflows/tests.yml) — ktechmidas or shumkov

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

Summary by CodeRabbit

  • Chores
    • Updated milestone assignment, pull request title validation, and selected checks to use a configurable lightweight runner, with a default runner when none is specified.
    • Adjusted how secret availability is passed to a workflow check.

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]>
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: dashpay/platform/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3e4a4c44-b6eb-4eaa-941c-e3f8a27db6be
📥 Commits

Reviewing files that changed from the base of the PR and between 0f38a69 and f4e628c.

📒 Files selected for processing: 3
  • .github/workflows/milestone.yml
  • .github/workflows/pr.yml
  • .github/workflows/tests.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

Workflow jobs now use the configurable DASH_LIGHT_RUNNER runner, defaulting to dash-x64-light. The secrets check passes AWS credential availability to its shell script through boolean environment variables.

Changes: Workflow Runner Updates

Layer / File(s) Summary
Milestone and PR runner selection
.github/workflows/milestone.yml, .github/workflows/pr.yml
The milestone assignment and PR title validation jobs use DASH_LIGHT_RUNNER, with dash-x64-light as the default.
Test runners and secret check
.github/workflows/tests.yml
The check-secrets, Swift frozen-schema, and JS dependency-versions jobs use the configurable runner. The secrets check passes AWS credential availability as boolean environment variables and checks whether both values are "true".

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: quantumexplorer

Merge Risk: ⚪ Minimal · up to f4e62

No actionable merge-blocking issue is established for these workflow changes; normal workflow checks can proceed.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: moving short-running CI jobs to self-hosted light runners.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Waiting for bot review — coderabbitai ✓ · thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Oct 16, 2026
@github-actions github-actions Bot added this to the v5.0.0 milestone Oct 16, 2026
@thepastaclaw

thepastaclaw commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Final review complete — no blockers (commit f4e628c) · triage: low

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: low by gpt-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); agent phase1-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; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort medium); agent phase2-reviewer, gpt-6.1-sol — architecture-layering (completed, effort medium); agent phase2-reviewer, gpt-6.1-sol — security-auditor (completed, effort medium); agent phase2-reviewer

@github-actions

Copy link
Copy Markdown
Contributor

Bots are done — your move: post /self-reviewed.
Full checklist in the description.

@github-actions github-actions Bot added waiting-self-review Waiting for the author to post /self-reviewed and removed waiting-bots Waiting for the review bots to report on this head labels Oct 16, 2026
@PastaPastaPasta
PastaPastaPasta merged commit 8066b1c into v5.0-dev Oct 16, 2026
30 of 31 checks passed
@PastaPastaPasta
PastaPastaPasta deleted the ci/dash-x64-light branch October 16, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-self-review Waiting for the author to post /self-reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants