Skip to content

feat(network): add organization outbound routing #31299

feat(network): add organization outbound routing

feat(network): add organization outbound routing #31299

Triggered via pull request September 11, 2026 21:01
Status Failure
Total duration 4m 24s
Artifacts

ci.yml

on: pull_request
Detect Version
Detect Version
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Detect Desktop Changes
0s
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
3m 50s
Test and Build / Lint and Test
Test and Build  /  Build App
4m 7s
Test and Build / Build App
Check Docs Changes
0s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
Deploy Trigger.dev (Dev)
Check Desktop Signing Secrets
Check Desktop Signing Secrets
Migrate DB  /  Apply Database Migrations
Migrate DB / Apply Database Migrations
Create Desktop Prerelease
Create Desktop Prerelease
Promote Images
0s
Promote Images
Desktop Prerelease Build  /  Build, Sign, Notarize
Desktop Prerelease Build / Build, Sign, Notarize
Matrix: Create GHCR Manifests
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Publish Desktop Prerelease
0s
Publish Desktop Prerelease
Resolve Attestation Subjects
0s
Resolve Attestation Subjects
Prune Desktop Prereleases
0s
Prune Desktop Prereleases
Matrix: Attest Images
Create GitHub Release
Create GitHub Release
Desktop Release  /  Build, Sign, Notarize
Desktop Release / Build, Sign, Notarize
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 21 warnings
Test and Build / Test (shard 2)
Process completed with exit code 1.
lib/table/application/folders.test.ts > listTableFoldersUseCase > answers a parent path naming no folder with an empty page: apps/sim/lib/core/network/context.server.ts#L17
OutboundRoutingError: Outbound routing failed: MISSING_SCOPE ❯ runWithOutboundOrganization lib/core/network/context.server.ts:17:11 ❯ Object.execute lib/core/application/authorized-workspace-use-case.ts:209:14 ❯ lib/table/application/folders.test.ts:98:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MISSING_SCOPE' }
lib/table/application/folders.test.ts > listTableFoldersUseCase > resolves a canonical parent path before listing: apps/sim/lib/core/network/context.server.ts#L17
OutboundRoutingError: Outbound routing failed: MISSING_SCOPE ❯ runWithOutboundOrganization lib/core/network/context.server.ts:17:11 ❯ Object.execute lib/core/application/authorized-workspace-use-case.ts:209:14 ❯ lib/table/application/folders.test.ts:79:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MISSING_SCOPE' }
Test and Build / Test (shard 2)
@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.
lib/core/network/gateway.server.test.ts: apps/sim/lib/core/network/gateway.server.test.ts#L33
Error: ENOENT: no such file or directory, open '/home/runner/_work/sim/sim/apps/sim/lib/core/network/fixtures/gateway-test-cert.pem' ❯ lib/core/network/gateway.server.test.ts:33:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/_work/sim/sim/apps/sim/lib/core/network/fixtures/gateway-test-cert.pem' }
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 / Test (shard 3)
Process completed with exit code 1.
Test and Build / Test (shard 3)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
app/workspace/[workspaceId]/settings/[section]/page.test.tsx > WorkspaceSettingsSectionPage > routes network to organization network only within the organization rollout: apps/sim/app/workspace/[workspaceId]/settings/[section]/page.test.tsx#L154
AssertionError: expected [Function] to throw error including 'NEXT_REDIRECT:/o/org-target/settings/…' but got 'NEXT_NOT_FOUND' Expected: "NEXT_REDIRECT:/o/org-target/settings/network" Received: "NEXT_NOT_FOUND" ❯ app/workspace/[workspaceId]/settings/[section]/page.test.tsx:154:68
app/workspace/[workspaceId]/settings/[section]/page.test.tsx > WorkspaceSettingsSectionPage > keeps network in the workspace outside the organization rollout: apps/sim/app/workspace/[workspaceId]/settings/[section]/page.test.tsx#L20
Error: NEXT_NOT_FOUND ❯ app/workspace/[workspaceId]/settings/[section]/page.test.tsx:20:11 ❯ Module.WorkspaceSettingsSectionPage app/workspace/[workspaceId]/settings/[section]/page.tsx:47:18 ❯ app/workspace/[workspaceId]/settings/[section]/page.test.tsx:122:23
app/workspace/[workspaceId]/settings/navigation.test.ts > unified settings navigation > orders each scope around its primary settings: apps/sim/app/workspace/[workspaceId]/settings/navigation.test.ts#L85
AssertionError: expected [ 'organization', 'usage', …(9) ] to deeply equal [ 'organization', 'usage', …(8) ] - Expected + Received @@ -5,8 +5,9 @@ "access-control", "audit-logs", "whitelabeling", "sso", "sessions", + "network", "data-retention", "data-drains", ] ❯ app/workspace/[workspaceId]/settings/navigation.test.ts:85:43
app/workspace/[workspaceId]/settings/navigation.test.ts > unified settings navigation > keeps account, workspace, organization, and platform settings in one catalog: apps/sim/app/workspace/[workspaceId]/settings/navigation.test.ts#L23
AssertionError: expected [ { id: 'general', …(2) }, …(30) ] to deeply equal [ { id: 'general', …(2) }, …(29) ] - Expected + Received @@ -118,10 +118,15 @@ "id": "sessions", "label": "Session policies", "section": "organization", }, { + "id": "network", + "label": "Network", + "section": "organization", + }, + { "id": "data-retention", "label": "Data retention", "section": "organization", }, { ❯ app/workspace/[workspaceId]/settings/navigation.test.ts:23:90
app/o/[organizationId]/settings/navigation.test.ts > organization settings navigation > groups the sections as account, organization, governance, and Sim Search, in order: apps/sim/app/o/[organizationId]/settings/navigation.test.ts#L85
AssertionError: expected [ 'account:billing', …(15) ] to deeply equal [ 'account:billing', …(14) ] - Expected + Received @@ -7,10 +7,11 @@ "organization:recently-deleted", "governance:audit-logs", "governance:access-control", "governance:sso", "governance:sessions", + "governance:network", "governance:data-retention", "governance:data-drains", "sim-search:integrations", "sim-search:search-mcp", "sim-search:search-slack", ❯ app/o/[organizationId]/settings/navigation.test.ts:85:82
lib/copilot/chat/process-contents.test.ts > processContextsServer - block contexts > resolves integration mentions through the same metadata and access policy as blocks: apps/sim/lib/copilot/chat/process-contents.test.ts#L208
Error: Test timed out in 10000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ lib/copilot/chat/process-contents.test.ts:208:3
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 2)
- Step: unknown (failed)
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 2)
- Step: unknown (failed)
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 2)
- Step: unknown (failed)
Test and Build / Test (shard 2)
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
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
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
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps