910 B
910 B
Failure Recovery
Use this file when runs are flaky, stalled, or inconsistent.
Common Failures and Fixes
- Text not found: re-run
screenshot, wait for stability, then re-check expected text. - Target not visible: use
pressnavigation keys (for examplePageDown, arrows), then re-snapshot. - Wait timeout: increase
--timeout, usewait --stable, then re-snapshot. - No active session:
sessionsto list; re-runrunif needed. - Daemon not running:
daemon start. - Version mismatch:
daemon restart. - Unresponsive session:
kill --yes, then re-run. - Layout missing/overflow:
resize --cols --rows, re-snapshot.
Retry Budget
- Allow 3-5 retries for transient UI changes.
- If still failing, stop and ask the user for guidance or updated expectations.
Escalation
- Last resort:
daemon stop --force --yesthendaemon start. - Warn that
daemon restartterminates all sessions.