fix(knowledge): share compact vector retrieval across access scopes #31934
Triggered via pull request
September 17, 2026 21:10
Status
Failure
Total duration
5m 58s
Artifacts
–
ci.yml
on: pull_request
Detect Version
Detect Desktop Changes
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
4m 6s
Test and Build
/
Build App
2m 55s
Check Docs Changes
0s
Migrate Dev DB
/
Apply Database Migrations
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Promote Trigger.dev
0s
Prune Desktop Prereleases
0s
Matrix: Attest Images
Desktop Release
/
Build, Sign, Notarize
Annotations
7 errors and 9 warnings
|
Test and Build / Test (shard 3)
Process completed with exit code 1.
|
|
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > executeKnowledgeSearch > propagates unexpected keyword errors after the vector leg finishes:
apps/sim/app/api/knowledge/search/utils.test.ts#L606
AssertionError: expected "vi.fn()" to be called with arguments: [ 'ranked_embeddings' ]
Number of calls: 0
❯ app/api/knowledge/search/utils.test.ts:606:33
|
|
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > executeKnowledgeSearch > runs both legs and fuses them in hybrid mode:
apps/sim/app/api/knowledge/search/utils.test.ts#L581
AssertionError: expected [] to deeply equal [ 'keyword-hit', 'vector-hit' ]
- Expected
+ Received
- [
- "keyword-hit",
- "vector-hit",
- ]
+ []
❯ app/api/knowledge/search/utils.test.ts:581:47
|
|
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > executeKnowledgeSearch > runs a single retrieval leg in vector mode:
apps/sim/app/api/knowledge/search/utils.test.ts#L557
AssertionError: expected [] to deeply equal [ 'vector-hit' ]
- Expected
+ Received
- [
- "vector-hit",
- ]
+ []
❯ app/api/knowledge/search/utils.test.ts:557:40
|
|
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > handleTagAndVectorSearch > returns only bounded ranked rows without first materializing every matching tag ID:
apps/sim/app/api/knowledge/search/utils.test.ts#L232
AssertionError: expected [] to deeply equal [ 'first', 'second' ]
- Expected
+ Received
- [
- "first",
- "second",
- ]
+ []
❯ app/api/knowledge/search/utils.test.ts:232:44
|
|
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
|