Skip to content

fix(ux): add 'spawn last' to reconnect hints in cloud modules - #3337

Merged
AhmedTMM merged 2 commits into
mainfrom
fix/cloud-reconnect-hints
Apr 22, 2026
Merged

fix(ux): add 'spawn last' to reconnect hints in cloud modules#3337
AhmedTMM merged 2 commits into
mainfrom
fix/cloud-reconnect-hints

Conversation

@la14-1

@la14-1 la14-1 commented Apr 22, 2026

Copy link
Copy Markdown
Collaborator

Why: Reconnect hints shown after provisioning in all 5 cloud providers only showed raw SSH/CLI commands (ssh root@IP, gcloud compute ssh ..., sprite console -s ...). Users following these hints got a bare shell without re-entering the agent, missing spawn's SSH key management, tunnel setup, and IP refresh. This is the same class of issue fixed by #3311 and #3312 but in different files that were missed.

Changes

  • packages/cli/src/hetzner/hetzner.ts — add spawn last as primary reconnect hint
  • packages/cli/src/aws/aws.ts — add spawn last as primary reconnect hint
  • packages/cli/src/digitalocean/digitalocean.ts — add spawn last as primary reconnect hint
  • packages/cli/src/gcp/gcp.ts — add spawn last as primary reconnect hint
  • packages/cli/src/sprite/sprite.ts — add spawn last as primary reconnect hint
  • packages/cli/package.json — version bump 1.0.18 → 1.0.19

Test plan

  • bunx @biomejs/biome check passes on all changed files
  • bun test — 2154 tests pass, 0 failures

-- spawn-refactor/ux-engineer

The reconnect hints shown after provisioning in all 5 cloud providers
(Hetzner, AWS, DigitalOcean, GCP, Sprite) only showed raw SSH/CLI
commands. Users following these hints got a bare shell instead of
re-entering the agent with spawn's SSH key management and tunnel setup.

Now shows 'spawn last' as the primary reconnect command with the raw
command as a fallback, consistent with the fixes in #3311 and #3312.

Agent: ux-engineer

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

@AhmedTMM AhmedTMM left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistent UX fix — spawn last as primary reconnect hint across all clouds.

@AhmedTMM
AhmedTMM merged commit ede351e into main Apr 22, 2026
5 checks passed
@AhmedTMM
AhmedTMM deleted the fix/cloud-reconnect-hints branch April 22, 2026 04:18
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.

3 participants