From 9fb05e59073b5303123ddbfbcf946342da84ebd1 Mon Sep 17 00:00:00 2001 From: Ivan Sekovanikj Date: Wed, 14 Oct 2026 13:38:48 +0200 Subject: [PATCH 1/2] chore: report ai-components size separately --- examples/SampleApp/Gemfile.lock | 4 ++-- examples/SampleApp/fastlane/Fastfile | 7 ++++--- examples/SampleApp/fastlane/Pluginfile | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/examples/SampleApp/Gemfile.lock b/examples/SampleApp/Gemfile.lock index c6b4b5bee8..398fa7a87f 100644 --- a/examples/SampleApp/Gemfile.lock +++ b/examples/SampleApp/Gemfile.lock @@ -186,7 +186,7 @@ GEM google-apis-firebaseappdistribution_v1 (~> 0.3.0) google-apis-firebaseappdistribution_v1alpha (~> 0.2.0) fastlane-plugin-load_json (0.0.1) - fastlane-plugin-stream_actions (0.3.73) + fastlane-plugin-stream_actions (0.4.14) xctest_list (= 1.2.1) fastlane-sirp (1.0.0) sysrandom (~> 1.0) @@ -356,7 +356,7 @@ DEPENDENCIES fastlane fastlane-plugin-firebase_app_distribution fastlane-plugin-load_json - fastlane-plugin-stream_actions (= 0.3.73) + fastlane-plugin-stream_actions (= 0.4.14) logger mutex_m nkf diff --git a/examples/SampleApp/fastlane/Fastfile b/examples/SampleApp/fastlane/Fastfile index f7993958b3..eebdc74d05 100644 --- a/examples/SampleApp/fastlane/Fastfile +++ b/examples/SampleApp/fastlane/Fastfile @@ -205,9 +205,10 @@ lane :frameworks_sizes do sh('yarn minify-bundle') sh('yarn minify-ai-components-bundle') - js_bundle_size = file_size(path: 'package/lib/module/bundle.min.js') - UI.message("ai_components_bundle_size: #{file_size(path: 'package/lib/ai-components.min.js').round} KB") - { js_bundle_size: js_bundle_size } + { + js_bundle_size: file_size(path: 'package/lib/module/bundle.min.js'), + ai_components_size: file_size(path: 'package/lib/ai-components.min.js') + } end end diff --git a/examples/SampleApp/fastlane/Pluginfile b/examples/SampleApp/fastlane/Pluginfile index 5cb59d45fd..280e94a8aa 100644 --- a/examples/SampleApp/fastlane/Pluginfile +++ b/examples/SampleApp/fastlane/Pluginfile @@ -4,4 +4,4 @@ gem 'fastlane-plugin-firebase_app_distribution' gem 'fastlane-plugin-load_json' -gem 'fastlane-plugin-stream_actions', '0.3.73' +gem 'fastlane-plugin-stream_actions', '0.4.14' From 712ced2b7dbfefd6a749eab2b78c8bdc379a3fbb Mon Sep 17 00:00:00 2001 From: Ivan Sekovanikj Date: Wed, 14 Oct 2026 13:47:31 +0200 Subject: [PATCH 2/2] fix: extend sources that make sense --- examples/SampleApp/fastlane/Fastfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/SampleApp/fastlane/Fastfile b/examples/SampleApp/fastlane/Fastfile index eebdc74d05..f2680950ee 100644 --- a/examples/SampleApp/fastlane/Fastfile +++ b/examples/SampleApp/fastlane/Fastfile @@ -213,7 +213,10 @@ lane :frameworks_sizes do end lane :show_frameworks_sizes do |options| - next unless is_check_required(sources: ['package/'], force_check: @force_check) + # Besides the SDK itself, changes to how the size is measured (this lane, its plugin, the root + # `minify-*` scripts) re-run the check too. + sources = ['package/', 'package.json', 'examples/SampleApp/fastlane/', 'examples/SampleApp/Gemfile.lock'] + next unless is_check_required(sources: sources, force_check: @force_check) sizes = options[:sizes] || frameworks_sizes show_sdk_size(branch_sizes: sizes, github_repo: github_repo, size_ext: sdk_size_ext)