Files
26d7853e71
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: resolve the credential store through hanzo-identity; build the maintainer tools the drift gates exec (#75)
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]>
2026-11-22 12:40:53 -05:00
..