[No QA] Skip redundant Java setup in Rock Remote Build action#87434
Merged
[No QA] Skip redundant Java setup in Rock Remote Build action#87434
Conversation
The callstackincubator/android composite action has an internal setup-java step using distribution: adopt which resolves versions via api.adoptium.net. This API has been intermittently unreachable from Blacksmith runners, causing repeated Android deploy failures. Since we already install Oracle JDK 17 in the workflow before invoking the composite action, the internal setup-java is redundant. Pass setup-java: false to skip it entirely. Made-with: Cursor
Julesssss
previously approved these changes
Apr 9, 2026
Contributor
Julesssss
left a comment
There was a problem hiding this comment.
NAB: A comment explaining why this is okay for furture ref would be nice
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
Julesssss
approved these changes
Apr 9, 2026
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
63 tasks
Contributor
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 9.3.55-0 🚀
Bundle Size Analysis (Sentry): |
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.
Explanation of Change
The
callstackincubator/androidcomposite action has an internalactions/setup-javastep that usesdistribution: adopt. This step resolves Java versions viaapi.adoptium.net, which has been intermittently unreachable from Blacksmith runners — causing repeated Android deploy failures (run 24157099106, run 24163164769).Our workflow already installs Oracle JDK 17 in a prior step ("Setup Java", step 12) before the composite action runs. The composite action's internal Java installation is therefore redundant. This PR passes
setup-java: falseto skip it, eliminating the dependency onapi.adoptium.net.Fixed Issues
n/a - https://expensify.slack.com/archives/C07J32337/p1775689999912919
Tests [No QA]
Build Android appjob in the deploy workflow should pass)Offline tests
N/A - CI workflow change only
QA Steps
N/A - CI workflow change only
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
N/A - CI workflow change only
Android: mWeb Chrome
N/A - CI workflow change only
iOS: Native
N/A - CI workflow change only
iOS: mWeb Safari
N/A - CI workflow change only
MacOS: Chrome / Safari
N/A - CI workflow change only
Made with Cursor