Skip to content

Conversation

@vtempest
Copy link
Collaborator

No description provided.

- Modified CreateManager component to launch instance immediately on form submit
- Added loading spinner (Loader2) during instance creation
- Shows prominent blue alert with launch status message
- Only redirects to managers view after successful instance launch
- Stores SSH keys in localStorage automatically
- Handles launch failures gracefully with error state
- Changed button text from "Create Manager" to "Launch Instance" for clarity
Changes to manager-list.tsx:
- Added automatic status polling every 10 seconds to keep instance states current
- Implemented optimistic UI updates for start/stop/reboot/terminate actions
- Enhanced status badges to show loading state with animated spinner during operations
- Improved action feedback with immediate state changes and error reversion

Changes to instance-controls.tsx:
- Fixed API authentication to use header-based credentials (x-aws-* headers)
- Added automatic status refresh every 10 seconds when instance exists
- Implemented optimistic state updates for start/stop/reboot operations
- Added periodic polling during reboot (every 5s for 2 minutes)
- Enhanced error handling with automatic state reversion on failures
- Improved user feedback with more descriptive toast messages

Status display improvements:
- Shows "starting...", "stopping...", "rebooting...", "terminating..." during actions
- Displays real-time state changes from AWS (pending, stopping, running, stopped, etc.)
- Color-coded badges for different states (green=running, yellow=stopped, etc.)
- Animated spinner indicators during state transitions

All instance control buttons (Start, Stop, Restart, Terminate) now work reliably with proper status feedback.
@vercel
Copy link

vercel bot commented Jan 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
cccp-control-panel Ready Ready Preview, Comment Jan 12, 2026 11:06am
starter-docs Ready Ready Preview, Comment Jan 12, 2026 11:06am

@vtempest vtempest merged commit a803a14 into master Jan 12, 2026
3 checks passed
@vtempest vtempest deleted the claude/fix-instance-launch-7QkuT branch January 12, 2026 11:30
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