Skip to content

Repair blank project IDs in stored Resume Studio docs#614

Merged
DaKheera47 merged 2 commits into
mainfrom
fix-crypto-randomuuid-crash
Jun 11, 2026
Merged

Repair blank project IDs in stored Resume Studio docs#614
DaKheera47 merged 2 commits into
mainfrom
fix-crypto-randomuuid-crash

Conversation

@DaKheera47

Copy link
Copy Markdown
Owner

Summary

  • Repair existing stored Resume Studio project items with blank or whitespace-only IDs when the document is hydrated.
  • Persist the repaired document with a revision bump so old data is normalized on read, not just on import.
  • Keep the client-side CUID2 swap from the earlier fix so new item creation no longer depends on crypto.randomUUID().

Testing

  • Added unit coverage for hydrating a stored document that contains blank project IDs, preserving existing IDs while generating replacements for missing ones.
  • Ran focused server and client tests, plus the full orchestrator test suite, with all checks passing.

@DaKheera47

Copy link
Copy Markdown
Owner Author

Moving way from crypto entirely. we already have cuid2 for ids, just using that consistently

@DaKheera47 DaKheera47 merged commit 1d8d858 into main Jun 11, 2026
10 checks passed
@DaKheera47 DaKheera47 deleted the fix-crypto-randomuuid-crash branch June 11, 2026 14:04
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.

Client crash: crypto.randomUUID is not a function After importing a Resume during onboarding, no projects are ever chosen

1 participant