Skip to content

fix(knowledge): bound the members-mode tombstone pass by what a run changed #32633

fix(knowledge): bound the members-mode tombstone pass by what a run changed

fix(knowledge): bound the members-mode tombstone pass by what a run changed #32633

Triggered via pull request September 22, 2026 23:28
Status Failure
Total duration 6m 12s
Artifacts

ci.yml

on: pull_request
Detect Version
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
32s
Test and Build / Lint and Test
Test and Build  /  Build App
3m 9s
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
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
Promote Trigger.dev
Publish Desktop Prerelease
0s
Publish Desktop Prerelease
Resolve Attestation Subjects
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

9 errors and 13 warnings
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / Lint and Test
@sim/db#lint:check: command (/home/runner/_work/sim/sim/packages/db) /home/runner/.bun/bin/bun run lint:check exited (1)
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / PostgreSQL integration (migrate)
Process completed with exit code 1.
lib/knowledge/connectors/sync-persistence.postgres.test.ts > persistDocumentAcls in PostgreSQL > writes each document once when one page mixes unchanged and changed ACLs: apps/sim/lib/knowledge/connectors/sync-persistence.postgres.test.ts#L161
AssertionError: expected [ null, null, null, null ] to deeply equal [ [ 'u:alice@corp.com', …(1) ], …(3) ] - Expected + Received [ - [ - "u:alice@corp.com", - "u:bob@corp.com", - ], + null, + null, null, - [ - "u:alice@corp.com", - "u:bob@corp.com", - ], null, ] ❯ lib/knowledge/connectors/sync-persistence.postgres.test.ts:161:7
lib/knowledge/connectors/sync-persistence.postgres.test.ts > persistDocumentAcls in PostgreSQL > propagates a changed ACL to every chunk projection row, filled or not: apps/sim/lib/knowledge/connectors/sync-persistence.postgres.test.ts#L122
AssertionError: expected [ …(4) ] to deeply equal [ …(4) ] - Expected + Received @@ -4,23 +4,19 @@ "u:bob@corp.com", ], "id": "kw-moved-filled", }, { - "acl": [ - "u:bob@corp.com", - ], + "acl": null, "id": "kw-moved-unfilled", }, { "acl": [ "u:bob@corp.com", ], "id": "vec-moved-filled", }, { - "acl": [ - "u:bob@corp.com", - ], + "acl": null, "id": "vec-moved-unfilled", }, ] ❯ lib/knowledge/connectors/sync-persistence.postgres.test.ts:122:77
Test and Build / PostgreSQL integration (push)
Process completed with exit code 1.
lib/knowledge/connectors/sync-persistence.postgres.test.ts > persistDocumentAcls in PostgreSQL > writes each document once when one page mixes unchanged and changed ACLs: apps/sim/lib/knowledge/connectors/sync-persistence.postgres.test.ts#L161
AssertionError: expected [ null, null, null, null ] to deeply equal [ [ 'u:alice@corp.com', …(1) ], …(3) ] - Expected + Received [ - [ - "u:alice@corp.com", - "u:bob@corp.com", - ], + null, + null, null, - [ - "u:alice@corp.com", - "u:bob@corp.com", - ], null, ] ❯ lib/knowledge/connectors/sync-persistence.postgres.test.ts:161:7
lib/knowledge/connectors/sync-persistence.postgres.test.ts > persistDocumentAcls in PostgreSQL > propagates a changed ACL to every chunk projection row, filled or not: apps/sim/lib/knowledge/connectors/sync-persistence.postgres.test.ts#L122
AssertionError: expected [ …(4) ] to deeply equal [ …(4) ] - Expected + Received @@ -4,23 +4,19 @@ "u:bob@corp.com", ], "id": "kw-moved-filled", }, { - "acl": [ - "u:bob@corp.com", - ], + "acl": null, "id": "kw-moved-unfilled", }, { "acl": [ "u:bob@corp.com", ], "id": "vec-moved-filled", }, { - "acl": [ - "u:bob@corp.com", - ], + "acl": null, "id": "vec-moved-unfilled", }, ] ❯ lib/knowledge/connectors/sync-persistence.postgres.test.ts:122:77
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 (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
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