feat(network): add organization outbound routing #31301
Triggered via pull request
September 11, 2026 21:22
Status
Failure
Total duration
4m 11s
Artifacts
–
ci.yml
on: pull_request
Detect Version
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / oauth-postgres
Matrix: Test and Build / test-shard
Test and Build
/
Lint and Test
2m 59s
Test and Build
/
Build App
2m 29s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
0s
Matrix: Attest Images
Desktop Release
/
Build, Sign, Notarize
Annotations
7 errors and 18 warnings
|
Test and Build / Build App
Process completed with exit code 1.
|
|
Test and Build / Build App
@sim/app#build: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run build exited (1)
|
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
lib/core/network/gateway.server.test.ts > organization gateways over real TLS CONNECT sockets > routes and verifies TLS under the actual Bun runtime:
apps/sim/lib/core/network/gateway.server.ts#L108
Error: Command failed: bun --no-env-file run /home/runner/_work/sim/sim/apps/sim/lib/core/network/fixtures/gateway-runtime.fixture.ts 39505 39049 /tmp/gateway-tls-Ti6nMB/cert.pem
103 | const socket = await openGatewayTunnel(gateway, address, port)
104 | if (connection.protocol !== 'https:') return socket
105 | return secureGatewayTunnel(socket, hostname)
106 | })().then(
107 | (socket) => callback(null, socket),
108 | () => callback(new OutboundRoutingError('GATEWAY_UNAVAILABLE'), null)
^
OutboundRoutingError: Outbound routing failed: GATEWAY_UNAVAILABLE
code: "GATEWAY_UNAVAILABLE"
at <anonymous> (/home/runner/_work/sim/sim/apps/sim/lib/core/network/gateway.server.ts:108:24)
::error file=apps/sim/lib/core/network/gateway.server.ts,line=108,col=24,title=OutboundRoutingError: Outbound routing failed%3A GATEWAY_UNAVAILABLE::%0A at <anonymous> (/home/runner/_work/sim/sim/apps/sim/lib/core/network/gateway.server.ts:108:24)
Bun v1.4.1 (Linux x64)
❯ <anonymous> lib/core/network/gateway.server.ts:108:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 1, killed: false, signal: null, cmd: 'bun --no-env-file run /home/runner/_work/sim/sim/apps/sim/lib/core/network/fixtures/gateway-runtime.fixture.ts 39505 39049 /tmp/gateway-tls-Ti6nMB/cert.pem', stdout: '', stderr: '103 | const socket = await openGatewayTunnel(gateway, address, port)\n104 | if (connection.protocol !== \'https:\') return socket\n105 | return secureGatewayTunnel(socket, hostname)\n106 | })().then(\n107 | (socket) => callback(null, socket),\n108 | () => callback(new OutboundRoutingError(\'GATEWAY_UNAVAILABLE\'), null)\n ^\nOutboundRoutingError: Outbound routing failed: GATEWAY_UNAVAILABLE\n code: "GATEWAY_UNAVAILABLE"\n\n at <anonymous> (/home/runner/_work/sim/sim/apps/sim/lib/core/network/gateway.server.ts:108:24)\n\n::error file=apps/sim/lib/core/network/gateway.server.ts,line=108,col=24,title=OutboundRoutingError: Outbound routing failed%3A GATEWAY_UNAVAILABLE::%0A at <anonymous> (/home/runner/_work/sim/sim/apps/sim/lib/core/network/gateway.server.ts:108:24)\n\nBun v1.4.1 (Linux x64)\n' }
|
|
OutboundRoutingError: Outbound routing failed: GATEWAY_UNAVAILABLE:
apps/sim/lib/core/network/gateway.server.ts#L108
at <anonymous> (/home/runner/_work/sim/sim/apps/sim/lib/core/network/gateway.server.ts:108:24)
|
|
Test and Build / Lint and Test
@sim/app#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
|