Skip to content

fix(knowledge): share compact vector retrieval across access scopes #31934

fix(knowledge): share compact vector retrieval across access scopes

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 Version
Detect Desktop Changes
0s
Detect Desktop Changes
Prepare Trigger.dev
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 / Lint and Test
Test and Build  /  Build App
2m 55s
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
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
Promote Trigger.dev
0s
Promote Trigger.dev
Publish Desktop Prerelease
0s
Publish Desktop Prerelease
Resolve Attestation Subjects
Resolve Attestation Subjects
Prune Desktop Prereleases
0s
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

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