Skip to content

Use Xcode 26.6 and Ruby 3.4.9#25748

Merged
mokagio merged 11 commits into
trunkfrom
ainfra-2600-use-ruby-349-in-wordpress-ios
Jul 7, 2026
Merged

Use Xcode 26.6 and Ruby 3.4.9#25748
mokagio merged 11 commits into
trunkfrom
ainfra-2600-use-ruby-349-in-wordpress-ios

Conversation

@mokagio

@mokagio mokagio commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

mokagio and others added 4 commits July 6, 2026 16:25
Also notice that config has been update to enforce building with native
extensions, so that the lockfile stays tidy and doesn't produce noise.

This behavior had been flaky in previous Xcode toolchain and because we
didn't have newer Ruby versions available.
The Xcode 26.6 image ships a Homebrew that enforces tap trust and refuses
to load `swift-package-list` from the untrusted `FelixHerrmann/tap`, failing
the Homebrew dependency install step.

---

Generated with the help of Claude Code, https://claude.ai/code

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bundler stopped reading `specific_platform` in 2.2.0 (2020-12-10): commit
`0bcf7492d` deleted its `settings_flag`, making platform-specific gem
resolution unconditional. The `"false"` value has been a no-op since.

---

Generated with the help of Claude Code, https://claude.ai/code

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mokagio mokagio added this to the tool milestone Jul 6, 2026
Comment thread .buildkite/commands/build-for-testing.sh Outdated
Comment thread .buildkite/commands/shared-set-up-distribution.sh Outdated
mokagio and others added 3 commits July 6, 2026 16:52
Co-authored-by: Gio Lodi <giovanni.lodi42@gmail.com>
The `FelixHerrmann/tap` tap/trust/install block was duplicated in
`build-for-testing.sh` and `shared-set-up-distribution.sh` — the two CI
paths that build a shippable app and thus need the acknowledgements build
phase's `swift-package-list`. Centralize it so the tap-trust incantation
has one home.

---

Generated with the help of Claude Code, https://claude.ai/code

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Homebrew 6 enables ask-mode by default: `brew install` prints its plan and
prompts for confirmation when it pulls in dependencies. The prompt is meant
to be skipped without a TTY, but Buildkite allocates a PTY, so `brew install
imagemagick` hung waiting for input that never came.

---

Generated with the help of Claude Code, https://claude.ai/code

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

wpmobilebot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number33038
VersionPR #25748
Bundle IDorg.wordpress.alpha
Commitc3a0048
Installation URL6ji0g7n10mrl0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

wpmobilebot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number33038
VersionPR #25748
Bundle IDcom.jetpack.alpha
Commitc3a0048
Installation URL76i5s3jni57hg
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@mokagio mokagio marked this pull request as ready for review July 7, 2026 02:36
@mokagio mokagio requested a review from a team as a code owner July 7, 2026 02:36
Copilot AI review requested due to automatic review settings July 7, 2026 02:36
@mokagio mokagio enabled auto-merge July 7, 2026 02:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates repo-level tooling pins to align local development and CI with newer Xcode/Ruby/Bundler versions, and refactors Buildkite Homebrew setup to centralize installation of swift-package-list.

Changes:

  • Bump pinned tool versions: Xcode to 26.6, Ruby to 3.4.9, Bundler lockfile to 4.0.15.
  • Adjust Bundler configuration to force Ruby-platform gem resolution.
  • Consolidate Buildkite swift-package-list installation into a shared script and set HOMEBREW_NO_ASK for non-interactive installs (currently only in one caller).

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Gemfile.lock Updates the lockfile’s BUNDLED WITH version to Bundler 4.0.15.
.xcode-version Pins the recommended Xcode version to 26.6.
.ruby-version Pins the Ruby version to 3.4.9.
.bundle/config Switches Bundler config to BUNDLE_FORCE_RUBY_PLATFORM.
.buildkite/commands/shared-set-up-distribution.sh Sets HOMEBREW_NO_ASK and delegates swift-package-list install to a shared script.
.buildkite/commands/install-swift-package-list.sh New helper script to tap/trust/install swift-package-list.
.buildkite/commands/build-for-testing.sh Delegates swift-package-list install to the shared script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .buildkite/commands/install-swift-package-list.sh
Comment on lines +1 to +2
#!/bin/bash -eu

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I thought the same myself when looking at the diff, but CI being green disproved this...

Comment thread .bundle/config
BUNDLE_JOBS: "3"
BUNDLE_WITHOUT: "screenshots"
BUNDLE_RETRY: "3"
BUNDLE_SPECIFIC_PLATFORM: "false"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This config is no longer used by Bundler

@mokagio mokagio added the Tooling Build, Release, and Validation Tools label Jul 7, 2026
@mokagio mokagio requested review from crazytonyli and jkmassel July 7, 2026 05:09
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@mokagio mokagio added this pull request to the merge queue Jul 7, 2026
Merged via the queue into trunk with commit 0c24e62 Jul 7, 2026
26 checks passed
@mokagio mokagio deleted the ainfra-2600-use-ruby-349-in-wordpress-ios branch July 7, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tooling Build, Release, and Validation Tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants