Skip to content

feat(knowledge): add Live sync option to KB connectors + fix embedding billing #13397

feat(knowledge): add Live sync option to KB connectors + fix embedding billing

feat(knowledge): add Live sync option to KB connectors + fix embedding billing #13397

Triggered via pull request April 3, 2026 20:13
Status Failure
Total duration 1m 47s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Test and Build  /  Test and Build
1m 36s
Test and Build / Test and Build
Check Docs Changes
0s
Check Docs Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Matrix: Create GHCR Manifests
Create GitHub Release
0s
Create GitHub Release
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 7 warnings
Test and Build / Test and Build
Process completed with exit code 1.
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > generateSearchEmbedding > should include correct request body for OpenAI: apps/sim/lib/knowledge/embeddings.ts#L153
TypeError: Cannot read properties of undefined (reading 'total_tokens') ❯ maxRetries lib/knowledge/embeddings.ts:153:33 ❯ Module.generateSearchEmbedding lib/knowledge/embeddings.ts:257:26 ❯ app/api/knowledge/search/utils.test.ts:398:7
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > generateSearchEmbedding > should include correct request body for Azure OpenAI: apps/sim/lib/knowledge/embeddings.ts#L153
TypeError: Cannot read properties of undefined (reading 'total_tokens') ❯ maxRetries lib/knowledge/embeddings.ts:153:33 ❯ Module.generateSearchEmbedding lib/knowledge/embeddings.ts:257:26 ❯ app/api/knowledge/search/utils.test.ts:367:7
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > generateSearchEmbedding > should use custom model name when provided in Azure config: apps/sim/lib/knowledge/embeddings.ts#L153
TypeError: Cannot read properties of undefined (reading 'total_tokens') ❯ maxRetries lib/knowledge/embeddings.ts:153:33 ❯ Module.generateSearchEmbedding lib/knowledge/embeddings.ts:257:26 ❯ app/api/knowledge/search/utils.test.ts:284:7
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > generateSearchEmbedding > should use default API version when not provided in Azure config: apps/sim/lib/knowledge/embeddings.ts#L153
TypeError: Cannot read properties of undefined (reading 'total_tokens') ❯ maxRetries lib/knowledge/embeddings.ts:153:33 ❯ Module.generateSearchEmbedding lib/knowledge/embeddings.ts:257:26 ❯ app/api/knowledge/search/utils.test.ts:254:7
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > generateSearchEmbedding > should fallback to OpenAI when no KB Azure config provided: apps/sim/lib/knowledge/embeddings.ts#L153
TypeError: Cannot read properties of undefined (reading 'total_tokens') ❯ maxRetries lib/knowledge/embeddings.ts:153:33 ❯ Module.generateSearchEmbedding lib/knowledge/embeddings.ts:257:26 ❯ app/api/knowledge/search/utils.test.ts:220:22
app/api/knowledge/search/utils.test.ts > Knowledge Search Utils > generateSearchEmbedding > should use Azure OpenAI when KB-specific config is provided: apps/sim/lib/knowledge/embeddings.ts#L153
TypeError: Cannot read properties of undefined (reading 'total_tokens') ❯ maxRetries lib/knowledge/embeddings.ts:153:33 ❯ Module.generateSearchEmbedding lib/knowledge/embeddings.ts:257:26 ❯ app/api/knowledge/search/utils.test.ts:189:22
Test and Build / Test and Build
sim#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
Test and Build / Test and Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps