Skip to content

fix(knowledge): bound every connector-lease ACL transaction to one short page #32696

fix(knowledge): bound every connector-lease ACL transaction to one short page

fix(knowledge): bound every connector-lease ACL transaction to one short page #32696

Triggered via pull request September 23, 2026 06:22
Status Failure
Total duration 4m 22s
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
3m 26s
Test and Build / Lint and Test
Test and Build  /  Build App
2m 58s
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
Publish Desktop Prerelease
Resolve Attestation Subjects
0s
Resolve Attestation Subjects
Prune Desktop Prereleases
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

21 errors and 6 warnings
Test and Build / Lint and Test
Process completed with exit code 1.
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > guards unresolved SQL writes against 'unverified' evidence: apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:885:26
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'unlisted cleanup': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'changed valid ACL then unknown': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'malformed ACL then unknown': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'explicit revocation then unknown': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'unknown in next generation': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'resumed duplicate reader': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'reader then owner': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'owner then reader': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > persists current evidence and keeps every clause when a rolling-deploy writer only updates the primary ACL: apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:753:18
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > guards unresolved SQL writes against 'unverified' evidence: apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:885:26
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'unlisted cleanup': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'changed valid ACL then unknown': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'malformed ACL then unknown': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'explicit revocation then unknown': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'unknown in next generation': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'resumed duplicate reader': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'reader then owner': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > preserves only verified current-generation ACLs: 'owner then reader': apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:847:13
lib/knowledge/access/predicate.postgres.test.ts > knowledge ACLs in PostgreSQL > persists current evidence and keeps every clause when a rolling-deploy writer only updates the primary ACL: apps/sim/lib/knowledge/connectors/sync-persistence.ts#L172
TypeError: transaction is not a function ❯ persistDocumentAcls lib/knowledge/connectors/sync-persistence.ts:172:26 ❯ lib/knowledge/access/predicate.postgres.test.ts:753:18
Test and Build / PostgreSQL integration (push)
Skipping sticky disk commit due to previous step failures
Test and Build / PostgreSQL integration (push)
- Step: unknown (failed)
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)
- Step: unknown (failed)
Test and Build / PostgreSQL integration (migrate)
Found 2 failed/cancelled steps in previous workflow steps