Repository navigation
fix(ci): retain Android emulator post-timeout evidence - #142835
Conversation
Punchcard-Session: calm-meadow-summit-7q
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 9, 2026, 12:50 AM ET / 04:50 UTC. ClawSweeper reviewWhat this changesThe PR retains bounded Android emulator observations after readiness times out, preserves the failed result, and adds regression coverage for probe deadlines and cleanup. Merge readiness✅ Ready for maintainer review Keep open: this provides useful diagnostic coverage absent from current main, and no blocking patch defect was found. The member-authored, maintainer-labeled PR is also protected from cleanup closure. Priority: P2 Review scores
Verification
How this fits togetherThe manual Android diagnostic workflow starts an emulator using trusted tooling and records startup evidence for release operators. Its timeout result and uploaded artifacts help diagnose failures without granting release or publishing authority. flowchart TD
A[Manual diagnostic request] --> B[Validate target and trusted tooling]
B --> C[Start owned emulator]
C --> D{Ready within deadline?}
D -->|Yes| E[Successful diagnostic]
D -->|No| F[Latch failure and observe up to 300 seconds]
F --> G[Clean up and retain failure]
E --> H[Upload diagnostic artifacts]
G --> H
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +221, Config +178. Total +399 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep late-startup observations bounded and clearly separate from the original readiness verdict, with cleanup and artifacts preserving the failed outcome. Do we have a high-confidence way to reproduce the issue? Not applicable as a new diagnostic capability: source confirms main stops observing at readiness failure, while the PR adds a subsequent observation phase. Is this the best way to solve the issue? Yes. Extending the existing diagnostic owner while preserving its failure verdict is a focused solution; the regression cases exercise the important timeout and cleanup boundaries. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6d8281b385d0. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…1-prep * commit 'b04a3f83adad8bd6a2ca8408e7940fc6bcbde212': (636 commits) docs(cli): split the doctor command reference by reader job (openclaw#142855) fix(ui): explain paused weekly skill reviews (openclaw#142840) docs(automations): describe supported schedule options (openclaw#135964) fix(image): close registration resources after generation (openclaw#142843) fix(slack): keep ack reactions independent of status reactions (openclaw#142595) fix(ui): avoid flashes when switching cold sessions (openclaw#134868) refactor(tests): share independent no-queued-reply expectations (openclaw#142845) perf: reduce generated media reference formatting overhead (openclaw#142836) fix: sessions_yield keeps long transcript history available (openclaw#137381) fix(music): close registration resources after generation (openclaw#142834) fix: update confirmation shows stale commit counts after refresh (openclaw#142837) fix(ci): retain Android emulator post-timeout evidence (openclaw#142835) fix(talk): retain final delivery across delegation waves (openclaw#142830) docs(gateway): run Linux system services as the state owner (openclaw#136266) fix(models): align static Anthropic aliases with manifest (openclaw#137376) test(gateway): simplify session lifecycle gates and report early rollback failures (openclaw#142833) refactor(ai): keep model policy parsing independent of transport host (openclaw#142804) refactor: simplify interactive SDK forwarding (openclaw#142824) fix(cli): finish pending cleanup before automatic macOS exit (openclaw#142814) docs(memory-lancedb): clarify enforced compatibility ranges (openclaw#142827) ...
Punchcard-Session: calm-meadow-summit-7q
What Problem This Solves
Resolves a diagnostic gap where the Android emulator workflow stopped at its 180-second readiness deadline without showing whether the same launched emulator became available shortly afterward.
Why This Change Was Made
The workflow now permanently latches the original timeout as failure, then observes only the owned emulator for at most 300 additional seconds. Every ADB probe shares that absolute deadline, validates the exact AVD identity, records fresh late-online and boot timestamps, and terminates only its own probe child. Latched cleanup skips potentially blocking ADB calls while still terminating the owned emulator and preserving the unconditional diagnostic artifact.
This does not increase the release readiness timeout, retry a failed run, alter release authority, change the frozen candidate, or claim that observed progress proves eventual boot success or CPU causality.
User Impact
Release operators get bounded post-timeout evidence that distinguishes a hard startup failure from an emulator that becomes ready shortly after the qualification deadline. The diagnostic remains failed in both cases, so release qualification cannot be weakened by late readiness.
Evidence
actionlint, embedded Bashbash -n, repository formatter, scoped oxlint,git diff --check, and privacy scan passed.Hosted execution remains required to capture real post-deadline emulator behavior. No Android release, Play upload, App Review, production promotion, or candidate mutation is part of this PR.
Punchcard-Session: calm-meadow-summit-7q