chore(utils): migrate to shared random/ID utilities and add enforcement linting #17025
ci.yml
on: pull_request
Detect Version
0s
Test and Build
/
Test and Build
1m 31s
Check Docs Changes
0s
Matrix: Build Dev ECR
Matrix: Build ARM64 (GHCR Only)
Matrix: Build AMD64
Migrate Dev DB
/
Apply Database Migrations
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Create GitHub Release
0s
Annotations
7 errors and 9 warnings
|
Test and Build / Test and Build
Process completed with exit code 1.
|
|
lib/copilot/request/go/stream.test.ts > copilot go stream helpers > still fails closed when the body closes without terminal and the abort marker check throws:
apps/sim/lib/copilot/request/go/stream.test.ts#L422
AssertionError: expected [Function] to throw error including 'Copilot backend stream ended before a…' but got 'getErrorMessage is not defined'
Expected: "Copilot backend stream ended before a terminal event"
Received: "getErrorMessage is not defined"
❯ lib/copilot/request/go/stream.test.ts:422:5
|
|
executor/handlers/workflow/workflow-handler.test.ts > WorkflowBlockHandler > execute > should handle fetch errors gracefully:
apps/sim/executor/handlers/workflow/workflow-handler.test.ts#L158
AssertionError: expected [Function] to throw error including '"child-workflow-id" failed: Network e…' but got 'getErrorMessage is not defined'
Expected: ""child-workflow-id" failed: Network error"
Received: "getErrorMessage is not defined"
❯ executor/handlers/workflow/workflow-handler.test.ts:158:7
|
|
executor/handlers/workflow/workflow-handler.test.ts > WorkflowBlockHandler > execute > should handle child workflow not found:
apps/sim/executor/handlers/workflow/workflow-handler.test.ts#L148
AssertionError: expected [Function] to throw error including '"non-existent-workflow" failed: Child…' but got 'getErrorMessage is not defined'
Expected: ""non-existent-workflow" failed: Child workflow non-existent-workflow not found"
Received: "getErrorMessage is not defined"
❯ executor/handlers/workflow/workflow-handler.test.ts:148:7
|
|
tools/index.test.ts > MCP Tool Execution > should handle MCP API network errors:
apps/sim/tools/index.test.ts#L1522
AssertionError: expected 'getErrorMessage is not defined' to contain 'Network error'
Expected: "Network error"
Received: "getErrorMessage is not defined"
❯ tools/index.test.ts:1522:26
|
|
hooks/use-execution-stream.test.ts > processSSEStream > propagates callback failures without acknowledging the event id:
apps/sim/hooks/use-execution-stream.test.ts#L72
AssertionError: expected [Function] to throw error including 'handler failed' but got 'getErrorMessage is not defined'
Expected: "handler failed"
Received: "getErrorMessage is not defined"
❯ hooks/use-execution-stream.test.ts:72:5
|
|
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
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
|
|
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
|