Skip to content

ci(repo): run the test and analysis jobs on free standard runners - #1739

Merged
renefloor merged 1 commit into
mainfrom
ci/free-runners-test-jobs
Nov 27, 2026
Merged

renefloor merged 1 commit into
mainfrom
ci/free-runners-test-jobs

Conversation

@razkevich

Copy link
Copy Markdown
Contributor

Why

Since the move to the static-IP github-public-amd64 group, every Linux job here is billed per minute. This repo was the org's second-largest public-repo Actions cost (~$128 on 25 Nov). The org IP allow list refuses only signed-in requests from standard runners, not anonymous reads of a public repository, and the jobs below make no GitHub call except the checkout. Same change as GetStream/Agents#2644, which is merged.

Changes

These jobs move to ubuntu-latest and fetch github.sha anonymously with git instead of actions/checkout:

  • pana.yml: all five package jobs
  • stream_video_flutter_workflow.yml: analyze, build (full history, branches and tags, as fetch-depth: 0 gave them)
  • legacy_version_analyze.yml: analyze_legacy_version (full history)
  • sdk_size.yml: measure-android

Unchanged on the static-IP runners: everything that uses a token or writes to GitHub (pr_title, the sdk_size report jobs, labels, App Distribute, releases) and sdk-verified.

The local actions these jobs use (setup-flutter, setup-melos, pana, package_analysis) make no GitHub call: Flutter comes from storage.googleapis.com and packages from pub.dev. Codecov keeps uploading with the job's OIDC token.

Validation

This PR's own runs use the changed workflows: green analyze, build, pana, analyze_legacy_version and measure-android on ubuntu-latest are the proof. The first runs miss the Actions cache (larger-runner caches don't match the standard image); the first push to main saves new ones.

🤖 Generated with Claude Code

@razkevich

Copy link
Copy Markdown
Contributor Author

The two red pana jobs are not from this change: stream_video_flutter scores 110/160 (minimum 120) on main as well. Main's last pana run (26 Nov, actions/checkout) gave the same scores for all five packages as this PR's run: 110, 120, 120, 130, 140. pana has failed on every push to main since 24 Nov. Everything else this PR moves (analyze, build, analyze_legacy_version, measure-android, plus report-android consuming its artifact) is green on ubuntu-latest.

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

SDK Size

title main branch diff status
android_stream_video 16.52 MB 16.52 MB 0 KB 🟢
android_stream_video_flutter 18.36 MB 18.36 MB 0 KB 🟢
ios_stream_video 16.68 MB 16.68 MB 0 KB 🟢
ios_stream_video_flutter 18.95 MB 18.95 MB 0 KB 🟢
pub_stream_video 0.71 MB 0.71 MB 0 KB 🟢
pub_stream_video_filters 0.04 MB 0.04 MB -1 KB 🚀
pub_stream_video_flutter 0.55 MB 0.55 MB 0 KB 🟢
pub_stream_video_noise_cancellation 0.05 MB 0.05 MB 0 KB 🟢
pub_stream_video_push_notification 0.35 MB 0.35 MB +1 KB 🟢
pub_stream_video_screen_sharing 0.01 MB 0.01 MB 0 KB 🟢

Measured on d5fac7a.

@github-actions

Copy link
Copy Markdown

Size 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.

Measured on d5fac7a.

android · stream_video: 16.43 MB (0)
Component Size Δ vs main
native:libjingle_peerconnection_so.so 12.8 MB 0
package:stream_video 1.81 MB 0
classes.dex 288.1 KB 0
dart:@unknown 282.8 KB 0
dart:_http 152.7 KB 0
package:protobuf 145.6 KB 0
native:libdartjni.so 121.7 KB 0
dart:io 99.4 KB 0
dart:async 71.8 KB 0
package:stream_webrtc_flutter 56.2 KB 0
dart:core 50.8 KB 0
dart:mixin_deduplication 49.7 KB 0
package:rxdart 48.2 KB 0
package:source_span 44.1 KB 0
dart:typed_data 31.3 KB 0
other (66) 423.9 KB 0
android · stream_video_flutter: 18.26 MB (0)
Component Size Δ vs main
native:libjingle_peerconnection_so.so 12.8 MB 0
package:stream_video 1.85 MB 0
package:flutter 774.3 KB 0
classes.dex 479.7 KB 0
dart:@unknown 419.4 KB 0
dart:_http 155.6 KB 0
dart:mixin_deduplication 152.0 KB 0
package:protobuf 146.7 KB 0
package:stream_video_flutter 133.4 KB 0
native:libdartjni.so 121.7 KB 0
dart:io 119.3 KB 0
assets 81.5 KB 0
dart:async 75.4 KB 0
dart:collection 63.1 KB 0
dart:ui 62.0 KB 0
other (88) 913.8 KB 0
ios · stream_video: 16.65 MB (0)
Component Size Δ vs main
native:StreamWebRTC.framework 12.36 MB 0
package:stream_video 1.96 MB 0
Runner 671.9 KB 0
dart:@unknown 280.2 KB 0
dart:_http 164.9 KB 0
native:objective_c.framework 164.1 KB 0
package:protobuf 155.9 KB 0
dart:io 95.7 KB 0
dart:async 78.6 KB 0
package:stream_webrtc_flutter 63.5 KB 0
package:rxdart 54.6 KB 0
dart:mixin_deduplication 54.3 KB 0
dart:core 52.2 KB 0
package:source_span 46.9 KB 0
dart:@shared 44.3 KB 0
other (66) 462.7 KB 0
ios · stream_video_flutter: 18.91 MB (0)
Component Size Δ vs main
native:StreamWebRTC.framework 12.36 MB 0
package:stream_video 2.0 MB 0
Runner 1.18 MB 0
package:flutter 886.0 KB 0
dart:@unknown 421.4 KB 0
dart:_http 167.8 KB 0
native:objective_c.framework 164.1 KB 0
dart:mixin_deduplication 160.7 KB 0
package:protobuf 156.9 KB 0
package:stream_video_flutter 140.1 KB 0
dart:io 117.1 KB 0
Frameworks 84.2 KB 0
dart:async 83.0 KB 0
dart:@shared 76.3 KB 0
dart:ui 71.3 KB 0
other (89) 915.0 KB 0

@github-actions github-actions Bot added the approved Approved by a reviewer label Nov 27, 2026
@renefloor
renefloor merged commit 1064abc into main Nov 27, 2026
24 of 26 checks passed
@github-actions github-actions Bot removed the ready Pull request ready to be reviewed label Nov 27, 2026
@renefloor
renefloor deleted the ci/free-runners-test-jobs branch November 27, 2026 10:31
renefloor added a commit that referenced this pull request Nov 27, 2026
* ci(repo): run the test and analysis jobs on free standard runners (#1739)

Claude-Session: https://claude.ai/code/session_015cLka1Rk3gS2SjhgrUW2MD

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* ci(repo): run v2's remaining token-free jobs on free standard runners

- analyze, build, both path filter gates, the webrtc analyze and Linux,
  Android and web builds, and the beta analysis move to standard runners
  with an anonymous checkout. The gates' filters fetch the base with git,
  without a token. analyze is pinned to ubuntu-24.04, the image its goldens
  are rendered on.
- update_goldens renders on ubuntu-24.04 and hands the goldens to a commit
  job on the static-IP runners, which mints the bot token.
- The Android release build, the flutter.getstream.io deploy and the PR web
  build run on standard runners; Google Play and Google Cloud take no GitHub
  token. Commenting a PR's web build link is a job of its own on the
  static-IP runners. The gh-pages deploy pushes to the repository and stays.
- With 4 cores and 16 GB again, melos runs analyze and the Flutter tests at
  their old concurrency, analyze gets its 25 minutes back, and the size
  measurement keeps the template's Gradle settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci(repo): run the token-free macOS jobs on free standard runners

The iOS unit tests, the webrtc iOS and macOS example builds and the SPM
build move from Scaleway to the xcode-27 image, and the iOS size
measurement, which pins Xcode 26.3, to macos-26, all with an anonymous
checkout. The iOS and macOS distribution jobs read the certificates with a
token and stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci(repo): measure the iOS size with Xcode 27.1

On the xcode-27 image, pinned to 27.1. The first push to v2 stores a new
iOS benchmark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: razkevich <alexey.razkevich@getstream.io>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Approved by a reviewer v1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants