Skip to content

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

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

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

Triggered via pull request May 3, 2026 03:25
Status Failure
Total duration 1m 9s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Test and Build  /  Test and Build
59s
Test and Build / Test and Build
Check Docs Changes
Check Docs Changes
Matrix: Build Dev ECR
Matrix: Build ARM64 (GHCR Only)
Matrix: Build AMD64
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Matrix: Create GHCR Manifests
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Create GitHub Release
0s
Create GitHub Release
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 9 warnings
Test and Build / Test and Build
Process completed with exit code 1.
Test and Build / Test and Build
@sim/audit#test: command (/home/runner/_work/sim/sim/packages/audit) /home/runner/.bun/bin/bun run test exited (1)
src/log.test.ts > auditMock sync > has the same AuditAction values as the source: packages/audit/src/log.test.ts#L376
AssertionError: expected undefined to be 'credential.reconnected' // Object.is equality - Expected: "credential.reconnected" + Received: undefined ❯ src/log.test.ts:376:32
src/log.test.ts > auditMock sync > has the same AuditAction keys as the source: packages/audit/src/log.test.ts#L370
AssertionError: expected [ 'API_KEY_CREATED', …(117) ] to deeply equal [ 'API_KEY_CREATED', …(118) ] - Expected + Received @@ -14,11 +14,10 @@ "CONNECTOR_DOCUMENT_RESTORED", "CONNECTOR_SYNCED", "CONNECTOR_UPDATED", "CREDENTIAL_CREATED", "CREDENTIAL_DELETED", - "CREDENTIAL_RECONNECTED", "CREDENTIAL_RENAMED", "CREDENTIAL_SET_CREATED", "CREDENTIAL_SET_DELETED", "CREDENTIAL_SET_INVITATION_ACCEPTED", "CREDENTIAL_SET_INVITATION_CREATED", ❯ src/log.test.ts:370:22
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps