Skip to content

feat(vm): adds async VM integration with discovery and validation#7

Merged
wgordon17 merged 8 commits intogordon-code:mainfrom
wgordon17:feat/vm-integration
Mar 21, 2026
Merged

feat(vm): adds async VM integration with discovery and validation#7
wgordon17 merged 8 commits intogordon-code:mainfrom
wgordon17:feat/vm-integration

Conversation

@wgordon17
Copy link
Copy Markdown
Member

Summary

  • Adds full VM integration package (src/mac2nix/vm/) with async TartVMManager, FileSystemComparator, DiscoveryRunner, and Validator with fidelity scoring
  • Wires validate and discover CLI commands with asyncio.run entry points
  • 287 new tests (854 to 1141), ruff clean, pyright clean

- validates CLI clone+start before Validator (was always failing)
- fixes comm path format mismatch with dedicated exec snapshot
- corrects find -maxdepth ordering for POSIX compliance
- consolidates app probes into single SSH call per bundle
- deduplicates find pipeline via _build_exec_find_pipeline
- checks _snapshot_executables return value in discover()
- strips trailing slash from comparator scan_root
- guards NamedTemporaryFile cleanup against NameError
- wraps session fixture setup in try/except for VM leak prevention
- pins CI VM image to digest for supply-chain safety
@wgordon17 wgordon17 merged commit 9411593 into gordon-code:main Mar 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant