Skip to content

fix(file-search): store workspace file revisions at millisecond precision #31923

fix(file-search): store workspace file revisions at millisecond precision

fix(file-search): store workspace file revisions at millisecond precision #31923

Triggered via pull request September 17, 2026 20:41
Status Failure
Total duration 4m 39s
Artifacts –

ci.yml

on: pull_request
Detect Version
Detect Version
Detect Desktop Changes
Detect Desktop Changes
Prepare Trigger.dev
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 30s
Test and Build / Lint and Test
Test and Build  /  Build App
3m 24s
Test and Build / Build App
Check Docs Changes
Check Docs Changes
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Check Desktop Signing Secrets
Check Desktop Signing Secrets
Migrate DB  /  Apply Database Migrations
Migrate DB / Apply Database Migrations
Create Desktop Prerelease
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
Publish Desktop Prerelease
Resolve Attestation Subjects
0s
Resolve Attestation Subjects
Prune Desktop Prereleases
0s
Prune Desktop Prereleases
Matrix: Attest Images
Create GitHub Release
0s
Create GitHub Release
Desktop Release  /  Build, Sign, Notarize
Desktop Release / Build, Sign, Notarize
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 13 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)
script-migrations-paused-billing-attribution.test.ts > script migration registry > keeps script migrations in append-only order: packages/db/script-migrations-paused-billing-attribution.test.ts#L439
AssertionError: expected [ …(15) ] to deeply equal [ …(14) ] - Expected + Received @@ -11,6 +11,7 @@ "0012_reconcile_oauth_provider_lifecycle", "0013_backfill_legacy_knowledge_base_workspaces", "0014_require_knowledge_base_owner", "0016_backfill_search_vectors", "0017_index_search_documents", + "0018_repair_workspace_file_content_revision", ] ❯ script-migrations-paused-billing-attribution.test.ts:439:65
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / PostgreSQL integration (push)
Process completed with exit code 1.
script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts > workspace file content revision repair in PostgreSQL: packages/db/script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts#L110
TypeError: Cannot read properties of undefined (reading 'unsafe') ❯ script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts:110:19
script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts > workspace file content revision repair in PostgreSQL: packages/db/script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts#L38
Error: Repair tests require a disposable local sim_acl_test database ❯ script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts:38:13
script-migrations/0016_backfill_search_vectors.postgres.test.ts > search projection upgrade in PostgreSQL > runs 0016 directly after a partially committed, unjournaled 0015: packages/db/script-migrations/0016_backfill_search_vectors.postgres.test.ts#L388
AssertionError: expected [ …(4) ] to deeply equal [ …(3) ] - Expected + Received @@ -6,6 +6,9 @@ "name": "0016_backfill_search_vectors", }, { "name": "0017_index_search_documents", }, + { + "name": "0018_repair_workspace_file_content_revision", + }, ] ❯ script-migrations/0016_backfill_search_vectors.postgres.test.ts:388:7
Test and Build / PostgreSQL integration (migrate)
Process completed with exit code 1.
script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts > workspace file content revision repair in PostgreSQL: packages/db/script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts#L110
TypeError: Cannot read properties of undefined (reading 'unsafe') ❯ script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts:110:19
script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts > workspace file content revision repair in PostgreSQL: packages/db/script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts#L38
Error: Repair tests require a disposable local sim_acl_test database ❯ script-migrations/0018_repair_workspace_file_content_revision.postgres.test.ts:38:13
script-migrations/0016_backfill_search_vectors.postgres.test.ts > search projection upgrade in PostgreSQL > runs 0016 directly after a partially committed, unjournaled 0015: packages/db/script-migrations/0016_backfill_search_vectors.postgres.test.ts#L388
AssertionError: expected [ …(4) ] to deeply equal [ …(3) ] - Expected + Received @@ -6,6 +6,9 @@ "name": "0016_backfill_search_vectors", }, { "name": "0017_index_search_documents", }, + { + "name": "0018_repair_workspace_file_content_revision", + }, ] ❯ script-migrations/0016_backfill_search_vectors.postgres.test.ts:388:7
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
Test and Build / PostgreSQL integration (push)
Skipping sticky disk commit due to previous step failures
Test and Build / PostgreSQL integration (push)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / PostgreSQL integration (migrate)
Skipping sticky disk commit due to previous step failures
Test and Build / PostgreSQL integration (migrate)
Found 2 failed/cancelled steps in previous workflow steps