Skip to content

improvement(tests): speed up unit tests by eliminating vi.resetModules anti-pattern #10719

improvement(tests): speed up unit tests by eliminating vi.resetModules anti-pattern

improvement(tests): speed up unit tests by eliminating vi.resetModules anti-pattern #10719

Triggered via pull request February 26, 2026 23:33
Status Failure
Total duration 2m 2s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Test and Build  /  Test and Build
1m 17s
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

4 errors and 3 warnings
Test and Build / Test and Build
Process completed with exit code 1.
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)
executor/handlers/router/router-handler.test.ts > RouterBlockHandler > should handle Vertex AI models with OAuth credential: apps/sim/executor/handlers/router/router-handler.test.ts#L290
TypeError: Cannot convert undefined or null to object ❯ executor/handlers/router/router-handler.test.ts:290:8
executor/handlers/evaluator/evaluator-handler.test.ts > EvaluatorBlockHandler > should handle Vertex AI models with OAuth credential: apps/sim/executor/handlers/evaluator/evaluator-handler.test.ts#L421
TypeError: Cannot convert undefined or null to object ❯ executor/handlers/evaluator/evaluator-handler.test.ts:421:8
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