improvement(self-host): simplify capability setup configuration #24941
ci.yml
on: pull_request
Detect Version
0s
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build
/
Lint and Test
2m 44s
Test and Build
/
Build App
39s
Check Docs Changes
0s
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
Desktop Release
/
Build, Sign, Notarize
Annotations
13 errors and 18 warnings
|
Test and Build / Build App
Process completed with exit code 1.
|
|
Test and Build / Build App
sim#build: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run build exited (1)
|
|
lib/execution/remote-sandbox/conformance.test.ts > sandbox conformance [e2b] > survives a large single-line payload without chunk corruption:
apps/sim/lib/core/config/env-capabilities.ts#L767
EnvCapabilityConfigurationError: Remote sandbox selects e2b, but that provider is not configured (E2B_ENABLED must be enabled). Run bun run setup sandbox.
❯ requireCapability lib/core/config/env-capabilities.ts:767:13
❯ getConfiguredSandboxProviderId lib/core/config/env-capabilities.server.ts:28:10
❯ resolveProvider lib/execution/remote-sandbox/provider.ts:27:22
❯ createSandbox lib/execution/remote-sandbox/index.ts:36:20
❯ createSelectedSandbox lib/execution/remote-sandbox/index.ts:58:18
❯ Module.executeInSandbox lib/execution/remote-sandbox/index.ts:317:25
❯ lib/execution/remote-sandbox/conformance.test.ts:202:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { capabilityId: 'sandbox' }
|
|
lib/execution/remote-sandbox/conformance.test.ts > sandbox conformance [e2b] > refuses to return a corrupted marker payload:
apps/sim/lib/core/config/env-capabilities.ts#L767
EnvCapabilityConfigurationError: Remote sandbox selects e2b, but that provider is not configured (E2B_ENABLED must be enabled). Run bun run setup sandbox.
❯ requireCapability lib/core/config/env-capabilities.ts:767:13
❯ getConfiguredSandboxProviderId lib/core/config/env-capabilities.server.ts:28:10
❯ resolveProvider lib/execution/remote-sandbox/provider.ts:27:22
❯ createSandbox lib/execution/remote-sandbox/index.ts:36:20
❯ createSelectedSandbox lib/execution/remote-sandbox/index.ts:58:18
❯ Module.executeInSandbox lib/execution/remote-sandbox/index.ts:317:25
❯ lib/execution/remote-sandbox/conformance.test.ts:188:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { capabilityId: 'sandbox' }
|
|
lib/execution/remote-sandbox/conformance.test.ts > sandbox conformance [e2b] > takes the LAST marker so user output cannot shadow the real result:
apps/sim/lib/core/config/env-capabilities.ts#L767
EnvCapabilityConfigurationError: Remote sandbox selects e2b, but that provider is not configured (E2B_ENABLED must be enabled). Run bun run setup sandbox.
❯ requireCapability lib/core/config/env-capabilities.ts:767:13
❯ getConfiguredSandboxProviderId lib/core/config/env-capabilities.server.ts:28:10
❯ resolveProvider lib/execution/remote-sandbox/provider.ts:27:22
❯ createSandbox lib/execution/remote-sandbox/index.ts:36:20
❯ createSelectedSandbox lib/execution/remote-sandbox/index.ts:58:18
❯ Module.executeInSandbox lib/execution/remote-sandbox/index.ts:317:25
❯ lib/execution/remote-sandbox/conformance.test.ts:176:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { capabilityId: 'sandbox' }
|
|
lib/execution/remote-sandbox/conformance.test.ts > sandbox conformance [e2b] > parses the __SIM_RESULT__ marker and strips it from stdout:
apps/sim/lib/core/config/env-capabilities.ts#L767
EnvCapabilityConfigurationError: Remote sandbox selects e2b, but that provider is not configured (E2B_ENABLED must be enabled). Run bun run setup sandbox.
❯ requireCapability lib/core/config/env-capabilities.ts:767:13
❯ getConfiguredSandboxProviderId lib/core/config/env-capabilities.server.ts:28:10
❯ resolveProvider lib/execution/remote-sandbox/provider.ts:27:22
❯ createSandbox lib/execution/remote-sandbox/index.ts:36:20
❯ createSelectedSandbox lib/execution/remote-sandbox/index.ts:58:18
❯ Module.executeInSandbox lib/execution/remote-sandbox/index.ts:317:25
❯ lib/execution/remote-sandbox/conformance.test.ts:159:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { capabilityId: 'sandbox' }
|
|
app/api/workflows/route.test.ts:
apps/sim/lib/events/pubsub.ts#L140
Error: [vitest] No "getConfiguredRedisUrl" export is defined on the "@/lib/core/config/redis" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@/lib/core/config/redis"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ createPubSubChannel lib/events/pubsub.ts:140:20
❯ lib/mcp/pubsub.ts:36:9
❯ lib/mcp/workflow-mcp-sync.ts:22:1
|
|
lib/workspaces/lifecycle.test.ts:
apps/sim/lib/events/pubsub.ts#L140
Error: [vitest] No "getConfiguredRedisUrl" export is defined on the "@/lib/core/config/redis" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@/lib/core/config/redis"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ createPubSubChannel lib/events/pubsub.ts:140:20
❯ lib/mcp/pubsub.ts:36:9
❯ lib/workspaces/lifecycle.ts:18:1
|
|
lib/workflows/lifecycle.test.ts:
apps/sim/lib/events/pubsub.ts#L140
Error: [vitest] No "getConfiguredRedisUrl" export is defined on the "@/lib/core/config/redis" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@/lib/core/config/redis"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ createPubSubChannel lib/events/pubsub.ts:140:20
❯ lib/mcp/pubsub.ts:36:9
❯ lib/workflows/lifecycle.ts:19:1
|
|
lib/invitations/send.test.ts:
apps/sim/lib/events/pubsub.ts#L140
Error: [vitest] No "getConfiguredRedisUrl" export is defined on the "@/lib/core/config/redis" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@/lib/core/config/redis"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ createPubSubChannel lib/events/pubsub.ts:140:20
❯ lib/mcp/pubsub.ts:36:9
❯ lib/workflows/lifecycle.ts:19:1
|
|
lib/invitations/grant-revocation.test.ts:
apps/sim/lib/events/pubsub.ts#L140
Error: [vitest] No "getConfiguredRedisUrl" export is defined on the "@/lib/core/config/redis" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@/lib/core/config/redis"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ createPubSubChannel lib/events/pubsub.ts:140:20
❯ lib/mcp/pubsub.ts:36:9
❯ lib/workflows/lifecycle.ts:19:1
|
|
Test and Build / Lint and Test
sim#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
|
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Build App
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Build App
- Step: unknown (failed)
|
|
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
- Step: unknown (failed)
|
|
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
- Step: unknown (failed)
|
|
Test and Build / Build App
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
- Step: unknown (failed)
|
|
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
- Step: unknown (failed)
|
|
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
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|