UTC: 2026-10-26T21:44:43.402230+00:00 CWD: /home/ubuntu/wt/issue-24743 HEAD: 2bcb5517dce68f352479e71f3e51c072e2170c3d COMMAND: 'vp' 'test' 'run' 'apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts' '-t' 'settled between' '--reporter=verbose' 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-24743 stdout | src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > keeps a failed run that settled between task_status's acknowledge read and commit [21:45:00.709] ERROR (#3051): Error [AssertionError]: expected { status: 'running', …(2) } to deeply equal { status: 'failed', …(2) } at /home/ubuntu/wt/issue-24743/apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts:1069:16 { actual: { status: 'running', completedAt: null, checkpointId: null }, expected: { status: 'failed', completedAt: DateTime.Utc(1970-01-01T00:00:00.000Z), checkpointId: null }, showDiff: true, operator: 'deepStrictEqual', [cause]: undefined } stdout | src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > keeps a completed run that settled between task_status's acknowledge read and commit [21:45:00.734] ERROR (#3091): Error [AssertionError]: expected { status: 'waiting', …(2) } to deeply equal { status: 'completed', …(2) } at /home/ubuntu/wt/issue-24743/apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts:1069:16 { actual: { status: 'waiting', completedAt: null, checkpointId: null }, expected: { status: 'completed', completedAt: DateTime.Utc(1970-01-01T00:00:00.000Z), checkpointId: 'checkpoint:ack-settle-race-completed' }, showDiff: true, operator: 'deepStrictEqual', [cause]: undefined } ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > interrupting a completion wake disposes both cohorts without reviving them on late results ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > acceptance batches pending siblings without acknowledging their results ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > acceptance batches a settled_only sibling once its spawning run ended ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > builds completion text and metadata from the same live cohort ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > uses task_status for oversized UTF-8 result beyond the inline budget ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > uses task_status for combined results beyond the inline budget ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > does not re-offer when wake-policy upgrades after delivered ownership settled ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > treats repeated acknowledge and dispose with distinct command IDs as successful no-ops × |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > keeps a failed run that settled between task_status's acknowledge read and commit 83ms → expected { status: 'running', …(2) } to deeply equal { status: 'failed', …(2) } × |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > keeps a completed run that settled between task_status's acknowledge read and commit 20ms → expected { status: 'waiting', …(2) } to deeply equal { status: 'completed', …(2) } ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > subagent follow-ups > keeps a checkpoint completion committed between finalize's read and write ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > subagent follow-ups > pauses queued follow-up cards and resumes them ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > subagent follow-ups > delivers the run a background command's wake starts after the original result ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > subagent follow-ups > delivers a completed follow-up independently of the original task ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > subagent follow-ups > delivers a failed follow-up independently of the original task ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > subagent follow-ups > delivers a interrupted follow-up independently of the original task ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > subagent follow-ups > delivers a restarted follow-up independently of the original task ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > subagent follow-ups > delivers a stopped follow-up independently of the original task ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > subagent follow-ups > delivers a overlapping follow-up independently of the original task ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > queues a child result without creating a provider history handoff ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > holds a restart-cancelled child for its continuation's result ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > settles a restart-cancelled child whose continuation declines to start ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > reports a child whose monitor the restart cut as interrupted, not completed ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > re-offers a cut delivery even when a continuation resumes its turn ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > settles a cancelled child whose held wakes wait behind it ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > settles a child whose provider failure holds its queued wakes ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > recovers an unpublished child failure after its completion delivery was disposed ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > wakes the parent for a settled_only task once its spawning turn ended ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > finalizes a child whose run ended before a background command settled ↓ |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated tasks across a server restart > finalizes a child whose run ended before a nested subagent settled ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ FAIL |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > keeps a failed run that settled between task_status's acknowledge read and commit AssertionError: expected { status: 'running', …(2) } to deeply equal { status: 'failed', …(2) } - Expected + Received { "checkpointId": null, - "completedAt": "1970-01-01T00:00:00.000Z", - "status": "failed", + "completedAt": null, + "status": "running", } ❯ src/orchestration-v2/DelegatedCompletionDelivery.test.ts:1069:16 1067| (candidate) => candidate.id === runId, 1068| )!; 1069| assert.deepEqual( | ^ 1070| { status: run.status, completedAt: run.completedAt, checkpoi… 1071| { status: after, completedAt: now, checkpointId: capture ? c… ❯ ~effect/Effect/successCont ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ ~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 ❯ Array. ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1025:13 ❯ MixedSchedulerDispatcher.runTasks ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Scheduler.ts:254:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ FAIL |t3| src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated completion delivery repairs > keeps a completed run that settled between task_status's acknowledge read and commit AssertionError: expected { status: 'waiting', …(2) } to deeply equal { status: 'completed', …(2) } - Expected + Received { - "checkpointId": "checkpoint:ack-settle-race-completed", - "completedAt": "1970-01-01T00:00:00.000Z", - "status": "completed", + "checkpointId": null, + "completedAt": null, + "status": "waiting", } ❯ src/orchestration-v2/DelegatedCompletionDelivery.test.ts:1069:16 1067| (candidate) => candidate.id === runId, 1068| )!; 1069| assert.deepEqual( | ^ 1070| { status: run.status, completedAt: run.completedAt, checkpoi… 1071| { status: after, completedAt: now, checkpointId: capture ? c… ❯ ~effect/Effect/successCont ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ ~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 ❯ Array. ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1025:13 ❯ MixedSchedulerDispatcher.runTasks ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Scheduler.ts:254:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ Test Files 1 failed (1) Tests 2 failed | 28 skipped (30) Start at 21:44:46 Duration 14.79s (transform 48%, setup 25%, import 25%, tests 2%) EXIT STATUS: 1