Revision: 25e9fe51f8d54c64b40e37248fa80ff36208830d Command (apps/server): vp test run src/provider/Drivers/CodexHomeLayout.test.ts 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-8578-red-evidence/apps/server stdout | src/provider/Drivers/CodexHomeLayout.test.ts > CodexHomeLayout > materializeCodexShadowHome > keeps auth-like entries private to each home without touching shared copies [07:13:20.317] ERROR (#73): Error [AssertionError]: expected { name: 'auth-fixture-a.json', …(1) } to deeply equal { name: 'auth-fixture-a.json', …(1) } at /home/ubuntu/wt/issue-8578-red-evidence/apps/server/src/provider/Drivers/CodexHomeLayout.test.ts:195:53 { actual: { name: 'auth-fixture-a.json', tag: 'Success' }, expected: { name: 'auth-fixture-a.json', tag: 'Failure' }, showDiff: true, operator: 'deepStrictEqual', [cause]: undefined } stdout | src/provider/Drivers/CodexHomeLayout.test.ts > CodexHomeLayout > materializeCodexShadowHome > rejects existing auth-like shadow symlinks even when the shared entry is absent [07:13:20.422] ERROR (#86): Error [AssertionError]: expected { Object (success) } to match object { _tag: 'Failure', failure: { …(2) } } (1 matching property omitted from actual) at Proxy. (file:///home/ubuntu/wt/issue-8578/node_modules/.pnpm/vitest@5.0.5_@types+node@24.12.4_@vitest+browser-playwright@5.0.5_@vitest+browser-previ_147da2363f1a1a37408ca1c3e523baf3/node_modules/vitest/dist/chunks/index.aTZaPVhf.js:2066:10) at Proxy. (file:///home/ubuntu/wt/issue-8578/node_modules/.pnpm/vitest@5.0.5_@types+node@24.12.4_@vitest+browser-playwright@5.0.5_@vitest+browser-previ_147da2363f1a1a37408ca1c3e523baf3/node_modules/vitest/dist/chunks/index.aTZaPVhf.js:1958:14) at Proxy.methodWrapper (file:///home/ubuntu/wt/issue-8578/node_modules/.pnpm/chai@6.3.0/node_modules/chai/index.js:1737:25) at /home/ubuntu/wt/issue-8578-red-evidence/apps/server/src/provider/Drivers/CodexHomeLayout.test.ts:229:26 { showDiff: true, expected: { _tag: 'Failure', failure: { entryName: 'auth-orphan.json', path: '/tmp/t3code-codex-shadow-root-o5kQXD/shadow/auth-orphan.json' } }, actual: { _id: 'Result', _tag: 'Success', value: undefined }, [cause]: undefined } ❯ src/provider/Drivers/CodexHomeLayout.test.ts (10 tests | 2 failed) 651ms ❯ CodexHomeLayout (10) ❯ materializeCodexShadowHome (9) × keeps auth-like entries private to each home without touching shared copies 92ms × rejects existing auth-like shadow symlinks even when the shared entry is absent 92ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ FAIL src/provider/Drivers/CodexHomeLayout.test.ts > CodexHomeLayout > materializeCodexShadowHome > keeps auth-like entries private to each home without touching shared copies AssertionError: expected { name: 'auth-fixture-a.json', …(1) } to deeply equal { name: 'auth-fixture-a.json', …(1) } - Expected + Received { "name": "auth-fixture-a.json", - "tag": "Failure", + "tag": "Success", } ❯ src/provider/Drivers/CodexHomeLayout.test.ts:195:53 193| .stat(path.join(shadowHome, name)) 194| .pipe(Effect.result); 195| expect({ name, tag: shadowEntry._tag }).toEqual({ name, ta… | ^ 196| expect(yield* fileSystem.readFileString(path.join(sharedHo… 197| `{"shared":"${name}"}\n`, ❯ ~effect/Effect/successCont ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ FiberImpl.succeedWith ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:711:30 ❯ MatchImpl.matchSuccess [as ~effect/Effect/successCont] ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:3595:16 ❯ ~effect/Effect/evaluate ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30 ❯ FiberImpl.runLoop ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ FAIL src/provider/Drivers/CodexHomeLayout.test.ts > CodexHomeLayout > materializeCodexShadowHome > rejects existing auth-like shadow symlinks even when the shared entry is absent AssertionError: expected { Object (success) } to match object { _tag: 'Failure', failure: { …(2) } } (1 matching property omitted from actual) - Expected + Received { - "_tag": "Failure", - "failure": { - "entryName": "auth-orphan.json", - "path": "/tmp/t3code-codex-shadow-root-o5kQXD/shadow/auth-orphan.json", - }, + "_id": "Result", + "_tag": "Success", + "value": undefined, } ❯ src/provider/Drivers/CodexHomeLayout.test.ts:229:26 227| const result = yield* materializeCodexShadowHome(layout).pip… 228| 229| expect(result).toMatchObject({ | ^ 230| _tag: "Failure", 231| failure: { entryName: "auth-orphan.json", path: orphanLink… ❯ ~effect/Effect/successCont ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ FiberImpl.succeedWith ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:711:30 ❯ MatchImpl.matchSuccess [as ~effect/Effect/successCont] ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:3595:16 ❯ ~effect/Effect/evaluate ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30 ❯ FiberImpl.runLoop ../../../issue-8578/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ Test Files 1 failed (1) Tests 2 failed | 8 passed (10) Start at 07:13:12 Duration 7.90s (transform 49%, import 37%, tests 9%, setup 6%) Exit status: 1