Skip to content

prompt_store: Fix deleted rules from the rules library being restored after restart#47323

Merged
smitbarmase merged 1 commit intomainfrom
fix-delete-rules-from-rules-library
Jan 21, 2026
Merged

prompt_store: Fix deleted rules from the rules library being restored after restart#47323
smitbarmase merged 1 commit intomainfrom
fix-delete-rules-from-rules-library

Conversation

@smitbarmase
Copy link
Member

Closes #40648

When deleting a prompt from the rules library, we now also delete it from the legacy V1 database tables (if they exist). Previously, the V1 data would persist and get re-migrated on the next startup.

Release Notes:

  • Fixed an issue where deleted rules from the rules library were getting restored after a restart.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 21, 2026
@smitbarmase smitbarmase merged commit e24c819 into main Jan 21, 2026
29 checks passed
@smitbarmase smitbarmase deleted the fix-delete-rules-from-rules-library branch January 21, 2026 21:14
zcg pushed a commit to zcg/zedpro that referenced this pull request Jan 29, 2026
… after restart (zed-industries#47323)

Closes zed-industries#40648

When deleting a prompt from the rules library, we now also delete it
from the legacy V1 database tables (if they exist). Previously, the V1
data would persist and get re-migrated on the next startup.

Release Notes:

- Fixed an issue where deleted rules from the rules library were getting
restored after a restart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot delete rules from rules library

1 participant