note: You are running `vp test` as a Vite+ built-in command. If you meant to run the test npm script, use `vpr test` instead. RUN v5.0.5 /home/ubuntu/wt/issue-19681/apps/server stdout | src/project/AgentSessionScanner.test.ts > AgentSessionScanner > scan > returns the imported project ID through a realpath alias [13:09:04.323] ERROR (#44): Error [PlatformError]: Unknown: FileSystem.symlink (/tmp/t3code-workspace-gSPQmX) at Module.systemError (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/PlatformError.js:177:39) at file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/@effect+platform-node-shared@4.0.5_bufferutil@4.1.0_effect@4.0.5_utf-8-validate@6.0.6/node_modules/@effect/platform-node-shared/dist/internal/utils.js:28:24 { reason: { _tag: 'Unknown', module: 'FileSystem', method: 'symlink', pathOrDescriptor: '/tmp/t3code-workspace-gSPQmX', syscall: 'symlink', cause: Error: EPERM: operation not permitted, symlink '/tmp/t3code-workspace-gSPQmX' -> '/tmp/t3code-scanner-links-SShauH/workspace-alias' at eperm (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:5:17) at fs.symlink (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:9:112) at Object. (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8409:5) at ~effect/Effect/evaluate (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:804:38) at FiberImpl.runLoop (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:453:97) at FiberImpl.evaluate (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:402:23) at AsyncResource.runInAsyncScope (node:async_hooks:227:14) at FiberImpl.evaluate (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:396:27) at file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:808:17 at file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8413:9 { errno: -1, code: 'EPERM', syscall: 'symlink', path: '/tmp/t3code-workspace-gSPQmX', dest: '/tmp/t3code-scanner-links-SShauH/workspace-alias' } }, _tag: 'PlatformError', '~effect/PlatformError': '~effect/PlatformError', [cause]: Error: EPERM: operation not permitted, symlink '/tmp/t3code-workspace-gSPQmX' -> '/tmp/t3code-scanner-links-SShauH/workspace-alias' at eperm (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:5:17) at fs.symlink (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:9:112) at Object. (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8409:5) { errno: -1, code: 'EPERM', syscall: 'symlink', path: '/tmp/t3code-workspace-gSPQmX', dest: '/tmp/t3code-scanner-links-SShauH/workspace-alias', [cause]: undefined } } stdout | src/project/AgentSessionScanner.test.ts > AgentSessionScanner > scan > excludes sandboxes reached through a symlink into the worktrees dir [13:09:04.594] ERROR (#290): Error [PlatformError]: Unknown: FileSystem.symlink (/tmp/t3code-scanner-base-EUfk4L/worktrees/t3code/wt-3) at Module.systemError (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/PlatformError.js:177:39) at file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/@effect+platform-node-shared@4.0.5_bufferutil@4.1.0_effect@4.0.5_utf-8-validate@6.0.6/node_modules/@effect/platform-node-shared/dist/internal/utils.js:28:24 { reason: { _tag: 'Unknown', module: 'FileSystem', method: 'symlink', pathOrDescriptor: '/tmp/t3code-scanner-base-EUfk4L/worktrees/t3code/wt-3', syscall: 'symlink', cause: Error: EPERM: operation not permitted, symlink '/tmp/t3code-scanner-base-EUfk4L/worktrees/t3code/wt-3' -> '/tmp/t3code-scanner-links-KRaIoP/innocent-project' at eperm (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:5:17) at fs.symlink (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:9:112) at Object. (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8409:5) at ~effect/Effect/evaluate (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:804:38) at FiberImpl.runLoop (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:453:97) at FiberImpl.evaluate (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:402:23) at AsyncResource.runInAsyncScope (node:async_hooks:227:14) at FiberImpl.evaluate (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:396:27) at file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:808:17 at file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8413:9 { errno: -1, code: 'EPERM', syscall: 'symlink', path: '/tmp/t3code-scanner-base-EUfk4L/worktrees/t3code/wt-3', dest: '/tmp/t3code-scanner-links-KRaIoP/innocent-project' } }, _tag: 'PlatformError', '~effect/PlatformError': '~effect/PlatformError', [cause]: Error: EPERM: operation not permitted, symlink '/tmp/t3code-scanner-base-EUfk4L/worktrees/t3code/wt-3' -> '/tmp/t3code-scanner-links-KRaIoP/innocent-project' at eperm (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:5:17) at fs.symlink (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:9:112) at Object. (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8409:5) { errno: -1, code: 'EPERM', syscall: 'symlink', path: '/tmp/t3code-scanner-base-EUfk4L/worktrees/t3code/wt-3', dest: '/tmp/t3code-scanner-links-KRaIoP/innocent-project', [cause]: undefined } } ❯ src/project/AgentSessionScanner.test.ts (53 tests | 2 failed | 2 skipped) 2766ms ❯ AgentSessionScanner (37) ❯ scan (19) × returns the imported project ID through a realpath alias 7ms × excludes sandboxes reached through a symlink into the worktrees dir 5ms stdout | src/serverSettings.test.ts > server settings > saves through a symlinked settings file without replacing the link [13:09:15.685] ERROR (#1722): Error [PlatformError]: Unknown: FileSystem.symlink (/tmp/t3-settings-dotfiles-SdT4iT/settings.json) at Module.systemError (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/PlatformError.js:177:39) at file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/@effect+platform-node-shared@4.0.5_bufferutil@4.1.0_effect@4.0.5_utf-8-validate@6.0.6/node_modules/@effect/platform-node-shared/dist/internal/utils.js:28:24 { reason: { _tag: 'Unknown', module: 'FileSystem', method: 'symlink', pathOrDescriptor: '/tmp/t3-settings-dotfiles-SdT4iT/settings.json', syscall: 'symlink', cause: Error: EPERM: operation not permitted, symlink '/tmp/t3-settings-dotfiles-SdT4iT/settings.json' -> '/tmp/t3code-server-settings-test-Ppvq5c/userdata/settings.json' at eperm (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:5:17) at fs.symlink (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:9:112) at Object. (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8409:5) at ~effect/Effect/evaluate (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:804:38) at FiberImpl.runLoop (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:453:97) at FiberImpl.evaluate (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:402:23) at AsyncResource.runInAsyncScope (node:async_hooks:227:14) at FiberImpl.evaluate (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:396:27) at file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:808:17 at file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8413:9 { errno: -1, code: 'EPERM', syscall: 'symlink', path: '/tmp/t3-settings-dotfiles-SdT4iT/settings.json', dest: '/tmp/t3code-server-settings-test-Ppvq5c/userdata/settings.json' } }, _tag: 'PlatformError', '~effect/PlatformError': '~effect/PlatformError', [cause]: Error: EPERM: operation not permitted, symlink '/tmp/t3-settings-dotfiles-SdT4iT/settings.json' -> '/tmp/t3code-server-settings-test-Ppvq5c/userdata/settings.json' at eperm (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:5:17) at fs.symlink (/tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:9:112) at Object. (file:///home/ubuntu/wt/issue-19681/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8409:5) { errno: -1, code: 'EPERM', syscall: 'symlink', path: '/tmp/t3-settings-dotfiles-SdT4iT/settings.json', dest: '/tmp/t3code-server-settings-test-Ppvq5c/userdata/settings.json', [cause]: undefined } } ❯ src/serverSettings.test.ts (47 tests | 1 failed) 3349ms ❯ server settings (47) × saves through a symlinked settings file without replacing the link 65ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯ FAIL src/serverSettings.test.ts > server settings > saves through a symlinked settings file without replacing the link PlatformError: Unknown: FileSystem.symlink (/tmp/t3-settings-dotfiles-SdT4iT/settings.json) ❯ Module.systemError ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/PlatformError.ts:238:22 ❯ ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_bufferutil@4.1.0_effect@4.0.5_utf-8-validate@6.0.6/node_modules/@effect/platform-node-shared/src/internal/utils.ts:43:24 ❯ PrimitiveImpl.~effect/Effect/args ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Effect.ts:26055:49 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:981:22 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Effect.ts:26055:13 Caused by: Error: EPERM: operation not permitted, symlink '/tmp/t3-settings-dotfiles-SdT4iT/settings.json' -> '/tmp/t3code-server-settings-test-Ppvq5c/userdata/settings.json' ❯ eperm ../../../../../../tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:5:17 ❯ fs.symlink ../../../../../../tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:9:112 ❯ Object. ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8409:5 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:804:38 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:453:97 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:402:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:396:27 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:808:17 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8413:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -1, code: 'EPERM', syscall: 'symlink', path: '/tmp/t3-settings-dotfiles-SdT4iT/settings.json', dest: '/tmp/t3code-server-settings-test-Ppvq5c/userdata/settings.json' } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯ FAIL src/project/AgentSessionScanner.test.ts > AgentSessionScanner > scan > returns the imported project ID through a realpath alias PlatformError: Unknown: FileSystem.symlink (/tmp/t3code-workspace-gSPQmX) ❯ Module.systemError ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/PlatformError.ts:238:22 ❯ ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_bufferutil@4.1.0_effect@4.0.5_utf-8-validate@6.0.6/node_modules/@effect/platform-node-shared/src/internal/utils.ts:43:24 ❯ PrimitiveImpl.~effect/Effect/args ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Effect.ts:26055:49 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:981:22 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Effect.ts:26055:13 Caused by: Error: EPERM: operation not permitted, symlink '/tmp/t3code-workspace-gSPQmX' -> '/tmp/t3code-scanner-links-SShauH/workspace-alias' ❯ eperm ../../../../../../tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:5:17 ❯ fs.symlink ../../../../../../tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:9:112 ❯ Object. ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8409:5 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:804:38 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:453:97 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:402:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:396:27 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:808:17 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8413:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -1, code: 'EPERM', syscall: 'symlink', path: '/tmp/t3code-workspace-gSPQmX', dest: '/tmp/t3code-scanner-links-SShauH/workspace-alias' } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯ FAIL src/project/AgentSessionScanner.test.ts > AgentSessionScanner > scan > excludes sandboxes reached through a symlink into the worktrees dir PlatformError: Unknown: FileSystem.symlink (/tmp/t3code-scanner-base-EUfk4L/worktrees/t3code/wt-3) ❯ Module.systemError ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/PlatformError.ts:238:22 ❯ ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_bufferutil@4.1.0_effect@4.0.5_utf-8-validate@6.0.6/node_modules/@effect/platform-node-shared/src/internal/utils.ts:43:24 ❯ PrimitiveImpl.~effect/Effect/args ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Effect.ts:26055:49 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:981:22 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Effect.ts:26055:13 Caused by: Error: EPERM: operation not permitted, symlink '/tmp/t3code-scanner-base-EUfk4L/worktrees/t3code/wt-3' -> '/tmp/t3code-scanner-links-KRaIoP/innocent-project' ❯ eperm ../../../../../../tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:5:17 ❯ fs.symlink ../../../../../../tmp/issue-lead-19681-r2/repro/no-symlink-preload.cjs:9:112 ❯ Object. ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8409:5 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:804:38 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:453:97 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:402:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:396:27 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:808:17 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js:8413:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -1, code: 'EPERM', syscall: 'symlink', path: '/tmp/t3code-scanner-base-EUfk4L/worktrees/t3code/wt-3', dest: '/tmp/t3code-scanner-links-KRaIoP/innocent-project' } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯ Test Files 2 failed (2) Tests 3 failed | 95 passed | 2 skipped (100) Start at 13:09:00 Duration 17.74s (transform 42%, tests 35%, import 22%, setup 1%)