ci(device_info_plus): migrate android workflows to ubuntu-24.04 and kvm#3847
Open
mdmahendri wants to merge 1 commit into
Open
ci(device_info_plus): migrate android workflows to ubuntu-24.04 and kvm#3847mdmahendri wants to merge 1 commit into
mdmahendri wants to merge 1 commit into
Conversation
Author
|
|
This was referenced May 28, 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.
Description
This PR migrates the Android workflows for
device_info_plusfrommacos-15-inteltoubuntu-24.04environment.The Problem
Currently, the repo utilize macOS runner which make android build and android integration tests running on API level 36 consistently time out and fail across the repository's packages. This PR serves as one part of a plan to migrate all nine packages to
ubuntu-24.04to resolve this issue.Consideration
Benchmark & Validation Data on
android_example_buildThe table below presents the total runtime of the workflow job for build. Control baseline were retrieved from the repo historical runtime logs, compared against two validation runs on the Linux environment on my other branch:
macos-15-intel)ubuntu-24.04)ubuntu-24.04)android_alarm_manager_plusandroid_intent_plusbattery_plusconnectivity_plusdevice_info_plusnetwork_info_pluspackage_info_plussensors_plusshare_plusBenchmark on integration test targeting API Level 36
Because the current macOS CI baseline consistently times out (30m+) or fails to boot the API 36 image entirely, no repo historical runtime logs are retrieved. On
ubuntu-24.04with KVM enabled, API 36 consistently runs to completion. This represents a ~70% reduction in integration test times where it previously fail.android_alarm_manager_plusandroid_intent_plusbattery_plusconnectivity_plusdevice_info_plusnetwork_info_pluspackage_info_plussensors_plusshare_plusRelated Issues
No tracking issue is open, but ongoing pull requests show persistent fails and timeouts during the AVD stage. This creates confusion for contributors diagnosing whether a test failure stems from their code changes or the infrastructure itself. Fixing this workflow provide better tool for all future contributions.
Checklist
CHANGELOG.mdnor the plugin version inpubspec.yamlfiles.flutter analyze) does not report any problems on my PR. (CI/Workflow infrastructure update only).Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?