fix(policies): preserve entityId when re-generating a policy#2382
fix(policies): preserve entityId when re-generating a policy#2382
Conversation
Resolves ENG-90 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR SummaryMedium Risk Overview Applies the same ordering fix in both the API regeneration helper and the app onboarding/bulk regeneration helper so the new version can be created and then reliably re-linked as Written by Cursor Bugbot for commit b14e209. This will update automatically on new commits. Configure here. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary
currentVersionIdbecame null during policy regenerationcurrentVersionIdbefore the new version was writtencurrentVersionIdandpendingVersionIdbeforedeleteManywithin the transactionupdatePolicyInDatabaseTest plan
currentVersionIdcurrentVersionIdResolves ENG-90
🤖 Generated with Claude Code