Skip to content

Build the E2E apks on GitHub-hosted runners - #1928

Merged
aleksandar-apostolov merged 1 commit into
developfrom
ci/e2e-build-github-runners
Nov 27, 2026
Merged

aleksandar-apostolov merged 1 commit into
developfrom
ci/e2e-build-github-runners

Conversation

@aleksandar-apostolov

Copy link
Copy Markdown
Collaborator

Goal

Refs AND-2068

The E2E apk build still runs on the 2-core runners of the static-IP group, and they shut down mid-build on larger changes: #1909 failed both merge queue attempts in Kotlin compilation, about 10 minutes in. Same change as stream-chat-android#7090.

Implementation

  • e2e-test.yml: a new Scope job on the static-IP runner asks the GitHub API whether the pull request touches the E2E sources (fastlane e2e_scope). Build takes its decision, and E2E result also fails if Scope fails.
  • e2e-build.yml: compose apks runs on ubuntu-24.04 and is skipped when Scope says no. An empty GITHUB_PR_NUM keeps fastlane from calling the API. The nightly passes no input, so it always builds.
  • remove-older-gradle-caches stays on the static-IP runner, since it calls the API.

Testing

  • actionlint passes.
  • This pull request touches the E2E workflows, so its own checks run Scope, the build on ubuntu-24.04 and the full suite.

The 2-core runners in the static-IP group shut down mid-build on larger
changes. A scope job on the static-IP runner now asks the GitHub API
whether the E2E sources changed, so the build no longer needs it.
@aleksandar-apostolov
aleksandar-apostolov requested a review from a team as a code owner November 27, 2026 13:59
@aleksandar-apostolov aleksandar-apostolov added the pr:ci CI / GitHub Actions / workflow updates label Nov 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled, or the PR is bot-authored.
  • An issue is linked (Linear ticket or GitHub issue), or the PR is bot-authored.

🎉 Great job! This PR is ready for review.

@github-actions

Copy link
Copy Markdown
Contributor

SDK Size Comparison 📏

SDK Before After Difference Status
stream-video-android-core 12.38 MB 12.38 MB 0.00 MB 🟢
stream-video-android-ui-xml 5.66 MB 5.66 MB 0.00 MB 🟢
stream-video-android-ui-compose 6.19 MB 6.19 MB 0.00 MB 🟢

@gpunto gpunto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The split looks right to me: Scope keeps the API call on the static-IP runner, the empty GITHUB_PR_NUM makes is_check_required return early on the build runner, the nightly still builds through the input default, and E2E result now fails when Scope does. One existing gap below, for a follow-up.

Comment thread fastlane/Fastfile Resolved
@aleksandar-apostolov
aleksandar-apostolov added this pull request to the merge queue Nov 27, 2026
Merged via the queue into develop with commit 1231c27 Nov 27, 2026
25 of 26 checks passed
@aleksandar-apostolov
aleksandar-apostolov deleted the ci/e2e-build-github-runners branch November 27, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:ci CI / GitHub Actions / workflow updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants