Skip to content

feat(knowledge): permission-aware knowledge bases behind a feature flag #29869

feat(knowledge): permission-aware knowledge bases behind a feature flag

feat(knowledge): permission-aware knowledge bases behind a feature flag #29869

Triggered via pull request September 2, 2026 04:57
Status Failure
Total duration 2m 46s
Artifacts

ci.yml

on: pull_request
Detect Version
Detect Version
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Detect Desktop Changes
Detect Desktop Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / test-shard
Test and Build  /  Lint and Test
2m 2s
Test and Build / Lint and Test
Test and Build  /  Build App
2m 34s
Test and Build / Build App
Check Docs Changes
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Deploy Trigger.dev (Dev)
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
Publish Desktop Prerelease
Publish Desktop Prerelease
Create GitHub Release
Create GitHub Release
Prune Desktop Prereleases
0s
Prune Desktop Prereleases
Desktop Release  /  Build, Sign, Notarize
Desktop Release / Build, Sign, Notarize
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 9 warnings
Test and Build / Test (shard 3)
Process completed with exit code 1.
lib/internal/file/operations.test.ts > file manage operations > returns incomplete provenance for an input that cannot bind to a canonical file row: apps/sim/lib/internal/file/operations.test.ts#L1143
AssertionError: expected 404 to be 200 // Object.is equality - Expected + Received - 200 + 404 ❯ lib/internal/file/operations.test.ts:1143:29
lib/internal/file/operations.test.ts > file manage operations > overwrites an existing file with the bytes of a stored file input: apps/sim/lib/internal/file/operations.test.ts#L769
AssertionError: expected 404 to be 200 // Object.is equality - Expected + Received - 200 + 404 ❯ lib/internal/file/operations.test.ts:769:29
lib/api/list-convention.test.ts > 'knowledge documents' list query > orders by the requested field and direction: apps/sim/lib/knowledge/access/predicate.ts#L16
TypeError: Cannot read properties of undefined (reading 'kind') ❯ knowledgeAccessCondition lib/knowledge/access/predicate.ts:16:13 ❯ Module.getDocuments lib/knowledge/documents/service.ts:2408:5 ❯ Object.run lib/api/list-convention.test.ts:182:7 ❯ lib/api/list-convention.test.ts:239:20
lib/api/list-convention.test.ts > 'knowledge documents' list query > adds no search condition when the caller did not search: apps/sim/lib/knowledge/access/predicate.ts#L16
TypeError: Cannot read properties of undefined (reading 'kind') ❯ knowledgeAccessCondition lib/knowledge/access/predicate.ts:16:13 ❯ Module.getDocuments lib/knowledge/documents/service.ts:2408:5 ❯ Object.run lib/api/list-convention.test.ts:182:7 ❯ lib/api/list-convention.test.ts:231:20
lib/api/list-convention.test.ts > 'knowledge documents' list query > escapes LIKE wildcards so a caller cannot widen its own match: apps/sim/lib/knowledge/access/predicate.ts#L16
TypeError: Cannot read properties of undefined (reading 'kind') ❯ knowledgeAccessCondition lib/knowledge/access/predicate.ts:16:13 ❯ Module.getDocuments lib/knowledge/documents/service.ts:2408:5 ❯ Object.run lib/api/list-convention.test.ts:182:7 ❯ lib/api/list-convention.test.ts:225:20
lib/api/list-convention.test.ts > 'knowledge documents' list query > narrows the query with a case-insensitive substring match on its name column: apps/sim/lib/knowledge/access/predicate.ts#L16
TypeError: Cannot read properties of undefined (reading 'kind') ❯ knowledgeAccessCondition lib/knowledge/access/predicate.ts:16:13 ❯ Module.getDocuments lib/knowledge/documents/service.ts:2408:5 ❯ Object.run lib/api/list-convention.test.ts:182:7 ❯ lib/api/list-convention.test.ts:219:20
Test and Build / Test (shard 3)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
- Step: unknown (failed)
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
- Step: unknown (failed)
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
- Step: unknown (failed)
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps