Skip to content

feat(workspace): add workspace provider for remote development environments#1292

Draft
arnestrickmann wants to merge 11 commits intomainfrom
emdash/workspace-provider
Draft

feat(workspace): add workspace provider for remote development environments#1292
arnestrickmann wants to merge 11 commits intomainfrom
emdash/workspace-provider

Conversation

@arnestrickmann
Copy link
Contributor

Summary

  • Add WorkspaceProviderService to provision and manage remote workspace instances (e.g., Codespaces, Devboxes) for tasks
  • Add workspace_instances database table and migration to persist workspace state
  • Wire workspace provisioning into the task lifecycle so workspaces are created/torn down with tasks
  • Add workspace provider UI: provisioning overlay, task modal settings, config editor support, and right sidebar controls
  • Add useWorkspaceConnection hook for managing workspace connection state in the renderer
  • Add IPC handlers and preload bindings for all workspace operations
  • Fix SSH config alias resolution in SshService and sshConfigParser

Key Changes

  • Backend: WorkspaceProviderService (~465 lines) handles workspace lifecycle — create, start, stop, delete, and status polling
  • Database: New workspace_instances table with schema and migration (0010_add_workspace_instances.sql)
  • IPC: New workspaceIpc.ts with handlers for CRUD operations, exposed via preload.ts
  • Frontend: WorkspaceProvisioningOverlay component, updates to TaskModal, TaskAdvancedSettings, ConfigEditorModal, RightSidebar, and ChatInterface
  • Task lifecycle: useTaskManagement and taskCreationService updated to integrate workspace provisioning
  • SSH fix: Correctly resolve SSH config Host aliases when looking up connection details

Test Plan

  • Added WorkspaceProviderService.test.ts with 479 lines of unit tests covering service operations
  • Existing tests should continue to pass (pnpm exec vitest run)

@vercel
Copy link

vercel bot commented Mar 5, 2026

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

Project Deployment Actions Updated (UTC)
docs Error Error Mar 6, 2026 0:08am

Request Review

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