Skip to content

chore: Setup Environment failing to install Java on Win ARM-64 - #5060

Merged
Flash0ver merged 4 commits into
mainfrom
setup-java-5059
Mar 24, 2026
Merged

Flash0ver merged 4 commits into
mainfrom
setup-java-5059

Conversation

@jamescrosswell

@jamescrosswell jamescrosswell commented Mar 24, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes: #5059

Solution

Windows arm64 is supported in Java temurin 21+ so we've bumped to using Java SDK 21 for our builds.

#skip-changelog

@github-actions

github-actions Bot commented Mar 24, 2026 •

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@codecov

codecov Bot commented Mar 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.01%. Comparing base (1de31a9) to head (89b7316).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5060   +/-   ##
=======================================
  Coverage   74.00%   74.01%           
=======================================
  Files         499      499           
  Lines       18048    18048           
  Branches     3512     3512           
=======================================
+ Hits        13357    13358    +1     
+ Misses       3837     3832    -5     
- Partials      854      858    +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jamescrosswell
jamescrosswell marked this pull request as ready for review March 24, 2026 08:33
@Flash0ver
Flash0ver merged commit 7ce8693 into main Mar 24, 2026
46 checks passed
@Flash0ver
Flash0ver deleted the setup-java-5059 branch March 24, 2026 11:14
ric-oliv added a commit that referenced this pull request Oct 27, 2026
Each Android emulator job ran the device tests, then Setup Environment,
then the integration tests, about 22 minutes after waiting 7.5 for the
device test app builds. The integration tests build their own app from
source and share only the emulator, so they now run in a second job
that starts with the workflow, on the same runners.

The new job drops "Select Java 21". #4559 added it as "Select Java
17", when Setup Environment ended on Java 11, and since #5060 Setup
Environment installs only Java 21.

The new job uploads integration-test/mobile-app/test_output, where
android.Tests.ps1 points xharness, without a warning when it's empty.
It was empty on every run so far.

On its first run, the Android workflow took 19.8 minutes instead of
30.1. The device test jobs took 3.6 to 3.8 minutes and the integration
jobs 12.0 to 19.7.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ric-oliv added a commit that referenced this pull request Oct 27, 2026
Each Android emulator job ran the device tests, then Setup Environment,
then the integration tests, about 22 minutes after waiting 7.5 for the
device test app builds. The integration tests build their own app from
source and share only the emulator, so they now run in a second job
that starts with the workflow, on the same runners.

The new job drops "Select Java 21". #4559 added it as "Select Java
17", when Setup Environment ended on Java 11, and since #5060 Setup
Environment installs only Java 21.

The new job uploads integration-test/mobile-app/test_output, where
android.Tests.ps1 points xharness, without a warning when it's empty.
It was empty on every run so far.

On its first run, the Android workflow took 19.8 minutes instead of
30.1. The device test jobs took 3.6 to 3.8 minutes and the integration
jobs 12.0 to 19.7.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ric-oliv added a commit that referenced this pull request Oct 27, 2026
* ci: run the iOS integration tests in their own job

The iOS job ran the device tests and then the integration tests on one
Mac, about 42 minutes in all. The two build and run different apps and
share only the simulator, so the integration tests now run in a second
job at the same time.

ios.Tests.ps1 skips every case unless a simulator is already booted,
and xharness only boots one in the ios-tests job, so the new job boots
its own, with a 10-minute timeout. The boot takes about 2 minutes.
The job uploads no results, because ios.Tests.ps1 writes nothing to
the integration-test/mobile-app/test_output folder the old job
uploaded.

On its first run, the iOS workflow took 18 minutes, against 38.7 for
the single job the same night, and all 8 integration cases passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: run the Android integration tests in their own job

Each Android emulator job ran the device tests, then Setup Environment,
then the integration tests, about 22 minutes after waiting 7.5 for the
device test app builds. The integration tests build their own app from
source and share only the emulator, so they now run in a second job
that starts with the workflow, on the same runners.

The new job drops "Select Java 21". #4559 added it as "Select Java
17", when Setup Environment ended on Java 11, and since #5060 Setup
Environment installs only Java 21.

The new job uploads integration-test/mobile-app/test_output, where
android.Tests.ps1 points xharness, without a warning when it's empty.
It was empty on every run so far.

On its first run, the Android workflow took 19.8 minutes instead of
30.1. The device test jobs took 3.6 to 3.8 minutes and the integration
jobs 12.0 to 19.7.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup Environment fails to install Java on Windows ARM64

2 participants