Skip to content

feat(mothership): mothership #11262

feat(mothership): mothership

feat(mothership): mothership #11262

Triggered via pull request March 9, 2026 22:20
Status Failure
Total duration 1m 26s
Artifacts

ci.yml

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

10 errors and 6 warnings
lib/billing/credits/daily-refresh.test.ts > computeDailyRefreshConsumed > multiplies daily refresh by seats: apps/sim/lib/billing/credits/daily-refresh.ts#L57
TypeError: sql(...).as is not a function ❯ Module.computeDailyRefreshConsumed lib/billing/credits/daily-refresh.ts:57:127 ❯ lib/billing/credits/daily-refresh.test.ts:109:26
lib/billing/credits/daily-refresh.test.ts > computeDailyRefreshConsumed > returns 0 when no usage rows exist: apps/sim/lib/billing/credits/daily-refresh.ts#L57
TypeError: sql(...).as is not a function ❯ Module.computeDailyRefreshConsumed lib/billing/credits/daily-refresh.ts:57:127 ❯ lib/billing/credits/daily-refresh.test.ts:96:26
lib/billing/credits/daily-refresh.test.ts > computeDailyRefreshConsumed > caps each day at the daily refresh allowance: apps/sim/lib/billing/credits/daily-refresh.ts#L57
TypeError: sql(...).as is not a function ❯ Module.computeDailyRefreshConsumed lib/billing/credits/daily-refresh.ts:57:127 ❯ lib/billing/credits/daily-refresh.test.ts:78:26
app/api/chat/route.test.ts > Chat API Route > POST > should reject if identifier already exists: apps/sim/app/api/chat/route.test.ts#L224
AssertionError: expected 500 to be 400 // Object.is equality - Expected + Received - 400 + 500 ❯ app/api/chat/route.test.ts:224:31
providers/utils.test.ts > Cost Calculation > formatCost > should handle zero cost: apps/sim/providers/utils.test.ts#L792
AssertionError: expected '0 credits' to be '$0' // Object.is equality Expected: "$0" Received: "0 credits" ❯ providers/utils.test.ts:792:29
providers/utils.test.ts > Cost Calculation > formatCost > should format very small costs with appropriate precision: apps/sim/providers/utils.test.ts#L788
AssertionError: expected '<1 credit' to contain '$0.000234' Expected: "$0.000234" Received: "<1 credit" ❯ providers/utils.test.ts:788:36
providers/utils.test.ts > Cost Calculation > formatCost > should format costs between 0.1¢ and 1¢ with four decimal places: apps/sim/providers/utils.test.ts#L783
AssertionError: expected '<1 credit' to be '$0.0023' // Object.is equality Expected: "$0.0023" Received: "<1 credit" ❯ providers/utils.test.ts:783:35
providers/utils.test.ts > Cost Calculation > formatCost > should format costs between 1¢ and $1 with three decimal places: apps/sim/providers/utils.test.ts#L778
AssertionError: expected '5 credits' to be '$0.023' // Object.is equality Expected: "$0.023" Received: "5 credits" ❯ providers/utils.test.ts:778:34
providers/utils.test.ts > Cost Calculation > formatCost > should format costs >= $1 with two decimal places: apps/sim/providers/utils.test.ts#L773
AssertionError: expected '247 credits' to be '$1.23' // Object.is equality Expected: "$1.23" Received: "247 credits" ❯ providers/utils.test.ts:773:33
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