Skip to content

fix(knowledge): read an unfilled keyword candidate's source from its document #32631

fix(knowledge): read an unfilled keyword candidate's source from its document

fix(knowledge): read an unfilled keyword candidate's source from its document #32631

Triggered via pull request September 22, 2026 23:07
Status Failure
Total duration 5m 2s
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
2m 48s
Test and Build / Lint and Test
Test and Build  /  Build App
3m 20s
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
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
0s
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

7 errors and 4 warnings
Test and Build / Lint and Test
Process completed with exit code 1.
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 / 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)
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