mirror of
https://github.com/hanzoai/cli.git
synced 2026-11-23 23:07:09 +00:00
Hanzo CI/CD / test-amd64 (push) Failing after 9m33s
Hanzo CI/CD / test (linux-amd64) (push) Skipped
Hanzo CI/CD / test (linux-arm64) (push) Skipped
Hanzo CI/CD / test-advisory (push) Skipped
Hanzo CI/CD / cicd (push) Skipped
CI/CD / cicd (push) Failing after 9m35s
Hanzo CI/CD / verify (push) Skipped
tests/refresh.rs read $HOME/.local/share/hanzo/credentials, the Linux data dir, so on macOS (~/Library/Application Support) it failed with NotFound. The test process now takes the throwaway HOME before any thread starts and asks hanzo_identity::token::FileVault::resolve() for the store, the same resolver and environment the binary under test uses. FileVault::path() exposes the resolved file. (#70) tests/spec_drift.rs exec'd driftgate and genproduct, which sit behind required-features = ["maintainer"], so a bare `cargo test` handed the tests paths to binaries it never built and both died on NotFound. The tests now run the build `make test` runs (once per test binary, in the profile they were built with) before asking either tool, so a bare `cargo test` rules, and a stale binary from an older build is never what rules. `make test` keeps its own build, which makes this a fingerprint check there. (#71) Co-Authored-By: Claude Opus 5.5 <[email protected]>