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.1 /home/ubuntu/wt/worktree-git-11 stdout | apps/server/src/pullRequest/PullRequestService.test.ts > routes hosted references without confusing raw selectors with checkout URLs [07:39:07.190] ERROR (#23055): Error [AssertionError]: expected 'Project 1 MR' to equal 'Project 2 MR' at /home/ubuntu/wt/worktree-git-11/apps/server/src/pullRequest/PullRequestService.test.ts:2679:12 { actual: 'Project 1 MR', expected: 'Project 2 MR', showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts > PullRequestSyncReactor > snapshots an unsynced link once and writes it to the thread [07:39:07.784] ERROR (#44): Error [AssertionError]: expected undefined to equal null at /home/ubuntu/wt/worktree-git-11/apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts:525:20 { actual: undefined, expected: null, showDiff: true, operator: 'strictEqual', [cause]: undefined } ❯ apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts (20 tests | 1 failed) 166ms ❯ PullRequestSyncReactor (20) × snapshots an unsynced link once and writes it to the thread 15ms stdout | apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts > pull request toolkit handlers > resolves repository-only GitLab links and watches to the actual MR URL [07:39:08.022] ERROR (#134): Error [AssertionError]: expected [ …(2) ] to deeply equal [ …(2) ] at /home/ubuntu/wt/worktree-git-11/apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts:452:54 { actual: [ { projectId: 'project-1', host: 'code.example', repository: 'gitlab/team/subgroup/project', number: 1 }, { projectId: 'project-1', host: 'code.example', repository: 'gitlab/team/subgroup/project', number: 1 } ], expected: [ { projectId: 'project-1', host: 'code.example', repository: 'gitlab/team/subgroup/project', number: 1, webUrl: null }, { projectId: 'project-1', host: 'code.example', repository: 'gitlab/team/subgroup/project', number: 1, webUrl: null } ], showDiff: true, operator: 'deepStrictEqual', [cause]: undefined } stdout | apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts > pull request toolkit handlers > requires GitLab URL resolution only when creating a link or watch [07:39:08.040] ERROR (#159): Error [AssertionError]: expected [ { projectId: 'project-1', …(3) } ] to deeply equal [] at /home/ubuntu/wt/worktree-git-11/apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts:497:55 { actual: [ { projectId: 'project-1', host: 'code.example', repository: 'gitlab/team/subgroup/project', number: 1 } ], expected: [], showDiff: true, operator: 'deepStrictEqual', [cause]: undefined } ❯ apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts (25 tests | 2 failed) 161ms ❯ pull request toolkit handlers (16) × resolves repository-only GitLab links and watches to the actual MR URL 42ms × requires GitLab URL resolution only when creating a link or watch 11ms ❯ apps/server/src/pullRequest/PullRequestService.test.ts (206 tests | 1 failed) 17173ms × routes hosted references without confusing raw selectors with checkout URLs 130ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 4 ⎯⎯⎯⎯⎯⎯⎯ FAIL apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts > PullRequestSyncReactor > snapshots an unsynced link once and writes it to the thread AssertionError: expected undefined to equal null - Expected: null + Received: undefined ❯ apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts:525:20 523| yield* reactor.requestSync(key); 524| yield* reactor.drain; 525| assert.strictEqual( | ^ 526| (yield* Ref.get(fixture.summaryCalls)).at(-1)?.webUrl, 527| repositoryWebUrl ?? null, ❯ IteratorImpl.~effect/Effect/successCont node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ PrimitiveImpl.~effect/Effect/evaluate node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:971:30 ❯ 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 ❯ Array.onCall node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Effect.ts:25502:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/4]⎯ FAIL apps/server/src/pullRequest/PullRequestService.test.ts > routes hosted references without confusing raw selectors with checkout URLs AssertionError: expected 'Project 1 MR' to equal 'Project 2 MR' Expected: "Project 2 MR" Received: "Project 1 MR" ❯ apps/server/src/pullRequest/PullRequestService.test.ts:2679:12 2677| assert.strictEqual(checkout.title, "Project 1 MR"); 2678| assert.strictEqual(checkout.url, urls[0]); 2679| assert.strictEqual(raw.title, "Project 2 MR"); | ^ 2680| assert.strictEqual(raw.url, urls[1]); 2681| assert.deepStrictEqual(reads, [ ❯ IteratorImpl.~effect/Effect/successCont node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ ExitPrimitive.~effect/Effect/evaluate node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30 ❯ 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 ❯ Array. node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:5160:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/4]⎯ FAIL apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts > pull request toolkit handlers > resolves repository-only GitLab links and watches to the actual MR URL AssertionError: expected [ …(2) ] to deeply equal [ …(2) ] - Expected + Received @@ -2,15 +2,13 @@ { "host": "code.example", "number": 1, "projectId": "project-1", "repository": "gitlab/team/subgroup/project", - "webUrl": null, }, { "host": "code.example", "number": 1, "projectId": "project-1", "repository": "gitlab/team/subgroup/project", - "webUrl": null, }, ] ❯ apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts:452:54 450| const watched = yield* harness.call("watch_pull_request", target… 451| expect([linked.url, watched.url]).toEqual([url, url]); 452| expect(yield* Ref.get(harness.detailRequests)).toEqual([ | ^ 453| { projectId: PROJECT_ID, host: "code.example", ...target, webU… 454| { projectId: PROJECT_ID, host: "code.example", ...target, webU… ❯ IteratorImpl.~effect/Effect/successCont node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ PrimitiveImpl.~effect/Effect/evaluate node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:971:30 ❯ 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 ❯ Object.resume node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17 ❯ releaseTakers node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Queue.ts:2506:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/4]⎯ FAIL apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts > pull request toolkit handlers > requires GitLab URL resolution only when creating a link or watch AssertionError: expected [ { projectId: 'project-1', …(3) } ] to deeply equal [] - Expected + Received - [] + [ + { + "host": "code.example", + "number": 1, + "projectId": "project-1", + "repository": "gitlab/team/subgroup/project", + }, + ] ❯ apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts:497:55 495| }); 496| const result = yield* existing.call("watch_pull_request", target… 497| expect(yield* Ref.get(existing.detailRequests)).toEqual([]); | ^ 498| expect(yield* Ref.get(existing.commands)).toMatchObject([ 499| { ❯ IteratorImpl.~effect/Effect/successCont node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ PrimitiveImpl.~effect/Effect/evaluate node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:971:30 ❯ 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 ❯ Object.resume node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17 ❯ finalize node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Queue.ts:2670:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/4]⎯ Test Files 3 failed | 1 passed (4) Tests 4 failed | 261 passed (265) Start at 07:38:57 Duration 22.58s (tests 40%, transform 39%, import 20%, setup 1%) Transform transforming modules took 17.29s · 39% of tracked time, re-done on every run persist transforms across runs with fsModuleCache: true learn more: https://vitest.dev/guide/improving-performance#caching-between-reruns