Skip to content

Wake Android devices before driving them; bug-garden regressions nightly - #100

Merged
addisdev merged 2 commits into
developfrom
fix/android-wake-unlock
Oct 18, 2026
Merged

addisdev merged 2 commits into
developfrom
fix/android-wake-unlock

Conversation

@addisdev

Copy link
Copy Markdown
Owner

Summary

  • Android devices are woken before a host workload drives them. ui-test and locale-shots send KEYCODE_WAKEUP and wm dismiss-keyguard, then read dumpsys window. If a lock screen is still up (a PIN, pattern or password), that device's row is skipped with the reason instead of running a flow against the lock screen. This is why nightly-fleet-ui-smoke on the S8+ has failed "Fleet Runner" is visible every night. The S8+ still has a PIN (WB-195, reopened).
  • nightly-bug-garden-regressions added to seed-schedules: bug garden's smoke flow plus every active bug-garden regression, on the shelf's Android phone at 02:45. It is already created and enabled on the lab brain. docs/lab.md and docs/workloads/host.md are updated.

Proof of the regression mechanism (done on the lab today)

Not verified

  • ensureAwake has not run on a device through the executor. Its parser is checked against the S8+'s real dumpsys window output, captured after the same wake and dismiss commands.
  • A swipe-only lock screen being dismissed: no device without a PIN was available.

Test plan

  • tsc --noEmit on ultra
  • new lock-screen checks (6/6), wired into scripts/smoke.ts
  • collector suite in CI

🤖 Generated with Claude Code

addisdev and others added 2 commits October 18, 2026 09:17
…ions nightly

A phone on the shelf sleeps between jobs and Maestro does not wake it, so
nightly-fleet-ui-smoke on the Galaxy S8+ ran against a dark lock screen and
failed `"Fleet Runner" is visible` every night, which read as the app being
broken. ui-test and locale-shots now wake an Android device and dismiss a lock
screen that has no PIN before they drive it (ensureAwake in
workloads/device.ts). A PIN, pattern or password cannot be got past from here:
that device's row is skipped with the reason instead of failing. The S8+
still has a PIN (WB-195).

seed-schedules gains nightly-bug-garden-regressions: bug garden's smoke flow
plus every bug-garden finding marked real and then fixed, on the shelf's
Android phone at 02:45. The lab has it on; proved once on ultra's emulator
(job bg-regression-proof-1: finding #18's planted crash recurred and
reopened the finding).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@addisdev
addisdev merged commit 832c59d into develop Oct 18, 2026
24 checks passed
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.

1 participant