fix(credentials): clear stored refs on credential delete to prevent silent cascade orphaning (#4418)

* fix(credentials): clear stored refs on credential delete to prevent silent cascade orphaning

* fix(testing): sync auditMock with new CREDENTIAL_RECONNECTED action

* improvement(credentials): parallelize independent ref-clearing scans
This commit is contained in:
Waleed
2026-05-02 20:56:02 -07:00
committed by GitHub
parent a479e88718
commit 68f66ba3f3
10 changed files with 528 additions and 42 deletions
+2 -1
View File
@@ -40,8 +40,9 @@ export const auditMock = {
CHAT_DELETED: 'chat.deleted',
CREDENTIAL_CREATED: 'credential.created',
CREDENTIAL_UPDATED: 'credential.updated',
CREDENTIAL_DELETED: 'credential.deleted',
CREDENTIAL_RENAMED: 'credential.renamed',
CREDENTIAL_RECONNECTED: 'credential.reconnected',
CREDENTIAL_DELETED: 'credential.deleted',
CREDIT_PURCHASED: 'credit.purchased',
CREDENTIAL_SET_CREATED: 'credential_set.created',
CREDENTIAL_SET_UPDATED: 'credential_set.updated',