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:51:37Z ---- 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-bVK01t/project/worktrees/repo/feature restoreFiles=true; turn thread worktreePath=/tmp/t3-ev-23671-bVK01t/alias [+ 41.126ms] # 3 rollback parked at provider open [+ 41.135ms] # 4 turn start requested [+ 46.291ms] # 5 PROBE after 64x yieldNow: turn has NOT opened a provider session (waiting) while the rollback is parked [+ 53.277ms] # 6 checkpoint files restored (git checkout; file.txt="checkpoint\n") [+ 56.925ms] # 7 provider session opened for turn (worktree file.txt="checkpoint\n") [+ 66.157ms] # 8 rollback released (execute returned) [+ 66.173ms] # 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 81ms 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-Lq48z1/project/worktrees/repo/feature restoreFiles=true; turn thread worktreePath=/tmp/t3-ev-23671-Lq48z1/project/worktrees/repo/feature/packages/app [+ 30.260ms] # 3 rollback parked at provider open [+ 30.267ms] # 4 turn start requested [+ 32.041ms] # 5 PROBE after 64x yieldNow: turn has NOT opened a provider session (waiting) while the rollback is parked [+ 38.740ms] # 6 checkpoint files restored (git checkout; file.txt="checkpoint\n") [+ 39.323ms] # 7 provider session opened for turn (worktree file.txt="checkpoint\n") [+ 41.035ms] # 8 rollback released (execute returned) [+ 41.040ms] # 9 turn start returned RESULT (b): turn WAITED for the rollback; checkpoint files restored BEFORE provider session opened 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-AhBDGs/project/worktrees/repo/feature restoreFiles=true; turn thread worktreePath=null project.workspaceRoot=/tmp/t3-ev-23671-AhBDGs/project [+ 29.336ms] # 3 rollback parked at provider open [+ 29.340ms] # 4 turn start requested [+ 31.271ms] # 5 PROBE after 64x yieldNow: turn has NOT opened a provider session (waiting) while the rollback is parked [+ 38.275ms] # 6 checkpoint files restored (git checkout; file.txt="checkpoint\n") [+ 38.997ms] # 7 provider session opened for turn (worktree file.txt="checkpoint\n") [+ 40.793ms] # 8 rollback released (execute returned) [+ 40.800ms] # 9 turn start returned RESULT (c): 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 46ms ✓ src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (c) project-root thread (worktreePath null)… 51ms stdout | src/orchestration-v2/RestoreRace.driver.test.ts > EVIDENCE case (d) CONTROL non-overlapping sibling dir ( vs -other) restore worktree=/tmp/t3-ev-23671-0LBeks/project/worktrees/repo/feature restoreFiles=true; turn thread worktreePath=/tmp/t3-ev-23671-0LBeks/project/worktrees/repo/feature-other [+ 48.854ms] # 3 rollback parked at provider open [+ 48.863ms] # 4 turn start requested [+ 52.375ms] # 5 provider session opened for turn (worktree file.txt="agent edit to roll back\n") [+ 56.953ms] # 6 PROBE after 64x yieldNow: turn HAS opened a provider session while the rollback is parked [+ 68.016ms] # 7 checkpoint files restored (git checkout; file.txt="checkpoint\n") [+ 68.448ms] # 8 rollback released (execute returned) [+ 68.454ms] # 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-ui9h7U/project/worktrees/repo/feature restoreFiles=false; turn thread worktreePath=/tmp/t3-ev-23671-ui9h7U/project/worktrees/repo/feature/packages/app [+ 47.253ms] # 3 rollback parked at provider open [+ 47.262ms] # 4 turn start requested [+ 50.206ms] # 5 provider session opened for turn (worktree file.txt="agent edit to roll back\n") [+ 53.510ms] # 6 PROBE after 64x yieldNow: turn HAS opened a provider session while the rollback is parked [+ 53.839ms] # 7 rollback released (execute returned) [+ 53.845ms] # 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 (d) CONTROL non-overlapping sibling dir ( EVIDENCE case (e) CONTROL restoreFiles:false, turn in chi… 65ms Test Files 1 passed (1) Tests 5 passed | 8 skipped (13) Start at 15:51:37 Duration 4.30s (import 63%, transform 26%, tests 8%, setup 2%) exit: 0 ---- git status --porcelain after cleanup: (end)