spawn/shared
A c947328fdd
ux: Improve error messages and timeout feedback (#1084)
Enhanced user-facing error messages across critical failure points:

1. SSH timeout errors:
   - Added contextual progress messages (normal/slow/unusually slow)
   - Expanded troubleshooting steps with specific commands
   - Added support for SPAWN_DASHBOARD_URL and SPAWN_RETRY_CMD env vars
   - Changed from log_warn to log_error for consistency

2. OAuth timeout errors:
   - Clearer explanation of what failed
   - More actionable troubleshooting steps
   - Direct link to API key page
   - Changed from log_warn to log_error for consistency

3. Agent installation failures:
   - More specific common causes (network, disk, dependencies)
   - Concrete debugging commands (df -h, free -h)
   - Better explanation of transient failures

4. Instance provisioning timeouts:
   - Clearer explanation of cloud provider delays
   - Support for SPAWN_DASHBOARD_URL in error output
   - More specific next steps

All errors now follow a consistent pattern:
- Clear statement of what failed
- Common causes section
- Actionable troubleshooting steps with specific commands

Agent: ux-engineer

Co-authored-by: Spawn Refactor Service <refactor@spawn.service>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-14 03:47:36 -05:00
..
common.sh ux: Improve error messages and timeout feedback (#1084) 2026-02-14 03:47:36 -05:00
github-auth.sh refactor: decompose ensure_jq and ensure_gh_cli into focused helpers (#994) 2026-02-13 12:14:56 -08:00
key-request.sh fix: Handle comma-separated auth vars in key-request.sh (#1081) 2026-02-14 02:46:49 -05:00