Repository navigation
fix(windows): avoid idle WSL wakeups and preserve project identity - #1453
Conversation
…pgrades Negotiate deferred root inventory with older Servers, retain authorized history through existing Project Refs, and reuse the verified request target for Session checks and process execution. Handle Windows waking the selected WSL share on a failed first open before starting the task.
Keep the already authorized target on normal dispatch and defer the direct shell lookup until the command and execution budget pass validation. Exercise both Windows execution entry points in the cold WSL smoke.
…f passive Treat deferred inventory as a registration property throughout its lifetime. Pass the observed target to explicit Handoff workspace and checkpoint reads, and exercise directory replacement and dormant WSL handoff on the existing regression paths.
swjnxyf
left a comment
There was a problem hiding this comment.
Reviewed 752e092 in the exact clean special checkout. Both prior findings are addressed: deferred-root classification is again a registration property, not a cached-fingerprint freshness heuristic; explicit live resolution re-observes the root, and default Handoff stays passive even after prior observation. Explicit Handoff workspace capture and checkpoint listing reuse the already-authorized resolved target through existing helpers. The regressions now exercise a real Unix directory-to-symlink replacement with unchanged revision, denial of stale Session and Ref, default Handoff after an observation, and single-probe explicit workspace/shell execution. The native WSL script includes stopping the previously accessed distribution before default Handoff. No new state machine, persistence domain, or user-facing recovery steps. Exact-head CI run 46115316369 succeeded; diff check passed. Native WSL and complete local test results are author-reported, not independently rerun in this review. No blocking findings. Please refresh the stale PR description to record the final validation and mixed-version limitation (legacy Server retains root checks until upgraded). Approved for merge.
Closes #1448.
Changes
Validation