Skip to content

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

Closed
razkevich wants to merge 2 commits into
v2from
ci/free-runners-test-jobs-v2
Closed

razkevich wants to merge 2 commits into
v2from
ci/free-runners-test-jobs-v2

Conversation

@razkevich

Copy link
Copy Markdown
Contributor

Why

The v2 counterpart of #1739 (which targets main): most PRs here target v2, and a pull request runs the workflows of its base branch. Since the move to the static-IP github-public-amd64 group, every Linux job is billed per minute. 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. Guide: GetStream/localdevelopment#14.

Changes

These jobs move to ubuntu-latest and fetch github.sha anonymously with git instead of actions/checkout (full history, branches and tags where they had fetch-depth: 0):

  • pana.yml: all five package jobs
  • stream_video_flutter_workflow.yml: analyze, build
  • webrtc.yml: analyze, build-android, build-linux, build-elinux, build-web
  • legacy_version_analyze.yml, beta_version_analyze.yml: the analysis jobs
  • sdk_size.yml: measure-android

Unchanged on the static-IP runners: gate jobs, complexity (posts a PR comment), coverage (github-script), sdk-verified/webrtc-verified, the sdk_size report jobs, pr_title, App Distribute, web deploy, releases.

analyze keeps its Codecov OIDC upload and its artifact and cache steps; the elinux build clones flutter-elinux anonymously as before.

Validation

This PR's own runs use the changed workflows. pana on stream_video_flutter already fails on main (score 110 < 120, see #1739), so a red pana there is not from this change.

🤖 Generated with Claude Code

@razkevich
razkevich requested a review from a team as a code owner November 27, 2026 10:43
@github-actions github-actions Bot added ready Pull request ready to be reviewed v2 labels Nov 27, 2026
@razkevich

Copy link
Copy Markdown
Contributor Author

analyze stays on github-public-amd64: its golden tests compare pixels against images update_goldens.yml renders on that runner, and on ubuntu-latest two CallRingingButton goldens differed by ~0.55%. Moving it too would mean regenerating the goldens on a standard runner. The other jobs move as described.

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

SDK Size

title v2 branch diff status
android_stream_video 2.39 MB 2.39 MB 0 KB 🟢
android_stream_video_flutter 17.61 MB 17.61 MB 0 KB 🟢
pub_stream_video 1.0 MB 1.0 MB 0 KB 🟢
pub_stream_video_filters 0.04 MB 0.04 MB -1 KB 🚀
pub_stream_video_flutter 2.0 MB 2.0 MB 0 KB 🟢
pub_stream_video_noise_cancellation 0.05 MB 0.05 MB -1 KB 🚀
pub_stream_video_push_notification 0.49 MB 0.49 MB -2 KB 🚀
pub_stream_video_screen_sharing 0.01 MB 0.01 MB 0 KB 🟢

Measured on c23db85.

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

This run does not measure ios.

Measured on c23db85.

android · stream_video: 2.3 MB (0)
Component Size Δ vs v2
package:stream_video 865.7 KB 0
dart:@unknown 214.0 KB 0
dart:_http 151.5 KB 0
package:protobuf 143.1 KB 0
dart:mixin_deduplication 141.6 KB 0
dart:io 92.6 KB 0
dart:async 70.3 KB 0
package:stream_core 69.0 KB 0
package:dio 52.2 KB 0
package:rxdart 51.7 KB 0
dart:core 46.2 KB 0
package:source_span 42.4 KB 0
dart:@shared 40.0 KB 0
dart:convert 37.6 KB 0
dart:collection 26.5 KB 0
other (62) 307.8 KB 0
android · stream_video_flutter: 17.5 MB (0)
Component Size Δ vs v2
native:libjingle_peerconnection_so.so 11.96 MB 0
package:stream_video 1.21 MB 0
package:flutter 697.8 KB 0
classes.dex 456.0 KB 0
dart:@unknown 445.7 KB 0
dart:mixin_deduplication 369.5 KB 0
package:stream_video_flutter 212.9 KB 0
dart:_http 154.1 KB 0
package:protobuf 144.9 KB 0
dart:io 136.4 KB 0
package:stream_core_flutter 128.6 KB 0
native:libdartjni.so 121.7 KB 0
assets 119.8 KB 0
package:hive_ce 99.1 KB 0
dart:@shared 87.1 KB 0
other (101) 1.24 MB 0

@github-actions

Copy link
Copy Markdown

Coverage

Coverage
Changed lines n/a (0/0 lines)
This branch 69.39% (+0.00%)
v2 69.39% (23a4b9b, from cache)

None of the changed lines is in the coverage report.

@renefloor

Copy link
Copy Markdown
Contributor

@razkevich already did in #1740

analyze stays on github-public-amd64

I've changed update_goldens to generate them on ubuntu-24.04, but commit them on github-public-amd64

@renefloor renefloor closed this Nov 27, 2026
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 v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants