Skip to content

Complete issue #39 boot diagnostics, telemetry, and boot command#46

Merged
thymikee merged 4 commits intomainfrom
codex/issue-39-boot-diagnostics
Feb 12, 2026
Merged

Complete issue #39 boot diagnostics, telemetry, and boot command#46
thymikee merged 4 commits intomainfrom
codex/issue-39-boot-diagnostics

Conversation

@thymikee
Copy link
Copy Markdown
Contributor

Summary

Complete the remaining scope for issue #39 and apply follow-up code review fixes.

Implemented

  • Added phase-aware failure reasons and actionable hints for boot/connect paths:
    • IOS_BOOT_TIMEOUT
    • IOS_RUNNER_CONNECT_TIMEOUT
    • ANDROID_BOOT_TIMEOUT
    • ADB_TRANSPORT_UNAVAILABLE
    • CI_RESOURCE_STARVATION_SUSPECTED
  • Added retry telemetry support in shared retry utility (attempt, phase, delay, elapsed, remaining, reason) and wired it into iOS/Android boot flows.
  • Added explicit boot command support:
    • agent-device boot --platform ios|android
    • CLI output + usage + capability matrix updates.
  • Improved diagnostics consistency for iOS runner fallback failures.
  • Tightened classifier behavior to avoid over-classifying connect-phase errors.
  • Reduced redundant iOS boot state polling in retry loop.
  • Added boot handler unit tests (missing selector, unsupported device kind, supported success).
  • Ignored test/artifacts/ in .gitignore to prevent accidental commits.

Review follow-up fixes

  • Enforced capability gating in boot handler before readiness checks.
  • Coerced terminal Android "still booting" exhaustion to timeout reason path for clearer CI triage.
  • Added/extended tests for classifier/connect behavior.

Verification

  • pnpm typecheck
  • pnpm test:unit
  • pnpm test:smoke

All pass locally in this branch.

Closes #39

@thymikee thymikee force-pushed the codex/issue-39-boot-diagnostics branch from ba0f14e to 4807acd Compare February 12, 2026 13:34
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 12, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-02-12 14:00 UTC

@thymikee thymikee merged commit 3ddd3a1 into main Feb 12, 2026
5 of 6 checks passed
@thymikee thymikee deleted the codex/issue-39-boot-diagnostics branch February 12, 2026 14:12
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.

Design reusable timeout/retry system + boot diagnostics for iOS/Android CI flakiness

1 participant