Registry Mirror
Skip to content

Conversation

@tbarbugli

Copy link
Copy Markdown
Member

Summary

Migrate macOS workflow jobs to the org self-hosted scaleway-macos runner group.

With the GetStream organization IP allow list enabled (SEC-2475), standard dynamic-IP GitHub-hosted macOS runners (macos-*, xcode-*) are blocked from authenticated GitHub API and git access (GITHUB_TOKEN). The scaleway-macos pool runs ephemeral Tart macOS VMs (ghcr.io/getstream/runner-macos:latest) on Scaleway Apple Silicon hosts behind a single allow-listed static NAT IP (51.15.135.209).

This repository has already been granted access to the scaleway-macos runner group.

Updated workflows (4 file(s), 4 runs-on update(s))

  • .github/workflows/build-ios-spm.yml (1 runs-on update(s))
  • .github/workflows/e2e-test-cron.yml (1 runs-on update(s))
  • .github/workflows/e2e-test.yml (1 runs-on update(s))
  • .github/workflows/sample-distribution.yml (1 runs-on update(s))

Notes

Xcode 27 note: .github/workflows/e2e-test-cron.yml and sample-distribution.yml pin xcode-version: '27.2' (previously xcode-27). The current ghcr.io/getstream/runner-macos:latest image ships Xcode 16.0–26.3; add Xcode 27 to the runner image before merging jobs that require Xcode 27.

@isekovanic
isekovanic merged commit 58753d7 into develop Dec 1, 2026
15 checks passed
@isekovanic
isekovanic deleted the ci/scaleway-macos-runners branch December 1, 2026 08:51
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

πŸŽ‰ This PR is included in version 10.4.0 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

isekovanic added a commit that referenced this pull request Dec 2, 2026
Ticket: https://linear.app/stream/issue/RN-537

## Summary

Fixes the iOS sample distribution, which has failed on every `develop`
push since #4028 (the Scaleway image has no Xcode 27.2), and the nightly
iOS E2E, which fails the same way. Mirrors
GetStream/stream-chat-flutter#3289 and
GetStream/stream-chat-flutter#3291.

## Changes

- **`sample-distribution.yml`**: the iOS job stays on `scaleway-macos`.
It is the only macOS job that needs the allow-listed IP: it creates a
GitHub App token, and fastlane match clones `ios-certificates` with it.
Xcode `27.2` β†’ `26.3`, the newest Xcode on the Scaleway image (it ships
16.0–26.3). App Store Connect accepts the iOS 26 SDK until April 2027
(ITMS-90725, the reason for #4014), so **the Scaleway image needs Xcode
27 before April 2027**; then this pin goes back to `27.2`.
- **`actions/ruby-cache`**: on self-hosted macOS runners, use the
image's own Ruby 3.3 (`mise where ruby@3.3`) and install the gems with
Bundler, instead of `ruby/setup-ruby`, as
GetStream/stream-chat-flutter#3289 and stream-chat-swift do.
`setup-ruby`'s prebuilt Ruby 3.3 is built against OpenSSL 4.1 but loads
the image's Homebrew `openssl@4` (4.0.3), and segfaults inside OpenSSL
when fastlane reads the provisioning profile. Every other runner keeps
`ruby/setup-ruby`, including the self-hosted Linux `public` runner that
Android distribution uses, which is why the switch also checks
`runner.os`.
- **`e2e-test-cron.yml`**: the nightly iOS job goes back to `xcode-27`,
the GitHub-hosted Xcode 27 image it ran on until #4028. It tests iOS
27.2 with Xcode 27.2, which the Scaleway image lacks.
- **`e2e-test.yml`** (manual iOS E2E) and **`build-ios-spm.yml`**: move
to GitHub-hosted `macos-26`, which has the pinned Xcode 26.2, its iOS
26.2 simulators and iPhone 17 Pro, as GetStream/stream-chat-flutter#3291
did.

The E2E and SPM jobs need no allow-listed IP. Their one authenticated
GitHub call is the Allure launch's run-details lookup (`Allurefile`),
which only names the launch, is unused for cron launches, and runs in a
`continue-on-error` step.

## Verification

- The workflow YAML parses and Prettier passes.
- **The Ruby change can only be confirmed by a `sample-distribution` run
on Scaleway.** A `workflow_dispatch` on this branch builds without
deploying; the first `develop` push after merge deploys.
- The nightly is proven by the next scheduled run; the manual E2E and
SPM jobs by their next runs.

πŸ€– Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants