Repository navigation
Build the E2E apks on GitHub-hosted runners - #1928
Merged
Merged
Conversation
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.
Contributor
PR checklist ✅All required conditions are satisfied:
🎉 Great job! This PR is ready for review. |
Contributor
SDK Size Comparison 📏
|
gpunto
reviewed
Nov 27, 2026
gpunto
left a comment
Contributor
There was a problem hiding this comment.
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.
gpunto
approved these changes
Nov 27, 2026
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.
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 newScopejob on the static-IP runner asks the GitHub API whether the pull request touches the E2E sources (fastlane e2e_scope).Buildtakes its decision, andE2E resultalso fails ifScopefails.e2e-build.yml:compose apksruns onubuntu-24.04and is skipped whenScopesays no. An emptyGITHUB_PR_NUMkeeps fastlane from calling the API. The nightly passes no input, so it always builds.remove-older-gradle-cachesstays on the static-IP runner, since it calls the API.Testing
actionlintpasses.Scope, the build onubuntu-24.04and the full suite.