Skip to content

Prompt to move legacy cloud projects into Personal Cloud#12581

Draft
franknoirot wants to merge 18 commits into
mainfrom
codex/cloud-project-library-migration
Draft

Prompt to move legacy cloud projects into Personal Cloud#12581
franknoirot wants to merge 18 commits into
mainfrom
codex/cloud-project-library-migration

Conversation

@franknoirot

@franknoirot franknoirot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • detects cloud-synced projects that still live in non-cloud directory libraries
  • shows a non-blocking Home migration prompt to move those projects into Personal Cloud
  • adds moveCloudSyncProjectToDirectory to move local storage and rewrite cloud sync metadata/outbox paths
  • blocks the move when Personal Cloud already contains a project with the same remote project id

Why

Internal users may already have cloud-synced projects stored inside normal directory libraries. Once Personal Cloud is displayed as its own library, those projects can appear in confusing duplicate locations. This PR keeps existing sync behavior working while offering an explicit, reviewable move into the canonical Personal Cloud local storage root.

This stays separate from #12574's default-library policy. #12574 handles the normal Personal Cloud library lifecycle, including the web behavior where the existing browser project storage is represented as Personal Cloud without a physical OPFS move. This PR only handles the explicit legacy duplicate-location case.

Stack

Validation

  • npm run test -- src/lib/cloudSync/legacyProjectMigration.test.ts src/lib/cloudSync/disconnect.spec.ts src/lib/cloudSync/registry/plugin.spec.tsx
  • npm run tsc -- --noEmit
  • npm run lint -- src/lib/cloudSync/disconnect.spec.ts src/lib/cloudSync/engine.ts src/lib/cloudSync/legacyProjectMigration.test.ts src/lib/cloudSync/legacyProjectMigration.ts src/lib/cloudSync/registry/contract.ts src/lib/cloudSync/registry/extension.ts src/lib/cloudSync/registry/plugin.spec.tsx src/registry/extensions/homeProjects/index.ts src/routes/Home.tsx
  • git diff --check codex/cloud-project-library...HEAD

@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
modeling-app Ready Ready Preview, Comment Jul 24, 2026 12:31am

Request Review

@franknoirot
franknoirot force-pushed the codex/cloud-project-library-migration branch from d98dae6 to cc12d9d Compare July 23, 2026 20:53
@franknoirot
franknoirot force-pushed the codex/cloud-project-library branch from cea7df4 to e29d88d Compare July 24, 2026 12:53
Base automatically changed from codex/cloud-project-library to main July 24, 2026 21:42
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