mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
Full e2e (default and --from) on macOS and --from on a nested Linux host, plus deadcode. Fixes: - ui: a logged command a signal ended (or exited 128+) waits up to 1 s for devvm's own interrupt, so Ctrl+C that ends the command first no longer prints its failure (seen on Linux in from.txtar's Ctrl+C case; TestACommandEndedByTheSameSignalPrintsNothing, TestKilled). - mise.toml: minisign only where it has builds (no linux/arm64), so mise run works on arm64 Linux. - up.txtar: the .git protection warning is checked in devvm's stderr, not after stub_calls (it never matched on Linux, and macOS's negative check was vacuous). - up_size.txtar: a default memory of 5 GiB, not 16, which a 16 GiB host reports as 15. - qemu.txtar: "no real QEMU" no longer has /usr/bin on PATH, where Linux hosts have QEMU. - TestUp: its protector is macOS's, as its Env. - e2e: pgrep patterns are [_]proxy (Linux's pgrep -f matched the check's own shell: the proxy-gone check failed, the proxy-runs check passed vacuously); a cached base's key comes from the fixture's chain, not the newest record (another selection's base); base's features check is counted as SKIP when base is cached, so runs compare their counts. Deadcode removed: ui.Logged (callers use LoggedCmd; tests get a helper), paths.rootOf (its tests now test resolve), tools.Lock.Tools (moved into the tests). Kept for their commands: backend.Emulated, state.WriteSize/WritePorts/WriteBackend/writeValue/ReadAgentKeys/ WriteAgentKeys, tools.Lock.Version, Tools.All, Tools.Garbage, backendtest. New mise task: deadcode (x/tools v0.52.0). Docs: testing.md (platform table, Linux host setup as verified, x86_64, the manual check for an image only Docker has); contributing links it and lists deadcode and SKIP. Co-Authored-By: Claude Opus 5.5 <[email protected]>