Skip to content

fix(db): retry migration lock timeouts within a time budget instead of eight attempts #32680

fix(db): retry migration lock timeouts within a time budget instead of eight attempts

fix(db): retry migration lock timeouts within a time budget instead of eight attempts #32680

Triggered via pull request September 23, 2026 05:24
Status Failure
Total duration 4m 30s
Artifacts –

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Detect Desktop Changes
0s
Detect Desktop Changes
Prepare Trigger.dev
0s
Prepare Trigger.dev
Matrix: Build AMD64
Matrix: Build Dev ECR
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / oauth-postgres
Matrix: Test and Build / test-shard
Test and Build  /  Lint and Test
1m 16s
Test and Build / Lint and Test
Test and Build  /  Build App
2m 55s
Test and Build / Build App
Check Docs Changes
0s
Check Docs Changes
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Check Desktop Signing Secrets
0s
Check Desktop Signing Secrets
Migrate DB  /  Apply Database Migrations
Migrate DB / Apply Database Migrations
Create Desktop Prerelease
0s
Create Desktop Prerelease
Promote Images
0s
Promote Images
Desktop Prerelease Build  /  Build, Sign, Notarize
Desktop Prerelease Build / Build, Sign, Notarize
Matrix: Create GHCR Manifests
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Promote Trigger.dev
0s
Promote Trigger.dev
Publish Desktop Prerelease
0s
Publish Desktop Prerelease
Resolve Attestation Subjects
0s
Resolve Attestation Subjects
Prune Desktop Prereleases
Prune Desktop Prereleases
Matrix: Attest Images
Create GitHub Release
Create GitHub Release
Desktop Release  /  Build, Sign, Notarize
Desktop Release / Build, Sign, Notarize
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 9 warnings
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / Lint and Test
@sim/db#test: command (/home/runner/_work/sim/sim/packages/db) /home/runner/.bun/bin/bun run test exited (1)
scripts/lock-timeout-retry.test.ts > retryOnLockTimeout > throws the last lock timeout once the next retry would end past the budget: packages/db/scripts/lock-timeout-retry.test.ts#L65
AssertionError: expected 124690.570602566 to be less than 120000 ❯ scripts/lock-timeout-retry.test.ts:65:25
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
Test and Build / Lint and Test
- Step: unknown (failed)
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
Test and Build / Lint and Test
- Step: unknown (failed)
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
Test and Build / Lint and Test
- Step: unknown (failed)
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps