Skip to content

Fix workspace showing error state during initialization#8

Merged
gricha merged 1 commit intomainfrom
fix/workspace-creating-state
Jan 6, 2026
Merged

Fix workspace showing error state during initialization#8
gricha merged 1 commit intomainfrom
fix/workspace-creating-state

Conversation

@gricha
Copy link
Copy Markdown
Owner

@gricha gricha commented Jan 6, 2026

Summary

  • Fixed bug where workspaces showed "error" state while Docker image was being pulled on first start
  • syncWorkspaceStatus() now preserves 'creating' status instead of overwriting it with 'error'
  • start() method sets 'creating' status at the beginning so users see "Starting" state
  • UI components (web + mobile) show amber "Starting" indicator with pulsing animation when workspace is initializing

Test plan

  • Create a new workspace when Docker image is not cached locally
  • Verify UI shows "Starting" state (amber indicator) instead of "Error"
  • Verify workspace transitions to "Running" once container is ready
  • Verify stopping and restarting a workspace shows "Starting" state during startup

🤖 Generated with Claude Code

When a workspace is starting up (especially during first-time image pull),
the syncWorkspaceStatus function was incorrectly overwriting the 'creating'
status with 'error' because the container didn't exist yet.

Changes:
- syncWorkspaceStatus now preserves 'creating' status instead of overwriting
- start() method sets 'creating' status at the beginning for visibility
- UI components show "Starting" state with amber indicator when creating

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gricha gricha merged commit a4bf939 into main Jan 6, 2026
4 checks passed
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.

1 participant