feat(knowledge): permission-aware knowledge bases behind a feature flag #29869
ci.yml
on: pull_request
Detect Version
Migrate Dev DB
/
Apply Database Migrations
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
/
Build App
2m 34s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
0s
Desktop Release
/
Build, Sign, Notarize
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
|