Skip to content

Provider toolchain on dev: build and release with Xcode 27.2 (SDK 27.2, Swift 6.4.2); CI also accepts SDK 27.0 for now (port of #1791) - #1801

Merged
Gajesh2007 merged 2 commits into
devfrom
ci/xcode-27-2-toolchain-dev
Nov 5, 2026
Merged

Gajesh2007 merged 2 commits into
devfrom
ci/xcode-27-2-toolchain-dev

Conversation

@Gajesh2007

@Gajesh2007 Gajesh2007 commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Port of #1791 to dev: the provider toolchain step accepts macOS SDK 27.2 (Xcode 27.2), so dev pull requests and pushes pass on Darkbloom's macOS CI base. That base moved to Xcode 27.2, which has no SDK 27.0 (Layr-Labs/darkbloom-sandbox#245).

What

Cherry-picks #1791's two commits onto dev (c85e011334) without conflicts:

  • 5c7c1095a4 Provider toolchain: build and release with Xcode 27.2 (SDK 27.2, Swift 6.4.2); CI also accepts SDK 27.0 for now
  • b69a5bf56f Provider toolchain: refactor pass on Xcode selection

The content is identical to #1791 (approved by @jonathan308). See #1791 for the full description. The changelog fragment and docs come with it.

Why dev needs it too

Darkbloom routes dev pushes and pull requests into dev as well as master. Each run uses its own branch's scripts/prepare-provider-release-toolchain.sh. Until dev has this change, every macOS lane of a dev run fails in seconds on the Xcode 27.2 base, so the macOS lanes stay on Blacksmith for every branch.

flowchart LR
  A[#1791 on master] --> C{macOS lanes back on Darkbloom}
  B[This PR on dev] --> C
  C --> D[Xcode 27.2 base: qualification mode accepts SDK 27.2 or 27.0]
Loading

Merge

dev takes merge commits. I pushed this, so it needs an approval from someone else (@davidtai or @jonathan308).


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

davidtai and others added 2 commits November 4, 2026 18:20
…t 6.4.2)

The Darkbloom Sandbox macOS CI base moved to Xcode 27.2 (27B52), which has
no SDK 27.0. prepare-provider-release-toolchain.sh accepted only SDK 27.0,
so every provider CI job failed in its first step.

- DARKBLOOM_PROVIDER_TOOLCHAIN=release (release-provider.yml,
  provider-signing-validation.yml, master and dispatched release
  preparation) accepts SDK 27.2 and Apple Swift 6.4.2 only.
- The default, qualification (ci.yml, pull-request release preparation,
  the sandbox base check), accepts SDK 27.2 or 27.0 and Swift 6.4.x.
  SDK 27.0 stays while production runs the Xcode 27.1 base (issue 1790).
- The step tries the image's Xcode, then each installed Xcode, newest
  first, and takes the first with SDK 27.2. It exports DEVELOPER_DIR when
  it selects another Xcode, so Metal, xcodebuild and signing match.
- PROVIDER_SDK_VERSION is the selected SDK. The older-macOS smoke and the
  release resume expect 27.2.
- The signing validation workflow uses the same step and wrapper.
- mise pins Swift 6.4.2. Docs and a changelog fragment follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Behavior-preserving cleanup of the 27.2 toolchain step:
- One path for an explicit toolchain root and an image CLT; the Xcode
  candidate search is the select_xcode function.
- The Applications folder is read once.
- No ticket number in the script, build docs or changelog fragment; the
  removal condition for SDK 27.0 stays stated.
- The toolchain tests share one GITHUB_ENV reader.

Accepted SDK and Swift versions, modes, outputs and messages are unchanged.

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

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Error Error Nov 5, 2026 2:22am UTC
d-inference-console-ui-dev Error Error Nov 5, 2026 2:22am UTC
d-inference-landing Ready Ready Preview Nov 5, 2026 2:22am UTC
darkbloom-status Ready Ready Preview Nov 5, 2026 2:22am UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 5, 2026 2:22am UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T02:22:59.387222Z 0cb8e51 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Gajesh2007
Gajesh2007 merged commit 219523d into dev Nov 5, 2026
27 of 29 checks passed
jonathan308 added a commit that referenced this pull request Nov 5, 2026
Provider toolchain: build with Xcode 27.1 / SDK 27.0 again (revert #1801)
davidtai added a commit that referenced this pull request Nov 5, 2026
dev's #1803 (#1771's macOS route, ported to dev) is the routing this branch
replaces with provider-plan.yml: its hunks in provider-tests.yml (ci.yml on
dev), build.md, test.md and the three workflow tests resolve to this
branch. #1801 and its revert #1804 change no CI file on net. The released
fragment changelog.d/cluster-pair-equal-tensor-shares.md stays deleted, and
its dev edit goes into its CHANGELOG.md line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jonathan308 jonathan308 mentioned this pull request Nov 5, 2026
22 tasks done

This branch had an error being deployed

2 failed and 3 active deployments
Preview – d-inference-landing — 0cb8e516 Deployed Nov 5, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — 0cb8e516 Deployed Nov 5, 2026 by vercel[bot]
Preview – d-inference — 0cb8e516 Deployed Nov 5, 2026 by vercel[bot]
Preview – darkbloom-status — 0cb8e516 Deployed Nov 5, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — 0cb8e516 Deployed Nov 5, 2026 by vercel[bot]
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