Files
BrowserOS/packages
Nikhil Sonti 9d232ecfe4 feat(vm): structured debug logging for lima lifecycle
Add logger debug/info events around every limactl spawn and every
VmRuntime state transition so a stuck 'limactl start' is diagnosable
from the server log:

- LimaCli.run now drains stdout/stderr via a chunked decoder, emits
  vm.lima.spawn / vm.lima.stderr_chunk / vm.lima.exit with pid, args,
  duration, exit code, and buffer sizes. Earlier blob read meant stderr
  was invisible until the subprocess exited.
- VmRuntime.ensureReady logs start, branch taken (provision-fresh vs
  start-existing vs running-upgrade-warn vs running-same), manifest
  comparison, and total duration.
- provisionFresh logs yaml_write, create.start/ok, start.begin/ok.
- waitForSocket logs start, every 10th poll, and ok/timeout.
- Telemetry event catalog extended with the new keys.
2026-04-23 11:17:09 -07:00
..