feat(knowledge): permission-aware knowledge bases behind a feature flag #29868
ci.yml
on: pull_request
Detect Version
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / test-shard
Test and Build
/
Lint and Test
2m 18s
Test and Build
/
Build App
2m 33s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
0s
Desktop Release
/
Build, Sign, Notarize
Annotations
11 errors and 9 warnings
|
app/workspace/[workspaceId]/search/search.test.tsx > Search > disables a connector whose OAuth path is unavailable, even when the block is usable:
apps/sim/hooks/queries/kb/connectors.ts#L380
Error: No QueryClient set, use QueryClientProvider to set one
❯ useQueryClient ../../node_modules/@tanstack/react-query/src/QueryClientProvider.tsx:18:10
❯ useBaseQuery ../../node_modules/@tanstack/react-query/src/useBaseQuery.ts:54:17
❯ useQuery ../../node_modules/@tanstack/react-query/src/useQuery.ts:51:9
❯ useWorkspaceMemberConnectors hooks/queries/kb/connectors.ts:380:10
❯ MemberConnectorsSection app/workspace/[workspaceId]/search/components/member-connectors-section/member-connectors-section.tsx:57:37
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
|
|
app/workspace/[workspaceId]/search/search.test.tsx > Search > opens the connect modal for a connector instead of navigating:
apps/sim/hooks/queries/kb/connectors.ts#L380
Error: No QueryClient set, use QueryClientProvider to set one
❯ useQueryClient ../../node_modules/@tanstack/react-query/src/QueryClientProvider.tsx:18:10
❯ useBaseQuery ../../node_modules/@tanstack/react-query/src/useBaseQuery.ts:54:17
❯ useQuery ../../node_modules/@tanstack/react-query/src/useQuery.ts:51:9
❯ useWorkspaceMemberConnectors hooks/queries/kb/connectors.ts:380:10
❯ MemberConnectorsSection app/workspace/[workspaceId]/search/components/member-connectors-section/member-connectors-section.tsx:57:37
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
|
|
app/workspace/[workspaceId]/search/search.test.tsx > Search > lists the viewer’s own search-connector credentials under Connected:
apps/sim/hooks/queries/kb/connectors.ts#L380
Error: No QueryClient set, use QueryClientProvider to set one
❯ useQueryClient ../../node_modules/@tanstack/react-query/src/QueryClientProvider.tsx:18:10
❯ useBaseQuery ../../node_modules/@tanstack/react-query/src/useBaseQuery.ts:54:17
❯ useQuery ../../node_modules/@tanstack/react-query/src/useQuery.ts:51:9
❯ useWorkspaceMemberConnectors hooks/queries/kb/connectors.ts:380:10
❯ MemberConnectorsSection app/workspace/[workspaceId]/search/components/member-connectors-section/member-connectors-section.tsx:57:37
❯ Object.react_stack_bottom_frame ../../node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent ../../node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork ../../node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
❯ runWithFiberInDEV ../../node_modules/react-dom/cjs/react-dom-client.development.js:874:13
|
|
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#L17
TypeError: Cannot read properties of undefined (reading 'kind')
❯ knowledgeAccessCondition lib/knowledge/access/predicate.ts:17:13
❯ Module.getDocuments lib/knowledge/documents/service.ts:2409: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#L17
TypeError: Cannot read properties of undefined (reading 'kind')
❯ knowledgeAccessCondition lib/knowledge/access/predicate.ts:17:13
❯ Module.getDocuments lib/knowledge/documents/service.ts:2409: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#L17
TypeError: Cannot read properties of undefined (reading 'kind')
❯ knowledgeAccessCondition lib/knowledge/access/predicate.ts:17:13
❯ Module.getDocuments lib/knowledge/documents/service.ts:2409: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#L17
TypeError: Cannot read properties of undefined (reading 'kind')
❯ knowledgeAccessCondition lib/knowledge/access/predicate.ts:17:13
❯ Module.getDocuments lib/knowledge/documents/service.ts:2409: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
|