Skip to content

Conversation

@cto-new
Copy link
Contributor

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

Summary

Migrate all usage of the uuid package to Node's native crypto.randomUUID() across the monorepo. Remove the uuid dependency and adjust code/tests to rely on RFC4122 v4 UUIDs.

Details

  • Replace uuidv4() with randomUUID() or crypto.randomUUID() as appropriate
  • Update imports to use Node's crypto module for UUIDs
  • Remove uuid from package.json and update lockfile
  • Align tests and test helpers with the native API

Testing

  • Run pnpm lint, format, build, and relevant e2e tests
  • Validate no runtime UUID generation regressions

Checklist

  • Code follows repository patterns
  • E2E tests updated
  • No console.log statements
  • pnpm lint passes
  • pnpm format:check passes
  • pnpm build succeeds

Related

  • Closes #xxxx (if applicable)

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

Linear issue

…ss repo

BREAKING CHANGE: remove uuid package; migrate to Node's native crypto.randomUUID()

This migration updates all usage of the external uuid package to Node's built-in
crypto.randomUUID(), removing the dependency and aligning with RFC4122 v4 UUIDs.

- Replace uuidv4() calls with randomUUID() or crypto.randomUUID()
- Update imports to reflect native crypto usage
- Remove uuid from package.json and refresh lockfile via pnpm install
- Update tests and test utilities accordingly

Impact: no external API changes; internal refactor with a breaking dependency removal.
@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:54pm
comps-staging2 Error Error Nov 12, 2025 9:54pm

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