Commit Graph
1270 Commits
Author SHA1 Message Date
Davide Depau fc7eb9bc85 fix(appium-tests): don't abort under set -e when GL is off 2026-08-15 22:26:43 +02:00
Davide Depau 4ff825e153 fix(appium-tests): use virtio-vga on x86_64
virtio-vga is virtio-gpu plus VGA compatibility and exists only on x86;
arm's virt machine has none, so it needs the plain PCI device. Using
virtio-gpu-pci on x86 left the display frozen from the moment the kernel
took over scanout from UEFI, so CI recordings stopped at the GRUB handoff
even though the guest booted and the tests ran.
2026-08-15 21:55:35 +02:00
Davide Depau 71f9e0621f fix(appium): unbound localhost host on macos 2026-08-15 21:51:39 +02:00
Davide Depau bdf16f60d9 fix(appium-tests): share the ephemeral disk reset with CI
Creating the throwaway overlays lived inside run-vm.sh, but that script is
only the local entry point: in CI qemu-kvm-action starts QEMU itself, so it
was handed disk paths that nothing had created. Moves the logic into
vm_reset_disks in vm-config.sh, which both entry points already source.

The reset has to run after the guest images are in place, and must not end
up in any cache: the overlays are throwaway, so restoring them would carry
stale guest state into the next run and quietly undo the ephemerality the
suite depends on.
2026-08-15 20:49:02 +02:00
Davide Depau 4b46223dc6 refactor(appium-tests): split the QEMU flags the action supplies itself
qemu-kvm-action always builds -cpu, -m, -smp and -enable-kvm from its own
inputs, so a flags list that also carries them produces a command line with
each specified twice, where which one wins depends on argument order.

Separates them into VM_ACCEL_FLAGS, which run-vm.sh passes and CI leaves to
the action's inputs, from VM_QEMU_FLAGS, which is the shared device list and
is safe for both. -machine stays in the shared list because the action has
no input for it.
2026-08-15 20:30:36 +02:00
Davide Depau d3d1174fff fix: use wait-until-ready for tradeinmode commands 2026-08-15 20:25:33 +02:00
Davide Depau 8386bd5e5a feat(appium-tests): pick the display per platform and open a viewer on macOS
The display backend defaulted to `none`, which meant a local run showed
nothing at all. The options genuinely differ per platform, so default them
rather than making everyone remember: Linux has `sdl`, which opens its own
window and takes gl=on; macOS QEMU from Homebrew has neither sdl nor gtk,
and `cocoa` needs OpenGL that build lacks -- under it SurfaceFlinger
SIGABRTs in a loop and nothing ever draws -- so macOS uses VNC and this
opens Screen Sharing against it automatically. GL follows the same
reasoning: on for local Linux, off under CI and on macOS.

Stopping the viewer needed the final QEMU invocation to stop being an
`exec`, which replaced the shell and left nothing able to clean up
afterwards. QEMU now runs as a child that is waited on, so the EXIT trap
fires on a normal exit and on Ctrl-C alike while still propagating QEMU's
status.

Screen Sharing is one shared app for every session and exposes no
scriptable window list, so closing just our window is not possible. It is
quit only when this run is what launched it, leaving sessions the user
already had open alone. VM_VIEWER=0 opts out entirely.
2026-08-15 19:54:28 +02:00
Davide Depau 27ebf7f2e8 test: remove runner probe 2026-08-14 21:52:32 +02:00
Davide Depau c50efc2c82 test: probe macos runners capabilities 2026-08-13 20:27:40 +02:00
Davide Depau 31ce4c0b46 test: probe macos runners capabilities 2026-08-13 20:21:59 +02:00
Davide Depau 89b9725873 test: remove macos probe 2026-08-13 00:55:32 +02:00
Davide Depau 541dbe7a92 test: probe macos runners capabilities 2026-08-13 00:51:50 +02:00
Davide Depau e430099ac8 test: probe macos runners capabilities 2026-08-13 00:21:38 +02:00
Davide Depau 26058fef84 test: probe macos runners capabilities 2026-08-13 00:16:44 +02:00
Davide Depau 1797883b77 feat(appium-tests): bypass Android 16 trade-in mode on startup
An ephemeral VM always boots unprovisioned, and Android 16 then runs adbd
in trade-in mode: the transport looks healthy and advertises shell_v2, but
every command except `tradeinmode` is refused with "error: closed".

wait-vm-startup.sh now waits for a usable transport rather than merely a
connected one, detects the condition, and escapes it with the single
command trade-in mode permits -- `tradeinmode evaluate` -- before marking
the device provisioned, which is what actually turns trade-in mode off.
All steps are idempotent, so it is a no-op on a provisioned guest.
2026-08-12 23:24:47 +02:00
Davide Depau c2ff510c00 feat(appium-tests): replace Bliss OS with LineageOS, multi-arch and ephemeral
Bliss OS is x86_64-only, so the e2e VM couldn't run on Apple Silicon at
all: there is no hardware virt for x86 guests, and QEMU disables MTTCG for
a strongly-ordered guest on a weakly-ordered host, so it would be
single-threaded TCG regardless of -smp.

Switch to LineageOS 23.2 packaged for upstream QEMU, which ships the same
image for arm64 and x86_64. vm-config.sh now derives the qemu binary,
machine, accel and cpu from VM_GUEST_ARCH (default: the host's, the only
case that gets hardware acceleration) and locates UEFI firmware across
Homebrew, Debian and Fedora layouts. The guest boots from disk over UEFI,
so kernel/initrd/cmdline are gone.

The VM is now ephemeral: run-vm.sh branches fresh qcow2 overlays off the
pristine bases on every start, so guest state never persists and tests
cannot leak into each other. Note efi_vars.fd is itself a sparse qcow2
whose virtual size matches the pflash unit, so it must be attached as
qcow2 rather than raw.
2026-08-12 23:24:47 +02:00
Davide Depau 1bf2e9975e test(appium): scale element waits in CI 2026-08-12 16:31:40 +02:00
Davide Depau 862fb9cfd6 ci: update qemu-kvm-action 2026-08-12 15:55:04 +02:00
Davide Depau 397eb5fdc7 chore(renovate): run on friday evenings 2026-08-12 15:45:34 +02:00
Davide Depau d13b7ab6c4 ci: drop host GL unless the host has a real GPU 2026-08-12 15:45:18 +02:00
Davide Depau 722572cb9f chore(renovate): don't auto-bump the e2e python version 2026-08-12 15:38:14 +02:00
Davide Depau c1dc3169dc refactor(appium-tests): extract shared VM config into vm-config.sh 2026-08-12 15:23:49 +02:00
Davide Depau e86007169c chore: automate dependency updates with renovate 2026-08-12 15:18:05 +02:00
Davide Depau c0817eb8ba fix(appium-tests): read QEMU_USB_SLOW_BUS for the slow USB bus 2026-08-12 15:18:05 +02:00
L.E.D. of Roommania dd8cdeefe9 Translated using Weblate (Romanian)
Currently translated at 99.2% (133 of 134 strings)

Translation: EtchDroid/EtchDroid
Translate-URL: https://hosted.weblate.org/projects/etchdroid/app/ro/
2026-08-12 15:07:51 +02:00
Ilona Bereznova 349ef39d2d Translated using Weblate (Ukrainian)
Currently translated at 22.3% (30 of 134 strings)

Translation: EtchDroid/EtchDroid
Translate-URL: https://hosted.weblate.org/projects/etchdroid/app/uk/
2026-07-30 20:28:09 +02:00
Andrei Makeev ebb440868c fix: preserve completed job state across rotation 2026-07-28 15:33:13 +02:00
lenlan d9c2c4056e Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (13 of 13 strings)

Translation: EtchDroid/Store listings
Translate-URL: https://hosted.weblate.org/projects/etchdroid/store-listings/zh_Hant/
2026-07-17 19:02:59 +02:00
Davide Depau b6f74ea43b Update feature request template with scope clarifications
Clarified the scope of features not supported by EtchDroid and added a cautionary note about opening issues for those features.
2026-07-14 16:06:48 +02:00
Oğuz Ersen e2eda57136 Translated using Weblate (Turkish)
Currently translated at 100.0% (13 of 13 strings)

Translation: EtchDroid/Store listings
Translate-URL: https://hosted.weblate.org/projects/etchdroid/store-listings/tr/
2026-07-03 10:42:18 +02:00
Liner Seven ec2b6b5b7e Translated using Weblate (Japanese)
Currently translated at 100.0% (13 of 13 strings)

Translation: EtchDroid/Store listings
Translate-URL: https://hosted.weblate.org/projects/etchdroid/store-listings/ja/
2026-07-03 10:42:18 +02:00
jonnysemon 1a99ef828b Translated using Weblate (Arabic)
Currently translated at 100.0% (13 of 13 strings)

Translation: EtchDroid/Store listings
Translate-URL: https://hosted.weblate.org/projects/etchdroid/store-listings/ar/
2026-07-03 10:42:18 +02:00
Davide Depau b263ffa28d fix: remove GRANT_READ_URI_PERMISSION intent flag
According to Gemini it's causing the rare java.lang.SecurityException
I see in the crash analytics and it's not necessary.
2026-07-01 20:38:22 +02:00
Davide Depau 105f739e3c fix: sync backfilled gplay metadata to git repo 2026-07-01 00:54:27 +02:00
Davide Depau ef04574054 feat: bump version to 2.1 and add changelog metadata 2026-07-01 00:00:03 +02:00
Davide Depau 02c431a0ed feat: use more concise python exception logs 2026-06-30 23:29:13 +02:00
Davide Depau 6cbf00872a feat: custom pytest report for e2e test failures with logcat 2026-06-30 23:20:20 +02:00
Davide Depau d042342cb1 feat: add logcat filtering and denoising 2026-06-30 23:04:32 +02:00
Davide Depau 37e54decca fix: move Firebase Crashlytics dependency to GPlay flavor 2026-06-30 22:44:07 +02:00
Davide Depau 2c8326f016 fix: ensure closeAsync joins I/O thread to prevent libusb crash 2026-06-30 22:17:06 +02:00
Davide Depau e203b46563 fix: remove accidental cancel string vandalism 2026-06-30 21:48:31 +02:00
Davide Depau d710b79af9 ci: use absolute path for vm dir 2026-06-30 21:46:13 +02:00
Davide Depau 0fada9a981 Translated using Weblate (Sardinian)
Currently translated at 100.0% (134 of 134 strings)

Translation: EtchDroid/EtchDroid
Translate-URL: https://hosted.weblate.org/projects/etchdroid/app/sc/
2026-06-30 20:02:18 +02:00
Davide Depau 0712634800 Added translation using Weblate (Sardinian) 2026-06-30 20:02:18 +02:00
Andries Helfferich 47a33a6c44 Translated using Weblate (Dutch)
Currently translated at 91.0% (122 of 134 strings)

Translation: EtchDroid/EtchDroid
Translate-URL: https://hosted.weblate.org/projects/etchdroid/app/nl/
2026-06-30 20:02:18 +02:00
Ben-bit-code208 8b5cef04b0 Translated using Weblate (Bengali (Bangladesh))
Currently translated at 100.0% (134 of 134 strings)

Translation: EtchDroid/EtchDroid
Translate-URL: https://hosted.weblate.org/projects/etchdroid/app/bn_BD/
2026-06-30 18:43:59 +02:00
Ben-bit-code208 070f6fe170 Translated using Weblate (Persian)
Currently translated at 91.7% (123 of 134 strings)

Translation: EtchDroid/EtchDroid
Translate-URL: https://hosted.weblate.org/projects/etchdroid/app/fa/
2026-06-30 18:43:59 +02:00
jonnysemon 5fc4f48187 Translated using Weblate (Arabic)
Currently translated at 100.0% (134 of 134 strings)

Translation: EtchDroid/EtchDroid
Translate-URL: https://hosted.weblate.org/projects/etchdroid/app/ar/
2026-06-30 18:43:59 +02:00
Liner Seven 4e90a51e5b Translated using Weblate (Japanese)
Currently translated at 100.0% (134 of 134 strings)

Translation: EtchDroid/EtchDroid
Translate-URL: https://hosted.weblate.org/projects/etchdroid/app/ja/
2026-06-30 18:43:59 +02:00
Weblate Translation Memory aaeb052e71 Translated using Weblate (Hebrew)
Currently translated at 100.0% (134 of 134 strings)

Translation: EtchDroid/EtchDroid
Translate-URL: https://hosted.weblate.org/projects/etchdroid/app/he/
2026-06-30 18:43:59 +02:00