Skip to content

CI: macOS build on the UCSLabs Mac for trusted runs - #152

Merged
benandez merged 1 commit into
mainfrom
claude/ci-mac-runner
Dec 5, 2026
Merged

benandez merged 1 commit into
mainfrom
claude/ci-mac-runner

Conversation

@benandez

@benandez benandez commented Dec 5, 2026

Copy link
Copy Markdown
Member

On Team plan the org gets five hosted macOS jobs at once, shared with MailCraft. Today #151 sat in the queue for 12 minutes because of that.

  • The build job's macOS entry now runs on [self-hosted, macOS, ARM64] (macstudio01, org group macos) for pushes to main and for PRs from branches in this repo.
  • Fork PRs stay on GitHub's macos-15, so outside code never runs on our Mac. Approval for fork PR workflows is already all_external_contributors.
  • The check name stays build (macos-15).
  • release.yml is unchanged: releases keep a clean hosted runner and keep signing secrets off long-lived machines.

zizmor reports no findings. This PR comes from a branch in this repo, so its own CI is the first run on the Mac. If rustup or the Xcode command-line tools are missing there, that run will show it.

🤖 Generated with Claude Code

Pushes and same-repository pull requests build on the self-hosted Mac
(org runner group macos); fork pull requests keep GitHub's macos-15, so
outside code never runs on it. Frees the org's five hosted macOS slots,
which MailCraft shares. The check name is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benandez
benandez requested a review from Jeremy8776 as a code owner December 5, 2026 22:45
@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Dec 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 43 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 84ab8088-3230-4e82-9ef3-f56d3bf4dfad
Commits

Reviewing files that changed from the base of the PR and between d507f03 and b8ffac0.

Files selected for processing: 1

  • .github/workflows/ci.yml
  • 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

@benandez
benandez merged commit 13fec5c into main Dec 5, 2026
14 checks passed
@benandez
benandez deleted the claude/ci-mac-runner branch December 5, 2026 23:01

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

Works, with one concern. The build (macos-15) job ran on macstudio01 (group macos) and every step passed. Fork PRs stay on hosted macos-15, and release.yml is unchanged.

Concern: Dependabot PRs run on the Mac

Dependabot opens its PRs from branches in this repository, so head.repo.full_name == github.repository is true for them. A dependency bump then compiles the new crate versions' build scripts and proc macros on macstudio01.

The runner is persistent. Anything a build script leaves in ~/.cargo, the target folder or the rust-cache would carry over to later builds of main.

Suggested fix, either of:

  • add && github.actor != 'dependabot[bot]' to the condition, so dependency bumps stay on hosted macos-15; or
  • make the runner ephemeral (JIT runners), so each job starts clean.

Nit

The comment says "org runner group macos", but runs-on as a label array matches labels only. If the group should be pinned, use the object form:

runs-on:
  group: macos
  labels: [self-hosted, macOS, ARM64]

Not checked

I could not read the runner group's repository and workflow restrictions (no org admin rights).


@Jeremy8776 had the idea. Claude Code had the keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants