Skip to content

Add release-grade real Android and Flutter APK proof #93

Closed

Description

@ElbertePlinio

Goal

Make the Android claim in #89 release-grade: a real Flutter APK runs through the Pickforge Android lab, produces reviewable visual evidence, and tears down without leaks.

Baseline finding

A real run on 2026-09-04 against origin/main 0cab6e0 exposed an intermittent startup failure:

Emulator for emulator-5556 exited before finishing boot; check the log at
/tmp/pickforge-lab-android-itest-*/home/sessions/andr-*/emulator.log

The integration test's afterAll immediately removed that temp root, including the log named by the error, so the failure could not be diagnosed from the test artifact. A second real launch through the built CLI booted the same picklab-avd, captured UI XML and screenshots, opened Settings, tapped into Network & internet, recorded video, and cleaned up successfully. This is evidence of an intermittent path, not a passing release gate.

Baseline evidence:

  • ~/Projects/Boards/pickforge/0.4-release/android-baseline-live-test.log
  • ~/Projects/Boards/pickforge/0.4-release/android-cli-baseline/

Acceptance criteria

  • Failed emulator starts preserve or upload the exact emulator log named by the error
  • Repeated cold and warm starts diagnose port collisions, snapshot locks/corruption, process exit, boot timeout, and adb state distinctly
  • A disposable Flutter APK is built, installed, launched, inspected through UIAutomator, interacted with, screenshotted, and represented in Pickforge evidence
  • Two isolated projects/sessions do not collide in console ports, AVD state, artifacts, or cleanup
  • Destroy leaves no emulator/qemu process, adb device, session record, or owned temporary AVD state
  • Raw screenshots, video, logs, versions, and a Markdown report are saved under ~/Projects/Boards/pickforge/0.4-release/
  • An independent vision-capable reviewer returns PASS for the real APK flow
  • The published beta/stable artifact, not only source-tree code, passes the flow

Release gate

Blocks beta.1 and stable in #89. It does not block alpha.2 unless the investigation proves a regression in shared lifecycle code.

Refs #89

Activity

  1. added
    bug
    on Sep 4, 2026
  2. ElbertePlinio commented on Sep 7, 2026

    @ElbertePlinio
    MemberAuthor

    Published 0.4.0-beta.1 Android proof: registry-installed [email protected] and the public Linux Rust binary drove a fresh Flutter 3.41.6 release APK on a headless API 37 x86_64 AVD clone: install with --wait-ready, launch, FAB taps 0 → 1 → 2, background, hot resume with 2 on the same PID, video, logcat, evidence record with verified redaction, clean teardown, and unchanged real Android/toolchain files. Independent visual review: PASS. Evidence: ~/Projects/Boards/pickforge/0.4-release/published-beta1/android/ (REPORT.md, VISUAL-REVIEW.md, ISOLATION.md, SHA256SUMS). Caveat retained in the report: the 2 GB guest was killed by lowmemorykiller twice; the passing run used a 3072 MiB clone, recorded in #89 as a soak finding. Closing on the published-beta requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions