Conversation
👋 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.
Or comment |
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
force-pushed
the
ci/self-hosted-image-ruby
branch
from
December 2, 2026 16:34
df34499 to
c5f8e7e
Compare
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>
Contributor
SDK Size
Measured on |
Contributor
Size Breakdown📦 Size change against
This run does not measure ios. Measured on Largest changes
Full breakdownWhat each SDK adds to an empty release app, per Dart package and native library. Dart sizes are uncompressed symbol sizes. Open the android ·
|
| 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>
VelikovPetar
approved these changes
Dec 2, 2026
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the two macOS workflows that have failed on every master push since the move to the Scaleway macOS runners (#3250).
distribute_internal,distribute_external): on self-hosted runners,setup-rubynow uses the runner image's Ruby 3.3 (from mise) and installs the gems itself, instead of downloading Ruby withruby/setup-ruby.ruby/setup-ruby's prebuilt Ruby 3.3.14 is built against OpenSSL 4.1 and links Homebrew'sopenssl@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): the iOS measurement moves back to the freemacos-26runner 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 onmacos-26.Verification
e2e_app's gems with the locked Bundler, and passed.distribute_internalrun on this branch (46927957487) passed on the Scaleway runners: it uploaded the build to TestFlight and created a Firebase release.setup-xcodeoutput lists the Scaleway runners' Xcode versions, without 26.6.🤖 Generated with Claude Code