Skip to content

sdk%ci(gha): run path filters and PR bots on self-hosted light runners - #115

Merged
kwvg merged 1 commit into
developfrom
ci/light-runners
Nov 3, 2026
Merged

kwvg merged 1 commit into
developfrom
ci/light-runners

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Member

Motivation

Our smallest jobs wait the longest. Over the past week, the ubuntu-slim jobs (the "Detect changes" path filters and the PR comment and tag bots) ran for 10–15 s each but waited 20–35 minutes for a hosted runner, because the organization's hosted runner concurrency was full. The path filters gate every MSRV and Bazel build, so each PR push waited about 25 minutes before its builds could even queue. Each push also starts about 11 of these jobs, which take hosted slots that the real builds need.

Additional Information

These jobs now use the organization's self-hosted light runners. Those runners are x64 Linux, single-use (one job per runner), and carry git, Node, Python, gh and jq, with no sudo, Docker or compilers. These jobs need nothing more than that: a sparse checkout with dorny/paths-filter, or a checkout with actions/github-script.

Each moved job uses runs-on: ${{ vars.DASH_LIGHT_RUNNER || 'ubuntu-slim' }}, the pattern other dashpay repositories already use. The organization variable is dash-x64-light. If it is deleted or set to ubuntu-slim, every job here goes back to hosted runners without a code change. The same applies to any context that cannot read the variable.

Moved:

Workflow Job
build_msrv.yml (all eight pkg_* workflows) changes
build_bazel.yml changes
pr_comment.yml comment
pr_tag.yml tag, halt

pr_comment and pr_tag run on pull_request_target. They check out the trusted base branch, but they hold write tokens, and tag holds PROJECT_TOKEN, so with this change those reach self-hosted runners. Each runner takes one job and is destroyed afterwards.

Every job that builds or tests code stays on hosted runners. Those jobs need sudo, Nix, a C toolchain or arm64, and the light runners have none of these.

How Has This Been Tested?

  • actionlint on the four workflows reports nothing new. Its only errors are about the existing $/ self-repository action references, which it does not support yet.
  • The Detect changes jobs on this pull request run from its own workflows, so they should run on the light runners. pr_comment and pr_tag run from develop on pull_request_target, so they only switch once this is merged.

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 tests
  • I have made corresponding changes to the documentation
  • I did not use agentic assistance (i.e. LLMs, AI) except as disclosed and can answer questions,
    comments and concerns without said assistance. I assume authorship of the code submitted.
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

Agent disclosure

Code, commit messages and this description were generated with Claude Code using Claude Opus 5.5, running autonomously as an agent on behalf of the author.

🤖 Generated with Claude Code

`DASH_LIGHT_RUNNER` selects the runner, hosted `ubuntu-slim` if unset.
@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured.: 1
  • tag:skip-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@kwvg kwvg added the tag:skip-review This pull request should not be reviewed agentically. label Nov 3, 2026
@kwvg kwvg moved this to Build/CI in base-sdk v0.3 Nov 3, 2026
@kwvg kwvg added this to the 0.3 milestone Nov 3, 2026
@kwvg kwvg added the tag:halt-ci This pull request's workflows are aborted. label Nov 3, 2026
@thepastaclaw

thepastaclaw commented Nov 3, 2026 •

Copy link
Copy Markdown

⏹️ Not reviewed — a label on the PR turns automatic review off; @thepastaclaw review still asks for one (commit a6fac6e)

@github-actions github-actions Bot removed the tag:halt-ci This pull request's workflows are aborted. label Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Note

This pull request has no conflicts! 🎊 🎉 🎊

@github-actions github-actions Bot added the topic:Build/CI Pull requests associated with work on the build system and maintenance. label Nov 3, 2026

@kwvg kwvg 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.

utACK a6fac6e

@kwvg
kwvg merged commit 882fa3e into develop Nov 3, 2026
16 of 34 checks passed
PastaPastaPasta added a commit to PastaPastaPasta/base-sdk that referenced this pull request Nov 4, 2026
Takes dashpay#100 dashpay#88 dashpay#108 dashpay#107 dashpay#111 dashpay#110 dashpay#112 dashpay#115 dashpay#114 dashpay#101. ChainSetup keeps
the DEC-1043 policy fields; the BS11 BLS wrappers, i64 TxOut values and
MAX_SER_SIZE payload bound stay for Core parity.
@kwvg
kwvg deleted the ci/light-runners branch November 5, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tag:skip-review This pull request should not be reviewed agentically. topic:Build/CI Pull requests associated with work on the build system and maintenance.

Projects

Status: Build/CI

Development

Successfully merging this pull request may close these issues.

3 participants