Skip to content

fix(search): bound retrieval and progressively read document evidence #31312

fix(search): bound retrieval and progressively read document evidence

fix(search): bound retrieval and progressively read document evidence #31312

Triggered via pull request September 11, 2026 22:48
Status Failure
Total duration 2m 57s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Detect Desktop Changes
0s
Detect Desktop Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / oauth-postgres
Matrix: Test and Build / test-shard
Test and Build  /  Lint and Test
1m 5s
Test and Build / Lint and Test
Test and Build  /  Build App
2m 21s
Test and Build / Build App
Check Docs Changes
0s
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
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
Resolve Attestation Subjects
0s
Resolve Attestation Subjects
Prune Desktop Prereleases
Prune Desktop Prereleases
Matrix: Attest Images
Create GitHub Release
Create GitHub Release
Desktop Release  /  Build, Sign, Notarize
Desktop Release / Build, Sign, Notarize
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 18 warnings
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / Lint and Test
@sim/app#type-check: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run type-check exited (1)
Test and Build / Lint and Test
Property 'nextOffset' does not exist on type '{ documentId: string; knowledgeBaseId: string; documentName: string | null; sourceUrl: string | null; chunks: { content: string; chunkIndex: number; startOffset: number; endOffset: number; totalCharacters: number; }[]; hasMore: boolean; next: { ...; } | null; }'.
Test and Build / Lint and Test
Property 'nextOffset' does not exist on type '{ documentId: string; knowledgeBaseId: string; documentName: string | null; sourceUrl: string | null; chunks: { content: string; chunkIndex: number; startOffset: number; endOffset: number; totalCharacters: number; }[]; hasMore: boolean; next: { ...; } | null; }'.
Test and Build / Lint and Test
Object literal may only specify known properties, and 'offset' does not exist in type 'ReadSearchDocumentInput'.
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / Test (shard 2)
Process completed with exit code 1.
lib/knowledge/application/workspace-search.activity.test.ts > 'scoped Search' activity before an index exists > records an authorized empty invocation for the acting member: apps/sim/lib/knowledge/application/workspace-search.activity.test.ts#L64
AssertionError: expected { results: [], query: 'policy', …(2) } to deeply equal { results: [], query: 'policy', …(1) } - Expected + Received { "knowledgeBases": [], "query": "policy", "results": [], + "retrieval": { + "status": "complete", + "timedOutLegs": [], + }, } ❯ lib/knowledge/application/workspace-search.activity.test.ts:64:59
lib/knowledge/application/workspace-search.activity.test.ts > 'organization Assistant' activity before an index exists > records an authorized empty invocation for the acting member: apps/sim/lib/knowledge/application/workspace-search.activity.test.ts#L64
AssertionError: expected { results: [], query: 'policy', …(2) } to deeply equal { results: [], query: 'policy', …(1) } - Expected + Received { "knowledgeBases": [], "query": "policy", "results": [], + "retrieval": { + "status": "complete", + "timedOutLegs": [], + }, } ❯ lib/knowledge/application/workspace-search.activity.test.ts:64:59
Test and Build / Test (shard 2)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
Test and Build / Build App
Process completed with exit code 1.
Test and Build / Build App
Property 'nextOffset' does not exist on type '{ documentId: string; knowledgeBaseId: string; documentName: string | null; sourceUrl: string | null; chunks: { content: string; chunkIndex: number; startOffset: number; endOffset: number; totalCharacters: number; }[]; hasMore: boolean; next: { ...; } | null; }'.
Test and Build / Build App
Property 'nextOffset' does not exist on type '{ documentId: string; knowledgeBaseId: string; documentName: string | null; sourceUrl: string | null; chunks: { content: string; chunkIndex: number; startOffset: number; endOffset: number; totalCharacters: number; }[]; hasMore: boolean; next: { ...; } | null; }'.
Test and Build / Build App
Object literal may only specify known properties, and 'offset' does not exist in type 'ReadSearchDocumentInput'.
Test and Build / Build App
@sim/app#build: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run build exited (1)
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Build App
Skipping sticky disk commit due to previous step failures
Test and Build / Build App
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Build App
Skipping sticky disk commit due to previous step failures
Test and Build / Build App
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Build App
Skipping sticky disk commit due to previous step failures
Test and Build / Build App
Found 2 failed/cancelled steps in previous workflow steps