refactor(xatu): separate CLI execution from error reporting

This commit is contained in:
2026-09-24 23:01:48 -04:00
parent 7b96309045
commit c251500a70
2 changed files with 43 additions and 49 deletions

View File

@@ -124,3 +124,5 @@
Copy Nix fixtures into `TEST_TMPDIR` before passing their paths to CLI tests.
- The vendored `rustversion-1.0.23/build/` files are currently ignored and untracked.
Fresh worktrees cannot build Xatu tests until those upstream files are restored.
- `status::ResultExt` requires errors that implement `Into<Status>`, not arbitrary `std::error::Error` values.
Map other errors explicitly with a status code and `with_source`.