LABEL: service-layer driver on a real temp git worktree with an injected provider pause; not a running server worktree: /home/ubuntu/wt/pr-23671 git rev-parse HEAD: d0186cbb215dc5f1a02b0a3db1db4dc67218774d driver: /tmp/ev-23671/evidence/driver/RestoreRace.driver.test.ts sha256=da3cd6b20b7e79f9e83c6f7df8a6a063480a6275798c1dc2c096cedcbf73f113 command: (cd /home/ubuntu/wt/pr-23671/apps/server && vp test run src/orchestration-v2/RestoreRace.driver.test.ts -t EVIDENCE --silent=false --reporter=verbose) date: 2026-10-22T15:49:20Z ---- 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/pr-23671/apps/server stdout | src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (a) symlink alias of the restoring worktree case (a) symlink alias of the restoring worktree restore worktree=/tmp/t3-ev-23671-53XKH1/project/worktrees/repo/feature restoreFiles=true; turn thread worktreePath=/tmp/t3-ev-23671-53XKH1/alias [+ 55.283ms] # 3 rollback parked at provider open [+ 55.296ms] # 4 turn start requested [+ 60.359ms] # 5 PROBE after 64x yieldNow: turn has NOT opened a provider session (waiting) while the rollback is parked [+ 70.332ms] # 6 checkpoint files restored (git checkout; file.txt="checkpoint\n") [+ 75.742ms] # 7 provider session opened for turn (worktree file.txt="checkpoint\n") [+ 85.488ms] # 8 rollback released (execute returned) [+ 85.505ms] # 9 turn start returned RESULT (a): turn WAITED for the rollback; checkpoint files restored BEFORE provider session opened ↓ src/orchestration-v2/RestoreRace.driver.test.ts > recreates a missing worktree only at the managed location: // ↓ src/orchestration-v2/RestoreRace.driver.test.ts > recreates a missing worktree only at the managed location: the real path of a symlinked managed fo… ↓ src/orchestration-v2/RestoreRace.driver.test.ts > recreates a missing worktree only at the managed location: a path outside the managed folder ↓ src/orchestration-v2/RestoreRace.driver.test.ts > recreates a missing worktree only at the managed location: a symlink inside the managed folder tha… ↓ src/orchestration-v2/RestoreRace.driver.test.ts > recreates a missing worktree only at the managed location: a folder nested below a worktree ↓ src/orchestration-v2/RestoreRace.driver.test.ts > recreates a missing worktree only at the managed location: '..' out of the managed folder ↓ src/orchestration-v2/RestoreRace.driver.test.ts > recreates a missing worktree only at the managed location: '..' after a symlink inside the managed… ↓ src/orchestration-v2/RestoreRace.driver.test.ts > recreates a missing worktree only at the managed location: a relative path ✓ src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (a) symlink alias of the restoring worktree 100ms stdout | src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (b) child dir inside the restoring worktree case (b) child dir inside the restoring worktree restore worktree=/tmp/t3-ev-23671-hwXbQy/project/worktrees/repo/feature restoreFiles=true; turn thread worktreePath=/tmp/t3-ev-23671-hwXbQy/project/worktrees/repo/feature/packages/app [+ 52.468ms] # 3 rollback parked at provider open [+ 52.479ms] # 4 turn start requested [+ 54.765ms] # 5 PROBE after 64x yieldNow: turn has NOT opened a provider session (waiting) while the rollback is parked [+ 64.399ms] # 6 checkpoint files restored (git checkout; file.txt="checkpoint\n") [+ 65.279ms] # 7 provider session opened for turn (worktree file.txt="checkpoint\n") [+ 67.644ms] # 8 rollback released (execute returned) [+ 67.650ms] # 9 turn start returned RESULT (b): turn WAITED for the rollback; checkpoint files restored BEFORE provider session opened ✓ src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (b) child dir inside the restoring worktree 74ms stdout | src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (c) project-root thread (worktreePath null)… case (c) project-root thread (worktreePath null), workspaceRoot is a parent of the restoring worktree restore worktree=/tmp/t3-ev-23671-fEGUsm/project/worktrees/repo/feature restoreFiles=true; turn thread worktreePath=null project.workspaceRoot=/tmp/t3-ev-23671-fEGUsm/project [+ 34.566ms] # 3 rollback parked at provider open [+ 34.573ms] # 4 turn start requested [+ 36.716ms] # 5 PROBE after 64x yieldNow: turn has NOT opened a provider session (waiting) while the rollback is parked [+ 44.088ms] # 6 checkpoint files restored (git checkout; file.txt="checkpoint\n") [+ 44.820ms] # 7 provider session opened for turn (worktree file.txt="checkpoint\n") [+ 46.361ms] # 8 rollback released (execute returned) [+ 46.366ms] # 9 turn start returned RESULT (c): turn WAITED for the rollback; checkpoint files restored BEFORE provider session opened stdout | src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (d) CONTROL non-overlapping sibling dir ( vs -other) restore worktree=/tmp/t3-ev-23671-5zsCmI/project/worktrees/repo/feature restoreFiles=true; turn thread worktreePath=/tmp/t3-ev-23671-5zsCmI/project/worktrees/repo/feature-other [+ 36.655ms] # 3 rollback parked at provider open [+ 36.662ms] # 4 turn start requested [+ 38.584ms] # 5 provider session opened for turn (worktree file.txt="agent edit to roll back\n") [+ 41.030ms] # 6 PROBE after 64x yieldNow: turn HAS opened a provider session while the rollback is parked [+ 50.556ms] # 7 checkpoint files restored (git checkout; file.txt="checkpoint\n") [+ 50.911ms] # 8 rollback released (execute returned) [+ 50.916ms] # 9 turn start returned RESULT (d): turn did NOT wait (opened while the rollback was parked); provider session opened BEFORE checkpoint files restored stdout | src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (e) CONTROL restoreFiles:false, turn in chi… case (e) CONTROL restoreFiles:false, turn in child dir of the rolling-back worktree restore worktree=/tmp/t3-ev-23671-ldD201/project/worktrees/repo/feature restoreFiles=false; turn thread worktreePath=/tmp/t3-ev-23671-ldD201/project/worktrees/repo/feature/packages/app [+ 33.688ms] # 3 rollback parked at provider open [+ 33.696ms] # 4 turn start requested [+ 35.433ms] # 5 provider session opened for turn (worktree file.txt="agent edit to roll back\n") [+ 37.520ms] # 6 PROBE after 64x yieldNow: turn HAS opened a provider session while the rollback is parked [+ 37.734ms] # 7 rollback released (execute returned) [+ 37.739ms] # 8 turn start returned RESULT (e): turn did NOT wait (opened while the rollback was parked); no file restore (restoreFiles:false); provider session opened BEFORE the rollback released ✓ src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (c) project-root thread (worktreePath null)… 53ms ✓ src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (d) CONTROL non-overlapping sibling dir ( EVIDENCE case (e) CONTROL restoreFiles:false, turn in chi… 43ms Test Files 1 passed (1) Tests 5 passed | 8 skipped (13) Start at 15:49:20 Duration 4.16s (import 61%, transform 28%, tests 8%, setup 2%) exit: 0 ---- git status --porcelain after cleanup: (end)