fix(db): recover failed credential group index on migration retry #30723
ci.yml
on: pull_request
Detect Version
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / oauth-postgres
Matrix: Test and Build / test-shard
Test and Build
/
Lint and Test
2m 37s
Test and Build
/
Build App
2m 53s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
0s
Matrix: Attest Images
Desktop Release
/
Build, Sign, Notarize
Annotations
4 errors and 6 warnings
|
Test and Build / Test (shard 2)
Process completed with exit code 1.
|
|
Test and Build / Test (shard 2)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
|
|
lib/knowledge/orchestration/connectors.test.ts > members-mode connectors > reuses a matching Search source without inserting, redispatching, or recording another creation:
apps/sim/lib/knowledge/orchestration/connectors.test.ts#L1398
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, 'user-1' ]
Received:
1st vi.fn() call:
[
- ObjectContaining {
- "connectorId": StringNotMatching /c-1/,
+ {
+ "connectorId": "2213797c-19d0-4e0d-8dc9-d1b3f004c117",
+ "credentialGroupId": "group-1",
+ "workspaceId": "ws-1",
},
"user-1",
]
Number of calls: 1
❯ lib/knowledge/orchestration/connectors.test.ts:1398:24
|
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
|