Skip to content

Revert "Add remote cloud workspace"#975

Merged
Kitenite merged 1 commit intomainfrom
revert-921-cloud-ws-plan-decomposition
Jan 26, 2026
Merged

Revert "Add remote cloud workspace"#975
Kitenite merged 1 commit intomainfrom
revert-921-cloud-ws-plan-decomposition

Conversation

@Kitenite
Copy link
Copy Markdown
Collaborator

@Kitenite Kitenite commented Jan 26, 2026

Reverts #921

Summary by CodeRabbit

Release Notes

  • Removals
    • Removed cloud workspace integration features, including the ability to link/unlink workspaces with the cloud
    • Removed cloud workspace creation and management pages
    • Removed cloud workspace navigation from the application sidebar
    • Simplified workspace handling to focus on local workspace operations

✏️ Tip: You can customize this high-level summary in your review settings.

@Kitenite Kitenite merged commit 548b374 into main Jan 26, 2026
5 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 26, 2026

🚀 Preview Deployment

🔗 Preview Links

Service Status Link
Neon Database (Neon) View Branch
Fly.io Electric (Fly.io) View App
Vercel API (Vercel) Open Preview
Vercel Web (Vercel) Open Preview
Vercel Marketing (Vercel) Open Preview
Vercel Admin (Vercel) Open Preview
Vercel Docs (Vercel) Open Preview

Preview updates automatically with new commits

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 26, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This PR completely removes the cloud workspace feature from the application, including TRPC procedures, database schema, UI components, navigation items, and related utilities across desktop and web applications.

Changes

Cohort / File(s) Change Summary
Desktop TRPC & Utilities
apps/desktop/src/lib/trpc/routers/workspaces/procedures/status.ts, apps/desktop/src/lib/trpc/routers/workspaces/utils/git.ts
Removed linkToCloud, unlinkFromCloud, and getRepoInfo procedures; deleted git remote URL parsing functions (getOriginRemoteUrl, parseGitRemoteUrl).
Desktop TopBar Components
apps/desktop/src/renderer/screens/main/components/TopBar/CloudWorkspaceButton.tsx, apps/desktop/src/renderer/screens/main/components/TopBar/index.tsx
Deleted CloudWorkspaceButton component entirely; removed cloud workspace button and feature flag from TopBar.
Desktop Workspace UI
apps/desktop/src/renderer/components/NewWorkspaceModal/NewWorkspaceModal.tsx, apps/desktop/src/renderer/screens/main/components/WorkspaceSidebar/ProjectSection/ProjectSection.tsx, apps/desktop/src/renderer/screens/main/components/WorkspaceSidebar/WorkspaceListItem/WorkspaceListItem.tsx
Removed cloud feature flag gating; eliminated cloudWorkspaceId prop; refactored WorkspaceListItem to remove cloud status rendering and add hover-driven data loading for git status.
Desktop Constants
apps/desktop/src/shared/constants.ts
Removed ENABLE_CLOUD_WORKSPACES feature flag export.
Web Cloud Workspace Pages
apps/web/src/app/(dashboard)/cloud/*
Deleted entire cloud workspace feature: WorkspaceList component, NewCloudWorkspacePage, CloudPage, and workspace detail page at [id]/page.tsx.
Web Navigation
apps/web/src/app/(dashboard)/components/SidebarNav/SidebarNav.tsx
Removed "Cloud" navigation item; updated active link styling.
TRPC Cloud Workspace Router
packages/trpc/src/root.ts, packages/trpc/src/router/cloudWorkspace/*
Removed cloudWorkspaceRouter from root appRouter; deleted entire cloudWorkspaceRouter with procedures (all, byOrganization, byId, findMatching, create, delete).
Remote Database Schema
packages/db/drizzle/0013_add_cloud_workspaces.sql, packages/db/src/schema/relations.ts, packages/db/src/schema/schema.ts
Removed cloud_workspaces table migration and schema; deleted cloudWorkspaces relationships; removed InsertCloudWorkspace and SelectCloudWorkspace types; added new subscriptions table.
Local Database Schema
packages/local-db/drizzle/0013_add_cloud_workspace_id.sql, packages/local-db/src/schema/schema.ts
Removed cloud_workspace_id column and associated index from workspaces table.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐰 Cloud workspaces bid farewell today,
Gone are the procedures that linked work away,
Tables and routers now cleared from the code,
Local workspaces lighten the load. ☁️✨

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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