Skip to content

Conversation

@cto-new
Copy link
Contributor

@cto-new cto-new bot commented Nov 12, 2025

Summary

Migrate all internal UUID generation from v4 to v7 across apps/api, apps/comps, and packages to enable time-ordered IDs with no schema changes.

Details

  • Replace imports from "uuid" v4 usage to v7 (import { v7 as uuidv7 } from "uuid").
  • Replace all uuidv4() calls with uuidv7() across the monorepo.
  • Ensure the uuid package remains in dependencies (no schema changes needed).
  • Update tests and E2E scripts/test utils to generate v7 IDs where previously v4 was used.
  • UUIDv7 is time-ordered and drop-in compatible for storage in existing DB fields.
  • This migration is designed to be non-breaking for databases and APIs; tests should pass with the new IDs.

Breaking Changes

  • None expected; only internal ID generation changed to a time-ordered format.

Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup

Linear issue

@vercel
Copy link
Contributor

vercel bot commented Nov 12, 2025

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

Project Deployment Preview Comments Updated (UTC)
comps Error Error Nov 12, 2025 9:25pm
comps-staging2 Error Error Nov 12, 2025 9:25pm

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.

2 participants