Registry Mirror
Skip to content

Conversation

@xsahil03x

@xsahil03x xsahil03x commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Fixes the two macOS workflows that have failed on every master push since the move to the Scaleway macOS runners (#3250).

  • iOS distribution (distribute_internal, distribute_external): on self-hosted runners, setup-ruby now uses the runner image's Ruby 3.3 (from mise) and installs the gems itself, instead of downloading Ruby with ruby/setup-ruby. ruby/setup-ruby's prebuilt Ruby 3.3.14 is built against OpenSSL 4.1 and links Homebrew's openssl@4, which is 4.0.3 on those runners, and Ruby segfaults inside OpenSSL when fastlane reads the provisioning profile. The image's own Ruby is built against the image's OpenSSL; stream-chat-swift uses it on these runners too. Both runner types take the newest installed patch of Ruby 3.3, so a Ruby update on the image needs no change here. GitHub-hosted runners are unchanged. The last successful distribution was Nov 23.
  • SDK size (sdk_size): the iOS measurement moves back to the free macos-26 runner it used before ci(repo): migrate macOS workflows to scaleway-macos runner group #3250. It only checks out and builds, so it needs none of the allow-listed IPs the Scaleway runners exist for, and the Scaleway image has no Xcode 26.6, which it selects. The report job needs both measurements, so master hasn't stored a size benchmark or updated the badges since Nov 24; that benchmark was also measured with Xcode 26.6 on macos-26.

Verification

  • Manual iOS E2E runs on this branch used mise's Ruby 3.3.4 with OpenSSL 3.5.5 on the Scaleway runners, installed e2e_app's gems with the locked Bundler, and passed.
  • A manual iOS distribute_internal run on this branch (46927957487) passed on the Scaleway runners: it uploaded the build to TestFlight and created a Firebase release.
  • The failing runs' setup-xcode output lists the Scaleway runners' Xcode versions, without 26.6.
  • The iOS size job is proven by the next master push.

🤖 Generated with Claude Code

@github-actions github-actions Bot added ready Pull request ready to be reviewed v10 Targets the v10 release line labels Dec 2, 2026
@getstream-metis

Copy link
Copy Markdown

👋 Hi Sahil, 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.

@xsahil03x
xsahil03x changed the base branch from ci/trim-caches to master December 2, 2026 16:33
A Ruby downloaded by setup-ruby is built against a newer OpenSSL than the
Scaleway macOS image has, and crashes when fastlane reads a provisioning
profile. The image's own Ruby is built against the image's OpenSSL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xsahil03x
xsahil03x force-pushed the ci/self-hosted-image-ruby branch from df34499 to c5f8e7e Compare December 2, 2026 16:34
xsahil03x and others added 2 commits December 2, 2026 17:36
The Scaleway macOS runners have no Xcode 26.6, so every master size run has
failed since the move, and no benchmark has been stored since. 26.3 is the
newest they have.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xsahil03x xsahil03x changed the title ci(repo): use the runner image's Ruby on self-hosted runners ci(repo): fix iOS distribution and size measurement on the Scaleway runners Dec 2, 2026
@stream-flutter-ci-bot

stream-flutter-ci-bot Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

SDK Size

title master branch diff status
android_stream_chat 1.38 MB 1.44 MB +64 KB 🟡
android_stream_chat_flutter 10.04 MB 10.04 MB -4 KB 🚀
android_stream_chat_flutter_core 2.2 MB 2.2 MB 0 KB 🟢
android_stream_chat_persistence 4.02 MB 4.08 MB +64 KB 🟡
pub_stream_chat 0.53 MB 0.53 MB +7 KB 🟢
pub_stream_chat_flutter 5.0 MB 5.0 MB 0 KB 🟢
pub_stream_chat_flutter_core 0.22 MB 0.23 MB +4 KB 🟢
pub_stream_chat_localizations 0.17 MB 0.17 MB +1 KB 🟢
pub_stream_chat_persistence 0.78 MB 0.79 MB +1 KB 🟢

Measured on 39e3a26.

@stream-flutter-ci-bot

Copy link
Copy Markdown
Contributor

Size Breakdown

📦 Size change against master:

  • android · stream_chat: 1.47 MB, +30.3 KB (+2.0%) ⚠️
  • android · stream_chat_flutter: 9.97 MB, -23.2 KB (-0.2%) 🚀
  • android · stream_chat_flutter_core: 2.22 MB, +17.1 KB (+0.8%) ⚠️
  • android · stream_chat_persistence: 4.08 MB, +39.2 KB (+0.9%) ⚠️

This run does not measure ios.

Measured on 39e3a26.

Largest changes

Component Variant master Branch Δ
package:flutter android · stream_chat_flutter 2.07 MB 2.01 MB -57.7 KB
package:stream_core_flutter android · stream_chat_flutter 448.1 KB 468.1 KB +19.9 KB
package:stream_chat android · stream_chat_flutter 599.1 KB 615.9 KB +16.9 KB
dart:collection android · stream_chat_persistence 20.9 KB 33.0 KB +12.1 KB
package:stream_thumbnail android · stream_chat_flutter 12.6 KB 21.8 KB +9.2 KB
package:octo_image android · stream_chat_flutter 9.0 KB 0.0 KB -9.0 KB
package:stream_chat_flutter android · stream_chat_flutter 742.6 KB 750.9 KB +8.2 KB
package:stream_chat_persistence android · stream_chat_persistence 373.8 KB 381.0 KB +7.2 KB
dart:convert android · stream_chat_flutter 31.8 KB 24.6 KB -7.2 KB
dart:mixin_deduplication android · stream_chat_flutter 483.5 KB 489.7 KB +6.3 KB
org android · stream_chat_flutter 4.8 KB 0.0 KB -4.8 KB
package:cached_network_image_ce android · stream_chat_flutter 51.4 KB 47.4 KB -4.0 KB
dart:@unknown android · stream_chat_persistence 201.0 KB 204.9 KB +3.9 KB
dart:_http android · stream_chat_flutter 167.0 KB 170.5 KB +3.4 KB
dart:core android · stream_chat_flutter 89.2 KB 85.8 KB -3.4 KB
Full breakdown

What each SDK adds to an empty release app, per Dart package and native library. Dart sizes are uncompressed symbol sizes. Open the sdk-size-analysis artifacts of this run in the DevTools App Size tool to drill down further.

android · stream_chat: 1.47 MB (+30.3 KB) ⚠️
Component Size Δ vs master
package:stream_chat 525.7 KB +13.7 KB
dart:_http 146.5 KB +0.1 KB
dart:@unknown 135.6 KB +2.9 KB
dart:io 93.3 KB +0.4 KB
package:dio 69.6 KB -0.0 KB
dart:@shared 50.0 KB +0.2 KB
dart:async 48.2 KB +0.0 KB
dart:core 42.3 KB +0.5 KB
package:source_span 42.2 KB -0.0 KB
dart:typed_data 38.7 KB -0.0 KB
package:collection 36.9 KB -0.0 KB
package:rxdart 34.3 KB +0.0 KB
dart:collection 30.6 KB +12.1 KB
package:path 26.3 KB +0.0 KB
dart:_internal 21.1 KB -0.0 KB
other (37) 166.7 KB +0.4 KB
android · stream_chat_flutter: 9.97 MB (-23.2 KB) 🚀
Component Size Δ vs master
package:flutter 2.01 MB -57.7 KB
classes.dex 925.2 KB -0.7 KB
dart:@unknown 778.0 KB -2.3 KB
package:stream_chat_flutter 750.9 KB +8.2 KB
package:stream_chat 615.9 KB +16.9 KB
dart:mixin_deduplication 489.7 KB +6.3 KB
package:stream_core_flutter 468.1 KB +19.9 KB
dart:@shared 364.8 KB -0.6 KB
package:material_ui 347.3 KB +1.0 KB
assets 190.7 KB +1.1 KB
package:vector_graphics_compiler 188.4 KB -0.4 KB
dart:_http 170.5 KB +3.4 KB
dart:io 148.0 KB +0.3 KB
native:libdartjni.so 128.7 KB 0
package:chewie 114.2 KB +0.0 KB
other (157) 2.41 MB -18.6 KB
android · stream_chat_flutter_core: 2.22 MB (+17.1 KB) ⚠️
Component Size Δ vs master
package:stream_chat 539.5 KB +14.2 KB
package:flutter 465.7 KB +0.1 KB
dart:@unknown 207.7 KB +1.4 KB
dart:_http 145.7 KB -0.0 KB
dart:io 92.0 KB +0.0 KB
package:dio 69.2 KB +0.0 KB
dart:mixin_deduplication 66.6 KB -0.0 KB
dart:@shared 59.4 KB +0.3 KB
package:stream_chat_flutter_core 51.0 KB +0.0 KB
dart:async 49.4 KB +0.0 KB
dart:collection 45.9 KB +0.3 KB
dart:core 44.8 KB +0.6 KB
dart:typed_data 44.5 KB -0.1 KB
package:rxdart 43.4 KB +0.0 KB
package:source_span 42.2 KB 0
other (55) 307.7 KB +0.4 KB
android · stream_chat_persistence: 4.08 MB (+39.2 KB) ⚠️
Component Size Δ vs master
native:libsqlite3.so 1.67 MB 0
package:stream_chat 553.2 KB +13.6 KB
package:stream_chat_persistence 381.0 KB +7.2 KB
dart:@unknown 204.9 KB +3.9 KB
dart:_http 146.6 KB +0.1 KB
native:libdartjni.so 128.7 KB 0
package:drift 123.0 KB -0.0 KB
dart:io 96.2 KB +0.3 KB
package:dio 69.7 KB +0.0 KB
dart:@shared 64.8 KB +0.5 KB
dart:async 56.4 KB +0.0 KB
dart:typed_data 55.8 KB +0.0 KB
dart:core 52.5 KB +0.6 KB
package:sqlite3 52.1 KB +0.0 KB
dart:mixin_deduplication 46.0 KB +0.0 KB
other (57) 436.5 KB +13.0 KB

The measurement only checks out and builds, so it needs none of the
allow-listed IPs the Scaleway runners exist for. macos-26 has Xcode 26.6,
which the benchmark until Nov 24 was measured with.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xsahil03x xsahil03x changed the title ci(repo): fix iOS distribution and size measurement on the Scaleway runners ci(repo): fix iOS distribution and size measurement since the Scaleway move Dec 2, 2026
@xsahil03x
xsahil03x merged commit 3013fe5 into master Dec 2, 2026
4 checks passed
@xsahil03x
xsahil03x deleted the ci/self-hosted-image-ruby branch December 2, 2026 17:21
isekovanic added a commit to GetStream/stream-chat-react-native 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

ready Pull request ready to be reviewed v10 Targets the v10 release line

Development

Successfully merging this pull request may close these issues.

2 participants