Skip to content

Limit CI workflows to self-hosted runners#851

Merged
Kyle-Ye merged 1 commit intomainfrom
ci/self-hosted-runners
Apr 13, 2026
Merged

Limit CI workflows to self-hosted runners#851
Kyle-Ye merged 1 commit intomainfrom
ci/self-hosted-runners

Conversation

@Kyle-Ye
Copy link
Copy Markdown
Collaborator

@Kyle-Ye Kyle-Ye commented Apr 13, 2026

Problem

Although GitHub Actions is free for standard runners in public repositories, GitHub still tracks a gross usage amount internally. Once an organization's gross usage crosses a certain threshold, GitHub's fair use policy begins to throttle job scheduling — jobs sit in "Queued" state for extended periods or never get picked up at all. This affects the entire organization, not just the heavy-usage repository.

Summary

  • Limit all macOS CI jobs to self-hosted runners to reduce GitHub Actions cost
  • Updated runs-on in ios.yml, macos.yml, compatibility_tests.yml, and uitests.yml (6 jobs total)

Fix organization's free GitHub Actions credits being exhausted too quickly issue eg. #850

image image

Test plan

  • Verify CI jobs are picked up by self-hosted runner (Kyles-Mac-mini)
  • Confirm all workflow jobs pass on self-hosted runner

@augmentcode
Copy link
Copy Markdown

augmentcode bot commented Apr 13, 2026

🤖 Augment PR Summary

Summary: Updates macOS-related GitHub Actions workflows to run only on self-hosted runners to reduce GitHub-hosted CI cost.
Changes: Replaces runs-on: ${{ matrix.os }} with a runs-on label list that includes self-hosted plus the existing matrix.os across iOS, macOS, compatibility, and UI test workflows.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

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

Review completed. 1 suggestion posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread .github/workflows/compatibility_tests.yml
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 14.40%. Comparing base (c4fcb72) to head (4addf0d).
⚠️ Report is 1 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (c4fcb72) and HEAD (4addf0d). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (c4fcb72) HEAD (4addf0d)
2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #851       +/-   ##
===========================================
- Coverage   27.19%   14.40%   -12.80%     
===========================================
  Files         673      634       -39     
  Lines       44166    39006     -5160     
===========================================
- Hits        12012     5619     -6393     
- Misses      32154    33387     +1233     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye Kyle-Ye merged commit 8b4076e into main Apr 13, 2026
4 of 11 checks passed
@Kyle-Ye Kyle-Ye deleted the ci/self-hosted-runners branch April 13, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant