Skip to content

fix(android): give emulator console snapshot save, snapshot list and emu kill a deadline - #1159

Merged
V3RON merged 2 commits into
mainfrom
bug/1138
Oct 31, 2026
Merged

V3RON merged 2 commits into
mainfrom
bug/1138

Conversation

@V3RON

@V3RON V3RON commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1138

Status

Implement: done (1/1 green) Review: round 1 passed, 0 findings Hardware: n/a Gate: not run
Next: ready, then gate

Done when

  • emu avd snapshot save, emu avd snapshot list and emu kill in #shutdown carry a deadline, so a hung emulator console no longer holds the call and the device lock without limit — the it.each case per call in src/drivers/android/index.test.ts hangs that call on a fake clock and goes red when its timeoutMs is removed (audit and review probes)

Assumptions

  • Assumption: deadline values — 60 s for snapshot save (writes RAM and disk), 5 s (OWNERSHIP_PROBE_TIMEOUT_MS) for snapshot list and emu kill, as the approved triage fix says.

Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 0 blocking, 0 fixed, 2 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 54.4M.
Runs: 6. Cost USD: 1.0649. Agent seconds: 346.

Assessment: complete

Written by an agent.

@V3RON

V3RON commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 70c8d89

Runs: 6. Cost USD: 1.0649. Agent seconds: 346.
Tokens input 110, output 22373, cache read 1415953, cache write 198941.
- build implementer: claude-sonnet-5-5 58 s $0.1544
- audit implementer: claude-sonnet-5-5 39 s $0.1287
- review 1 reviewer: claude-sonnet-5-5 146 s $0.2235
- review 1 spec: claude-sonnet-5-5 12 s $0.0758
- review 1 code both: claude-opus-5-5 75 s $0.404
- review 1 claims: claude-sonnet-5-5 16 s $0.0785
Finding outcomes: {}. Classes: {}.
{"findings":[]}

Written by an agent.

@V3RON

V3RON commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Review notes

Not blocking, not verified. Each is one reviewer's claim.

  • code: src/drivers/android/index.test.ts:908 the it.each test advances the fake clock 600 s, so it never pins the 60 s and 5 s values: a SNAPSHOT_SAVE_TIMEOUT_MS of 590_000 stays green (probed). The title only claims the hung call is stopped.
  • code: dropping timeoutMs from each of the three calls turns its case red (three probes), so each case is wired to its call.

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 31, 2026 17:59
@V3RON
V3RON merged commit 0ba4794 into main Oct 31, 2026
78 checks passed
@V3RON
V3RON deleted the bug/1138 branch October 31, 2026 18:03
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.

Android emulator-console calls emu kill, snapshot save and snapshot list have no deadline

1 participant