Files
devvm/internal/vm
w3cjandClaude Opus 5.5 c40f9bbf74 fix(sshconfig): change known_hosts under its own lock
Pinning or forgetting a VM's host keys takes known_hosts.lock (an OS file lock, paths.Dirs.KnownHostsLock), reads the file again inside it and writes it whole with state.WriteFile, so two devvms at once lose neither's pin. ForgetHostKeys takes its caller's ctx. TestHostKeyConcurrent holds two pins' reads until both have read; it fails on the unlocked code.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-03 19:38:27 -07:00
..