Registry Mirror
Skip to content

Conversation

@isekovanic

Copy link
Copy Markdown
Contributor

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 ci(sample-distribution): build the iOS sample app with Xcode 27 #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 ci(repo): fix iOS distribution and size measurement since the Scaleway move 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 ci: migrate macOS workflows to scaleway-macos runner group #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 ci(repo): run macOS jobs without GitHub API calls on free runners 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

@getstream-metis

Copy link
Copy Markdown

👋 Hi Ivan, want a second pair of eyes on this?

I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.

  • Review this PR

Or comment /jeffery review. I'll stay quiet unless you ask.

@isekovanic
isekovanic merged commit 890f6d4 into develop Dec 2, 2026
17 checks passed
@isekovanic
isekovanic deleted the ci/scaleway-xcode-ruby branch December 2, 2026 21:29
isekovanic added a commit that referenced this pull request Dec 4, 2026
…4054)

Ticket: https://linear.app/stream/issue/RN-561

## 🎯 Goal

With the `GetStream` organization IP allow list enabled, GitHub-hosted
`ubuntu-latest` runners can no longer make authenticated GitHub API
calls. #4024 moved `develop`'s Linux jobs to the static-IP
`github-public-amd64` runner group, but `v9-release` was never updated.
As a result, every PR into `v9-release` fails `Lint PR title` with "your
IP address is not permitted to access this resource" (for example
#4053).

## 🛠 Implementation details

Switches every `runs-on: ubuntu-latest` on `v9-release` to `runs-on: {
group: github-public-amd64 }`, the same change #4024 made on `develop`:

- `lint-pr-title.yml` (`lint_pr_title`)
- `cancel-pr-checks.yml` (`cancel`)
- `changelog-preview.yml`
- `sdk-size-metrics.yml` (`sdk_size`)
- `release.yml` (`publish`, for v9 maintenance releases)
- `e2e-test.yml` (`check`, `android`, `result`)

Unchanged:

- `check-pr.yml` already runs on the self-hosted `public` runner.
- The `macos-15` jobs make no authenticated GitHub calls (#4046 moved
their `develop` counterparts to GitHub-hosted `macos-26`, not to an
allow-listed group).
- `sample-distribution.yml` on `v9-release` only runs on pushes to
`develop` or a manual dispatch.

## 🎨 UI Changes

None.

## 🧪 Testing

This PR's own `Lint PR title` run uses the updated workflow, so it
should pass. Once this is merged, re-running the title check on #4053
should pass as well.

## ☑️ Checklist

- [x] I have signed the [Stream
CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform)
(required)
- [ ] PR targets the `develop` branch (targets `v9-release`)
- [ ] Documentation is updated (not applicable)
- [ ] New code is tested in main example apps, including all possible
scenarios (CI only)
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