Skip to content

experiment: Agent macOS 27 builds on Blacksmith (do not merge) - #1308

Draft
AnthonyRonning wants to merge 2 commits into
ci/xcode-27.1from
exp/macos27-blacksmith-metal
Draft

AnthonyRonning wants to merge 2 commits into
ci/xcode-27.1from
exp/macos27-blacksmith-metal

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Experiment only — do not merge. Based on PR #1266 (Xcode 27.1 for the Apple lanes), which moved the Agent's macOS builds from Blacksmith to GitHub's xcode-27 image: Blacksmith's macOS 27 image lacks the Metal Toolchain for Xcode 27.1, and xcodebuild -downloadComponent MetalToolchain fails there ("Failed fetching catalog"). On GitHub's runner the Agent Dev build took about 40 min, against 12–15 on Blacksmith.

One workflow, .github/workflows/macos27-blacksmith-experiment.yml, with two arms:

  1. Imported Metal Toolchain. export-metal (GitHub xcode-27) exports Xcode 27.1's Metal Toolchain with xcodebuild -downloadComponent metalToolchain -exportPath. blacksmith-imported-metal (blacksmith-6vcpu-macos-27) imports it with xcodebuild -importComponent, compiles a probe shader, then runs a cold cargo build --workspace --all-targets of the Agent, which compiles gpui's Metal shaders.
  2. No Metal Toolchain. blacksmith-runtime-shaders (blacksmith-6vcpu-macos-27) runs a cold cargo clippy -p maple-agent-app --all-targets with gpui's runtime_shaders feature, which skips build-time shader compilation. That would be enough for PR check lanes.

test_nix_workflows.py (install count) and test_select_xcode.py (selector inventory) are updated only so the repository checks stay green.

Local validation: both tests pass with yq-go; actionlint passes on the new workflow; the pre-commit repo lane passed (569 tests).

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Experiment only, not for merge. Checks whether the Agent's macOS 27 work
can stay on Blacksmith instead of GitHub's xcode-27 image:

- Export Xcode 27.1's Metal Toolchain on GitHub xcode-27, import it on
  blacksmith-6vcpu-macos-27, compile a shader, then build the Agent
  workspace cold with compiled Metal shaders.
- Without any Metal Toolchain, run the Agent app clippy with gpui's
  runtime_shaders feature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Experiment only. Checks that blacksmith-16vcpu-ubuntu-2404 and
blacksmith-32vcpu-ubuntu-2404 provision without a pre-created scale set,
and times a cold Agent clippy and test build on each size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant